MnemirsMailbox.lua 848 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/MnemirsMailbox.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.03.14 07:03:49
  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, "After collecting the coins scattered about the mailbox it is apparent that Mnemir doesn't seem to think he needs to pay all of his taxes. You should go speak with him about what he owes.")
  17. end
  18. end
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end