hunters_manifest2.lua 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : Quests/Antonica/hunters_manifest2.lua
  3. Script Author : Premierio015
  4. Script Date : 2023.04.14 07:04:13
  5. Script Purpose :
  6. Zone : Antonica
  7. Quest Giver:
  8. Preceded by: None
  9. Followed by:
  10. THIS QUEST IS NOT A DUPE DONT REMOVE
  11. --]]
  12. require "SpawnScripts/Generic/PlayerHistory"
  13. function Init(Quest)
  14. AddQuestStepKill(Quest, 1, "I need to hunt various wolves in Antonica", MakeRandomInt(10, 15), 100, "I have decided to prove my worth as a hunter by bringing down game from all parts of Antonica.", 102, 120008, 120266, 120106)
  15. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  16. end
  17. function Accepted(Quest, QuestGiver, Player)
  18. SetPlayerHistory(Player, 8, 1)
  19. end
  20. function Declined(Quest, QuestGiver, Player)
  21. end
  22. function Deleted(Quest, QuestGiver, Player)
  23. SetPlayerHistory(Player, 8, 0)
  24. end
  25. function QuestComplete (QuestGiver, Player)
  26. UpdateQuestStepDescription(Quest, 1, "I have hunted the various wolves in Antonica and have proven my abilities as a hunter! ")
  27. UpdateQuestTaskGroupDescription(Quest, 1, "I have proven my abilties as a hunter!")
  28. UpdateQuestDescription(Quest, "I have hunted several different types of Antonican creatures, proving my skill in hunting to all those who cross my path.")
  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