freeport_to_qeynos__acceptance.lua 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : Quests/Hallmark/freeport_to_qeynos__acceptance.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.09.28 08:09:23
  5. Script Purpose :
  6. Zone : Hallmark
  7. Quest Giver:
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. require "SpawnScripts/Generic/DialogModule"
  12. function Init(Quest)
  13. -- AddStepZoneLoc(Quest, 1, "Travel to the inn and sign the registry.", 10, "\"Your new home awaits within the walls of Qeynos. I have arranged for a room to be made yours to house you. Sign the book and start your new life. Good luck, friend.\"", 11, 1)
  14. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  15. end
  16. function Accepted(Quest, QuestGiver, Player)
  17. FaceTarget(QuestGiver, Player)
  18. Dialog.New(QuestGiver, Player)
  19. --Dialog.AddDialog("Then I welcome you into our fold, friend. We need someone like you. Talk with the resistance leader here in Freeport, Kenjedeau. You can find him in the sewers below. Seek him out and tell him our motto, \"nobility comes from personal sacrifice.\"")
  20. --Dialog.AddVoiceover("voiceover/english/stilus_graphium/fprt_east/qst_stilusgraphium007.mp3", 1086694102, 636478984)
  21. -- Dialog.AddOption("Thank you. I'll make my way to him.")
  22. Dialog.Start()
  23. end
  24. function Declined(Quest, QuestGiver, Player)
  25. -- Add dialog here for when the quest is declined
  26. end
  27. function Deleted(Quest, QuestGiver, Player)
  28. -- Remove any quest specific items here when the quest is deleted
  29. end
  30. function QuestComplete(Quest, QuestGiver, Player)
  31. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  32. UpdateQuestStepDescription(Quest, 1, "I have found the registry.")
  33. UpdateQuestTaskGroupDescription(Quest, 1, "I have found my new residence within Qeynos.")
  34. UpdateQuestDescription(Quest, "I have begun my new life in Qeynos with the help of my mentor, Vishra. No longer will I blindly turn away from the evils around me. Perhaps others will follow my example and do the same. If so, I will offer my help to them as others have helped me.")
  35. GiveQuestReward(Quest, Player)
  36. end
  37. function Reload(Quest, QuestGiver, Player, Step)
  38. if Step == 1 then
  39. QuestComplete(Quest, QuestGiver, Player)
  40. end
  41. end