hunters_manifest.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --[[
  2. Script Name : Quests/Antonica/hunters_manifest.lua
  3. Script Purpose : Handles the quest, "Hunter's Manifest"
  4. Script Author : premierio015
  5. Script Date : 06.04.2023
  6. Script Notes : Auto generated with QuestParser.
  7. Zone : Antonica
  8. Quest Giver :
  9. Preceded by : None
  10. Followed by : None
  11. THIS QUEST IS NOT A DUPE DONT REMOVE
  12. --]]
  13. require "SpawnScripts/Generic/PlayerHistory"
  14. function Init(Quest)
  15. AddQuestStepKill(Quest, 1, "I need to hunt various hawks 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.", 156, 120188, 120337, 120064, 120029)
  16. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  17. end
  18. function Accepted(Quest, QuestGiver, Player)
  19. SetPlayerHistory(Player, 8, 1)
  20. end
  21. function Declined(Quest, QuestGiver, Player)
  22. -- Add dialog here for when the quest is declined
  23. end
  24. function Deleted(Quest, QuestGiver, Player)
  25. SetPlayerHistory(Player, 8, 0)
  26. end
  27. function QuestComplete(Quest, QuestGiver, Player)
  28. UpdateQuestStepDescription(Quest, 1, "I have hunted the various hawks in Antonica and have proven my abilities as a hunter! ")
  29. UpdateQuestTaskGroupDescription(Quest, 1, "I have proven my abilties as a hunter!")
  30. UpdateQuestDescription(Quest, "I have hunted several different types of Antonican creatures, proving my skill in hunting to all those who cross my path.")
  31. GiveQuestReward(Quest, Player)
  32. end
  33. function Reload(Quest, QuestGiver, Player, Step)
  34. if Step == 1 then
  35. QuestComplete(Quest, QuestGiver, Player)
  36. end
  37. end