[v1.3.0+] Lumberjack on the Map

A place to post your add ons and ideas for them

Moderator: Moderator

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

[v1.3.0+] Lumberjack on the Map

#1 Post 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]
"Blessed are the yeeks, for they shall inherit Arda..."

Post Reply