9
3

hunters_manifest3.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : Quests/Antonica/hunters_manifest3.lua
  3. Script Author : Premierio015
  4. Script Date : 2023.04.14 08:04:46
  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 bears 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.", 174, 120294, 120312, 120473, 120119, 120471, 120140)
  15. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  16. end
  17. function Accepted(Quest, QuestGiver, Player)
  18. SetPlayerHistory(Player, 8, 1)
  19. end
  20. function Deleted(Quest, QuestGiver, Player)
  21. SetPlayerHistory(Player, 8, 0)
  22. end
  23. function QuestComplete(Quest, QuestGiver, Player)
  24. UpdateQuestStepDescription(Quest, 1, "I have hunted the various bears in Antonica and have proven my abilities as a hunter! ")
  25. UpdateQuestTaskGroupDescription(Quest, 1, "I have proven my abilties as a hunter!")
  26. UpdateQuestDescription(Quest, "I have hunted several different types of Antonican creatures, proving my skill in hunting to all those who cross my path.")
  27. GiveQuestReward(Quest, Player)
  28. end
  29. function Reload(Quest, QuestGiver, Player, Step)
  30. if Step == 1 then
  31. QuestComplete(Quest, QuestGiver, Player)
  32. end
  33. end