the_former_resting_place_of_varsoon.lua 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : Quests/SouthQeynos/the_former_resting_place_of_varsoon.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.03 02:06:10
  5. Script Purpose :
  6. Zone : SouthQeynos
  7. Quest Giver: Feodra Iceslayer
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepLocation(Quest, 1, "I need to go to the Tomb of Varsoon in Antonica.", 6, "I would like to see this weakened Tomb of Varsoon on the Forbidden Isle off the coast of Antonica.", 11, 362.10, -19.69, -662.95)
  13. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  14. UpdateQuestZone(Quest,"Antonica")
  15. end
  16. function Accepted(Quest, QuestGiver, Player)
  17. FaceTarget(QuestGiver, Player)
  18. conversation = CreateConversation()
  19. AddConversationOption(conversation, "I'll be careful. Thank you for the directions.")
  20. StartConversation(conversation, QuestGiver, Player, "Heck, I'll tell you where it is! Turn left as you leave the city gates; go through Klicnik Fields. You'll see the islands the tomb rests on. You go any further ... well, that's your decision, not mine.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. -- Add dialog here for when the quest is declined
  24. end
  25. function Deleted(Quest, QuestGiver, Player)
  26. -- Remove any quest specific items here when the quest is deleted
  27. end
  28. function QuestComplete(Quest, QuestGiver, Player)
  29. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  30. UpdateQuestStepDescription(Quest, 1, "I went to the Tomb of Varsoon.")
  31. UpdateQuestTaskGroupDescription(Quest, 1, "I went to the Tomb of Varsoon and saw that the crypt had been split open.")
  32. UpdateQuestDescription(Quest, "I went to the Tomb of Varsoon and saw that the crypt had been split open.")
  33. GiveQuestReward(Quest, Player)
  34. end
  35. function Reload(Quest, QuestGiver, Player, Step)
  36. if Step == 1 then
  37. QuestComplete(Quest, QuestGiver, Player)
  38. end
  39. end