qeynos_to_freeport__acceptance.lua 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : Quests/Hallmark/qeynos_to_freeport__acceptance.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.09.30 03:09:17
  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 Freeport. I have arranged for a room to be made yours to house you. Sign the book on the dotted line and the room will be yours.\"", 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 Freeport.")
  34. UpdateQuestDescription(Quest, "I have begun a new life in Freeport with the help of my mentor, Matthias. No longer will this world keep from me what is rightfully mine. Those that stand against me will show themselves to be my enemies. ...May the gods grant them the mercy that I can not...")
  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