bug_squashing.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : Quests/Antonica/bug_squashing.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.05.19 03:05:46
  5. Script Purpose :
  6. Zone : Antonica
  7. Quest Giver:
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepKill(Quest, 1, "I need to kill the klicnik warriors near the gates of North Qeynos.", 25, 100, "There are way too many klicnik warriors around here! I should destroy a bunch of them before they get any closer to Qeynos!", 162, 120253,120367)
  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 squashed a large amount of the klicnik warriors in Antonica.")
  27. UpdateQuestTaskGroupDescription(Quest, 1, "I have squashed the klicnik warriors.")
  28. UpdateQuestDescription(Quest, "I have destroyed quite a few klicnik warriors, I hope this helps keep them away from Qeynos.")
  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