jolina_fairfeathers_gravestone.lua 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : Quests/Antonica/jolina_fairfeathers_gravestone.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.05.12 04:05:04
  5. Script Purpose :
  6. Zone : Antonica
  7. Quest Giver: Tombstone in Antoncia
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepKill(Quest, 1, "I need to kill twelve highwaymen in Antonica.", 15, 100, "Poor Jolina was killed by highwaymen for a mere loaf of bread and a bag full of seeds. I should seek out these highwaymen and exact justice upon them in her name!", 611, 120161,120162,120171,121858)
  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 exacted justice upon the highwaymen in the name of Jolina Fairfeather.")
  27. UpdateQuestTaskGroupDescription(Quest, 1, "I have brought the highwaymen to justice.")
  28. UpdateQuestDescription(Quest, "I have sought out the highwaymen in Antonica and made them pay for what they did to poor Jolina Fairfeather.")
  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