visiting_crater_pond.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : Quests/QeynosHarbor/visiting_crater_pond.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.05.24 06:05:14
  5. Script Purpose :
  6. Zone : QeynosHarbor
  7. Quest Giver: Ashilda MacHinry (2210126)
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepLocation(Quest, 1, "I need to find Crater Pond.", 50, "I should see if I can find the Crater Pond in the Antonica plains.", 11, 128.12, -24.96, 481.58)
  13. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. -- Add dialog here for when the quest is accepted
  17. end
  18. function Declined(Quest, QuestGiver, Player)
  19. -- Add dialog here for when the quest is declined
  20. end
  21. function Deleted(Quest, QuestGiver, Player)
  22. -- Remove any quest specific items here when the quest is deleted
  23. end
  24. function QuestComplete(Quest, QuestGiver, Player)
  25. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  26. UpdateQuestStepDescription(Quest, 1, "I found Crater Pond.")
  27. UpdateQuestTaskGroupDescription(Quest, 1, "I found Crater Pond outside of the Qeynos gates.")
  28. UpdateQuestDescription(Quest, "I found the Crater Pond near the gates to Qeynos. I haven't tested the water myself, but it does look as though it is poisoned. Nothing was growing or living inside the pool, just as Ashilda MacHinry described. I found a small flask nearby, perhaps someone once wanted a sample.")
  29. GiveQuestReward(Quest, Player)
  30. end
  31. function Reload(Quest, QuestGiver, Player, Step)
  32. if Step == 1 then
  33. QuestComplete(Quest, QuestGiver, Player)
  34. end
  35. end