9
3

visiting_the_windstalker_grave.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : Quests/TheElddarGrove/visiting_the_windstalker_grave.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.05.04 02:05:58
  5. Script Purpose :
  6. Zone : TheElddarGrove
  7. Quest Giver:
  8. Preceded by : None
  9. Followed by : None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepZoneLoc(Quest, 1, "I need to find Holly Windstalker's grave in Antonica.", 10, "I should go to Holly Windstalker's grave to see if there is any truth to the rumor.", 2339,-1854.52, -2.89, -624.46,12)
  13. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  14. UpdateQuestZone(Quest,"Antonica")
  15. end
  16. function Accepted(Quest, QuestGiver, Player)
  17. -- Add dialog here for when the quest is accepted
  18. end
  19. function Declined(Quest, QuestGiver, Player)
  20. -- Add dialog here for when the quest is declined
  21. end
  22. function Deleted(Quest, QuestGiver, Player)
  23. -- Remove any quest specific items here when the quest is deleted
  24. end
  25. function QuestComplete(Quest, QuestGiver, Player)
  26. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  27. UpdateQuestStepDescription(Quest, 1, "I found Holly Windstalker's grave.")
  28. UpdateQuestTaskGroupDescription(Quest, 1, "I found Holly Windstalker's grave.")
  29. UpdateQuestZone(Quest,"The Elddar Grove")
  30. UpdateQuestDescription(Quest, "I found Holly Windstalker's grave on the hill overlooking Windstalker Village. I didn't see any sign of the grave being disturbed though, I did remove a dirty mug near the site. The rangers may just be overly cautious as of late. <br> <br>")
  31. GiveQuestReward(Quest, Player)
  32. end
  33. function Reload(Quest, QuestGiver, Player, Step)
  34. if Step == 1 then
  35. QuestComplete(Quest, QuestGiver, Player)
  36. end
  37. end