9
3

LeldwanasMailbox.lua 758 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/LeldwanasMailbox.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.03.15 09:03:02
  5. Script Purpose :
  6. :
  7. --]]
  8. local QUEST = 406 -- Filling the Coffers
  9. function spawn(NPC)
  10. end
  11. function casted_on(NPC, Spawn, SpellName)
  12. if SpellName == 'Check mailbox' then
  13. if HasQuest(Spawn, QUEST) then
  14. conversation = CreateConversation()
  15. AddConversationOption(conversation, "Leave the mailbox.")
  16. StartDialogConversation(conversation, 1, NPC, Spawn, "Leldwana's box contains numerous letters but no tax money. You will need to speak with her directly.")
  17. end
  18. end
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end