9
3

CalcifiedBoneOfTheTortured.lua 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --[[
  2. Script Name : Quests/VerminsSnye/CalcifiedBoneOfTheTortured.lua
  3. Script Purpose : Handles the quest "Calcified Bone of the Tortured"
  4. Script Author : premierio015
  5. Script Date : 03.05.2020
  6. Script Notes : Auto generated with QuestParser.
  7. Zone : Vermin's Snye
  8. Quest Giver :
  9. Preceded by : None
  10. Followed by : None
  11. --]]
  12. function Init(Quest)
  13. AddQuestStepChat(Quest, 1, "I need to find someone that can make use of this bone.", 1, "I need to find someone that could tell me what to do with this bone. Maybe someone who knows a little about Lika the Tortured can help me out.", 322, 2000007)
  14. AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
  15. end
  16. function Accepted(Quest, QuestGiver, Player)
  17. end
  18. function Declined(Quest, QuestGiver, Player)
  19. end
  20. function Deleted(Quest, QuestGiver, Player)
  21. end
  22. function Step1Complete(Quest, QuestGiver, Player)
  23. UpdateQuestStepDescription(Quest, 1, "I found Brawler Bently in the Vermin's Snye.")
  24. UpdateQuestTaskGroupDescription(Quest, 1, "After speaking with Brawler Bently, I have a clearer understanding of what to do next.")
  25. AddQuestStepChat(Quest, 2, "I need to find Dylan Ironforge in North Qeynos.", 1, "Brawler Bently said to take the bone to Dylan Ironforge in North Qeynos. He mentioned Dylan should be able to work with it and he owed Bently a favor anyway.", 11, 2220054)
  26. AddQuestStepCompleteAction(Quest, 2, "QuestComplete")
  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, 2, "I gave the bone to Dylan Ironforge.")
  31. UpdateQuestTaskGroupDescription(Quest, 2, "I gave the bone to Dylan Ironforge to shape.")
  32. UpdateQuestDescription(Quest, "I was able to get a weapon made by Dylan Ironforge from the calcified bone. I talked to Brawler Bently about the object and he directed me to Dylan. He said Dylan owed him a favor and he'd do the work for me to even the score.")
  33. GiveQuestReward(Quest, Player)
  34. end
  35. function Reload(Quest, QuestGiver, Player, Step)
  36. if Step == 1 then
  37. Step1Complete(Quest, QuestGiver, Player)
  38. elseif Step == 2 then
  39. QuestComplete(Quest, QuestGiver, Player)
  40. end
  41. end