does_the_underforge_exist.lua 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. --[[
  2. Script Name : Quests/Antonica/does_the_underforge_exist.lua
  3. Script Author : Premierio015
  4. Script Date : 2022.05.07 10:05:52
  5. Script Purpose :
  6. Zone : Antonica
  7. Quest Giver:
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. require "SpawnScripts/Generic/DialogModule"
  12. function Init(Quest)
  13. AddQuestStepZoneLoc(Quest, 1, "I need to find the Underforge.", 10, "I should see if I could find the Underforge within Stormhold.", 11, -130, -1, -55, 15)
  14. AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
  15. UpdateQuestZone(Quest,"Stormhold")
  16. end
  17. function Accepted(Quest, QuestGiver, Player)
  18. FaceTarget(QuestGiver, Player)
  19. Dialog.New(QuestGiver, Player)
  20. Dialog.AddDialog("Thank you much. A rumor's not worth a heap of slag ... but sometimes you can find a grain of truth in a rumor.")
  21. Dialog.AddVoiceover("voiceover/english/kinamer_galemaul/antonica/kinamergalemaul004.mp3", 2013410863, 3232485103)
  22. Dialog.AddOption("Yes, that seems to be my experience.")
  23. Dialog.Start()
  24. end
  25. function Declined(Quest, QuestGiver, Player)
  26. end
  27. function quest_complete(Quest, QuestGiver, Player)
  28. end
  29. function Reload(Quest, QuestGiver, Player, Step)
  30. end
  31. function Step1Complete(Quest, QuestGiver, Player)
  32. UpdateQuestStepDescription(Quest, 1, "I found the Underforge.")
  33. UpdateQuestTaskGroupDescription(Quest, 1, "I found the location of the Underforge within Stormhold.")
  34. UpdateQuestZone(Quest,"Antonica")
  35. AddQuestStepChat(Quest, 2, "I need return to Kinamer Galemaul.", 1, "I should return to Kinamer Galemaul and tell him about the Underforge.", 11, 120278)
  36. AddQuestStepCompleteAction(Quest, 2, "QuestComplete")
  37. end
  38. function QuestComplete(Quest, QuestGiver, Player)
  39. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  40. UpdateQuestStepDescription(Quest, 2, " I told Kinamer about the Underforge.")
  41. UpdateQuestTaskGroupDescription(Quest, 2, "I told Kinamer that the Underforge exists.")
  42. UpdateQuestDescription(Quest, "I found the Underforge within Stormhold and returned to Kinamer Galemaul. The forge wasn't as impressive as legend made it out to be. He was surprised and elated by the news.")
  43. GiveQuestReward(Quest, Player)
  44. end