9
3

ANoteFromTheQeynosQuartermaster.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : ANotefromtheQeynosQuartermaster.lua
  3. Script Purpose : Handles the quest, "A Note from the Qeynos Quartermaster"
  4. Script Author : Shatou
  5. Script Date : 1/5/2020
  6. Script Notes :
  7. Zone : Caves/Antonica
  8. Quest Giver : A Note from the Qeynos Quartermaster(examine item)
  9. Preceded by : High Shaman of the Rockpaw
  10. Followed by : None
  11. --]]
  12. function Init(Quest)
  13. AddQuestStepChat(Quest, 1, "I need to speak with Matsy Rollingpin in Antonica.", 1, "I am to speak with Matsy Rollingpin in Antonica. She can be found upstairs at Sayer's Outfitters.", 374)
  14. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  15. end
  16. function QuestComplete(Quest, QuestGiver, Player)
  17. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  18. UpdateQuestStepDescription(Quest, 1, "I have spoken with Matsy.")
  19. UpdateQuestTaskGroupDescription(Quest, 1, "I have spoken to Matsy Rollingpin in Antonica.")
  20. UpdateQuestDescription(Quest, "I have spoken with Matsy.")
  21. GiveQuestReward(Quest, Player)
  22. end
  23. function Reload(Quest, QuestGiver, Player, Step)
  24. if Step == 1 then
  25. QuestComplete(Quest, QuestGiver, Player)
  26. end
  27. end
  28. function Accepted(Quest, QuestGiver, Player)
  29. -- Add dialog here for when the quest is accepted
  30. end
  31. function Declined(Quest, QuestGiver, Player)
  32. -- Add dialog here for when the quest is declined
  33. end