stolen_bones.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : Quests/TheCryptofBetrayal/stolen_bones.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.11.01 09:11:39
  5. Script Purpose :
  6. Zone : TheCryptofBetrayal
  7. Quest Giver: widget_decayed_skeleton
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepKill(Quest, 1, "I need to slay fifteen agonized essences in the Crypt of Betrayal.", 15, 100, "The agonzied essences in the Crypt of Betrayal and abomination that must be stopped. I shall slay them and let the souls used to create them rest.", 92, 2010012, 2010014, 2010018, 2010019)
  13. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. -- Add dialog here for when the quest is accepted
  17. end
  18. function Declined(Quest, QuestGiver, Player)
  19. -- Add dialog here for when the quest is declined
  20. end
  21. function Deleted(Quest, QuestGiver, Player)
  22. -- Remove any quest specific items here when the quest is deleted
  23. end
  24. function QuestComplete(Quest, QuestGiver, Player)
  25. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  26. UpdateQuestStepDescription(Quest, 1, "I have slain the agonized essences.")
  27. UpdateQuestTaskGroupDescription(Quest, 1, "The agonzied essences in the Crypt of Betrayal and abomination that must be stopped. I shall slay them and let the souls used to create them rest.")
  28. UpdateQuestDescription(Quest, "I have slain quite a few of the agonized essences. I hope the souls of those who were used to create them rest peacefully.")
  29. GiveQuestReward(Quest, Player)
  30. end
  31. function Reload(Quest, QuestGiver, Player, Step)
  32. if Step == 1 then
  33. QuestComplete(Quest, QuestGiver, Player)
  34. end
  35. end