poisonous_zever_CLASSIC.lua 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. --[[
  2. Script Name : Quests/ScaleYard/poisonous_zever_CLASSIC.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.12.11 04:12:21
  5. Script Purpose : NEEDS NEW SPAWN IDS FOR CLASSIC
  6. Zone : ScaleYard
  7. Quest Giver:
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. require "SpawnScripts/Generic/DialogModule"
  12. function Init(Quest)
  13. AddQuestStepKill(Quest, 1, "I need to gather some putrid dragoon tongues for Zever's antidote.", 9, 100, "I need to kill nine putrid dragoon in Fallen Gate.", 89, 1190050)-- 1190050, 1190004, 1190008, 1190043, 1190045, 1190051, 1190052, 1190061, 1190062, 1190069)
  14. AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
  15. UpdateQuestZone(Quest,"Fallen Gate")
  16. end
  17. function Step1Complete(Quest, QuestGiver, Player)
  18. UpdateQuestStepDescription(Quest, 1, "I've gathered putrid dragoon tongues for Zever's antidote.")
  19. UpdateQuestTaskGroupDescription(Quest, 1, "I killed nine tormented souls in Fallen Gate.")
  20. UpdateQuestZone(Quest,"Scale Yard")
  21. AddQuestStepChat(Quest, 2, "I should return to Zever Tzizzink.", 1, "I should return to Zever Tzizzink to deliver the tongues.", 89, 1370024)
  22. AddQuestStepCompleteAction(Quest, 2, "Step2Complete")
  23. end
  24. function Step2Complete(Quest, QuestGiver, Player)
  25. UpdateQuestStepDescription(Quest, 2, "I've taken the ingredients to Zever.")
  26. UpdateQuestTaskGroupDescription(Quest, 2, "I returned to Zever Tzizzink.")
  27. UpdateQuestZone(Quest,"Fallen Gate")
  28. AddQuestStepKill(Quest, 3, "I need to gather some tainted wretch hearts for Zever's antidote.", 12, 100, "I need to get some tainted wretch hearts from zombies in Fallen Gate for Zever's antidote.", 1148, 1190004, 1190008, 1190043, 1190045, 1190051, 1190052, 1190061, 1190062, 1190069)
  29. AddQuestStepCompleteAction(Quest, 3, "Step3Complete")
  30. end
  31. function Step3Complete(Quest, QuestGiver, Player)
  32. UpdateQuestStepDescription(Quest, 3, "I've gathered the tainted hearts for Zever's antidote.")
  33. UpdateQuestTaskGroupDescription(Quest, 3, "I've gathered the tainted hearts for Zever's antidote.")
  34. UpdateQuestZone(Quest,"Scale Yard")
  35. AddQuestStepChat(Quest, 4, "I should return to Zever Tzizzink.", 1, "I need to take these hearts back to Zever in the Scale Yard.", 1148, 1370024)
  36. AddQuestStepCompleteAction(Quest, 4, "QuestComplete")
  37. end
  38. function QuestComplete(Quest, QuestGiver, Player)
  39. UpdateQuestStepDescription(Quest, 4, "I've taken the ingredients to Zever.")
  40. UpdateQuestTaskGroupDescription(Quest, 4, "I've taken Zever the ingredients I gathered for him.")
  41. UpdateQuestDescription(Quest, "That double-crossing sneak! Instead of getting ingredients for an antidote, Zever had me gathering ingredients for a deadly poison! He thought he gave me a piece of junk for a reward, but he was mistaken!")
  42. GiveQuestReward(Quest, Player)
  43. end
  44. function Accepted(Quest, QuestGiver, Player)
  45. FaceTarget(QuestGiver, Player)
  46. Dialog.New(QuestGiver, Player)
  47. Dialog.AddDialog("Yes, but if I live, my revenge shall be so much sweeter! Now go, and hurry back!")
  48. Dialog.AddVoiceover("voiceover/english/zever_tzizzink/fprt_hood06/quests/zevertzizzink/zevertzizzink004.mp3",2397600191,3617877932)
  49. Dialog.AddOption("I'll do what I can.")
  50. Dialog.Start()
  51. end
  52. function Declined(Quest, QuestGiver, Player)
  53. -- Add dialog here for when the quest is declined
  54. end
  55. function Deleted(Quest, QuestGiver, Player)
  56. -- Remove any quest specific items here when the quest is deleted
  57. end
  58. function Reload(Quest, QuestGiver, Player, Step)
  59. if Step == 1 then
  60. Step1Complete(Quest, QuestGiver, Player)
  61. elseif Step == 2 then
  62. Step2Complete(Quest, QuestGiver, Player)
  63. elseif Step == 3 then
  64. Step3Complete(Quest, QuestGiver, Player)
  65. elseif Step == 4 then
  66. QuestComplete(Quest, QuestGiver, Player)
  67. end
  68. end