[v1.5.0+] Invasion Portal Rain Check

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
Zizzo
Sher'Tul Godslayer
Posts: 2522
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

[v1.5.0+] Invasion Portal Rain Check

#1 Post by Zizzo »

In a roguelike, risk equals death, which means the correct response to a "now or never" event is usually "never". That's the motivation behind my Melinda on the Map and Merchant on the Map addons, after all: to allow you to enter those zones when you're ready for them.

One big gap that still leaves, though, is Fearscape invasion portals and naga invasion portals. You can't really viably leave those alone, since they'll just keep spitting more demons and/or nagas at you as you kill them (which are specially flagged to give no XP and no drops, so there's no point in even farming them :roll: ), so pretty much your only options are to destroy the portal or go in immediately.

Well, as with Melinda, I decided that if I was going to do either of these zones, it would be on my terms, so I whipped up my new Invasion Portal Rain Check addon. This addon slightly modifies the Fearscape invasion and naga invasion game events, adding an option to temporarily seal the invasion portal. A sealed portal will not spawn new invaders when you kill the ones already present, and you can step onto the portal later to either destroy it or unseal and enter it.

Now, as with my Requiescat In Pace addon, I found that the 'Zone:loadEvents' hook doesn't really give me the leverage I need to modify these events in place, so I've had to resort to overloading the event definition files. That means that any other addon that tries to modify these files is likely to be incompatible with this one; We Apologize for the Inconvenience.™

And no, this probably isn't going into ZOmnibus. :wink:

[Implementation notes:]

Code: Select all

Overload:
  /data/general/events/fearscape-portal.lua [to add seal-portal option]
  /data/general/events/naga-portal.lua [to add seal-portal option]
"Blessed are the yeeks, for they shall inherit Arda..."

Zizzo
Sher'Tul Godslayer
Posts: 2522
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.5.0+] Invasion Portal Rain Check

#2 Post by Zizzo »

Hmm, on examination, I'm not sure this addon was working properly in 1.6; that version made some changes to the relevant event definitions that we didn't incorporate. That should be covered now in v1a, along with the usual localization support.
"Blessed are the yeeks, for they shall inherit Arda..."

Zizzo
Sher'Tul Godslayer
Posts: 2522
Joined: Thu Jan 23, 2003 8:13 pm
Location: A shallow water area south of Bree
Contact:

Re: [v1.5.0+] Invasion Portal Rain Check

#3 Post by Zizzo »

Well, I guess no one but me uses this addon, :oops: because I just discovered that sealed naga portals are broken. (This is one of the many times I lament the lack of compile-time Lua checks that might have caught me poking around in game.zome.) Unfortunately, that means all the naga portals I'd saved up to try out with my current characters are broken; I guess I'll have to wait for one of my other characters puttering around in the Orc Prides to find another one to test. :(

In the meantime, though, I can finally confirm that sealed fearscape portals work as expected :mrgreen: (and I learned that the associated zone is annoyingly dark in perma-stealth mode). I did pick up a small change from 1.7: the fearscape portal zone apparently counts as "in orbit" for purposes of unlocking the Avatar of a Distant Sun evolution.

Anyway, that's all going out as v1a.1. We Apologize for the Inconvenience.™
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply