9
3

Ratswhatrats.lua 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : Quests/VerminsSnye/Ratswhatrats.lua
  3. Script Purpose : Handles the quest, "Rats? What Rats?"
  4. Script Author : premierio015
  5. Script Date : 16.05.2020
  6. Script Notes :
  7. Zone : Vermin's Snye
  8. Quest Giver :
  9. Preceded by : None
  10. Followed by : None
  11. --]]
  12. function Init(Quest)
  13. AddQuestStepKill(Quest, 1, "I need to slay some large tomb vermin in Vermin's Snye.", 20, 100, "I need to slay as many large tomb vermin as I am able in Vermin's Snye.", 98, 2000014)
  14. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  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 QuestComplete(Quest, QuestGiver, Player)
  23. UpdateQuestStepDescription(Quest, 1, "I have slain the large tomb vermin.")
  24. UpdateQuestTaskGroupDescription(Quest, 1, "I have slain some of the large tomb vermin. I hope that makes Qeynos a safer place.")
  25. UpdateQuestDescription(Quest, "I have exterminated quite a few of the large tomb vermin, I hope that helps some.")
  26. GiveQuestReward(Quest, Player)
  27. end
  28. function Reload(Quest, QuestGiver, Player, Step)
  29. if Step == 1 then
  30. QuestComplete(Quest, QuestGiver, Player)
  31. end
  32. end