does_the_underforge_exist.lua 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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: Nightbow's Deposit
  10. --]]
  11. function Init(Quest)
  12. 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)
  13. AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. local conversation = CreateConversation()
  18. PlayFlavor(QuestGiver, "voiceover/english/kinamer_galemaul/antonica/kinamergalemaul004.mp3", "", "", 2013410863, 3232485103, Player)
  19. AddConversationOption(conversation, "Yes, that seems to be my experience.")
  20. StartConversation(conversation, QuestGiver, Player, "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. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function quest_complete(Quest, QuestGiver, Player)
  25. end
  26. function Reload(Quest, QuestGiver, Player, Step)
  27. end
  28. function Step1Complete(Quest, QuestGiver, Player)
  29. UpdateQuestStepDescription(Quest, 1, "I found the Underforge.")
  30. UpdateQuestTaskGroupDescription(Quest, 1, "I found the location of the Underforge within Stormhold.")
  31. AddQuestStepChat(Quest, 2, "I need return to Kinamer Galemaul.", 1, "I should return to Kinamer Galemaul and tell him about the Underforge.", 11, 120278)
  32. AddQuestStepCompleteAction(Quest, 2, "QuestComplete")
  33. end
  34. function QuestComplete(Quest, QuestGiver, Player)
  35. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  36. UpdateQuestStepDescription(Quest, 2, " I told Kinamer about the Underforge.")
  37. UpdateQuestTaskGroupDescription(Quest, 2, "I told Kinamer that the Underforge exists.")
  38. 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.")
  39. GiveQuestReward(Quest, Player)
  40. end