Page 1 of 1

[v1.3.0+] Lumberjack on the Map

Posted: Sat Jan 26, 2019 2:54 am
by Zizzo
Having already written addons Melinda on the Map and Merchant on the Map, I'm kind of surprised I hadn't already thought of this one too. The invisible wandering encounter that grants access to the lumberjack village isn't really a "now-or-never" thing in the same way that the Melinda and lost-merchant encounters are, since you can always decide when to enter the village, but it is still vaguely annoying wandering around in the area north of Last Hope trying to actually encounter it.

Hence my new Lumberjack on the Map addon, which replaces the wandering encounter with a lumberjack NPC on the map, appearing at player level 5 (which is apparently when the encounter would spawn normally). I couldn't make head or tail of the spawn location handling for the original encounter, so I put the NPC at a fixed location relative to where the lumberjack village will appear.

And no, this one probably won't be going into ZOmnibus. :wink:

[Technical notes:

Code: Select all

Hooks:
  Zone:loadEvents [to add our new NPC-placing event]
  Entity:loadList [to remove the existing encounter]
  Chat:load [to remove the NPC from the map after we interact with it]