Advertisement
cressidagp

Fandral Staghelm

Jul 21st, 2023 (edited)
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.90 KB | None | 0 0
  1. '''
  2.  
  3. Engine: APE
  4. Zone: Teldrassil
  5. Creature: Arch Druid Fandral Staghelm
  6. .npc portto 28680
  7.  
  8. '''
  9.  
  10. import arcemu
  11. from arcemu import GossipMenu
  12.  
  13. NPC_ID_FANDRAL_STAGHELM = 3516
  14.  
  15. def FandralStaghelm_onHello( unit, event, player ):
  16.  
  17.     menu = GossipMenu( 2285, unit, arcemu.GOSSIP_AUTOSEND_FALSE )
  18.  
  19.     menu.addItem( arcemu.ICON_CHAT, "I'm not a journeyman herbalist -- am I able to still assist you in your work?", 0, 0 )
  20.    
  21.     menu.addQuests( unit, player )
  22.  
  23.     menu.sendToPlayer( player )
  24.  
  25. def FandralStaghelm_onSelectOption( unit, player, id, enteredCode ):
  26.  
  27.     menu = GossipMenu( 2320, unit, arcemu.GOSSIP_AUTOSEND_FALSE )
  28.  
  29.     menu.sendToPlayer( player )
  30.  
  31. arcemu.RegisterUnitGossipEvent( NPC_ID_FANDRAL_STAGHELM, arcemu.GOSSIP_EVENT_HELLO, FandralStaghelm_onHello )
  32. arcemu.RegisterUnitGossipEvent( NPC_ID_FANDRAL_STAGHELM, arcemu.GOSSIP_EVENT_SELECT, FandralStaghelm_onSelectOption )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement