9
3

visiting_the_windstalker_grave.lua 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. require "SpawnScripts/Generic/DialogModule"
  12. function Init(Quest)
  13. 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)
  14. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  15. UpdateQuestZone(Quest,"Antonica")
  16. end
  17. function Accepted(Quest, QuestGiver, Player)
  18. FaceTarget(QuestGiver, Player)
  19. Dialog.New(QuestGiver, Player)
  20. Dialog.AddDialog("Ahh ... very well, you are a daring soul! To get to the grave, follow the aqueduct from Qeynos to Windstalker Village. The village is built around the waterwheel that keeps the aqueduct flowing. The duct passes through rock so you may lose sight of it for a time. Just continue around the mountain, and you'll see it on the other side.")
  21. Dialog.AddVoiceover("voiceover/english/lookout_venylle/qey_elddar/lookoutvenylle002.mp3",2384165847, 2428685999)
  22. PlayFlavor(QuestGiver, "", "", "thank", 0, 0, Player)
  23. Dialog.AddOption("Thank you. I'll follow those directions.")
  24. Dialog.Start()
  25. end
  26. function Declined(Quest, QuestGiver, Player)
  27. -- Add dialog here for when the quest is declined
  28. end
  29. function Deleted(Quest, QuestGiver, Player)
  30. -- Remove any quest specific items here when the quest is deleted
  31. end
  32. function QuestComplete(Quest, QuestGiver, Player)
  33. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  34. UpdateQuestStepDescription(Quest, 1, "I found Holly Windstalker's grave.")
  35. UpdateQuestTaskGroupDescription(Quest, 1, "I found Holly Windstalker's grave.")
  36. UpdateQuestZone(Quest,"The Elddar Grove")
  37. 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>")
  38. GiveQuestReward(Quest, Player)
  39. end
  40. function Reload(Quest, QuestGiver, Player, Step)
  41. if Step == 1 then
  42. QuestComplete(Quest, QuestGiver, Player)
  43. end
  44. end