lasydias_call.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : Quests/IsleofRefuge/lasydias_call.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.25 12:09:40
  5. Script Purpose :
  6. Zone : IsleofRefuge
  7. Quest Giver: statue_widget (3250011)
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepKill(Quest, 1, "It is Lasydia's desire that I slay 10 razortooth sharks.", 10, 100, "I feel an overwhelming urge to end the threat that these razortooth sharks present to the refuges and inhabitants of this isle.", 611, 3250159)
  13. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  14. end
  15. function QuestComplete(Quest, QuestGiver, Player)
  16. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  17. UpdateQuestStepDescription(Quest, 1, "I killed 10 razortooth sharks.")
  18. UpdateQuestTaskGroupDescription(Quest, 1, "Lasydia has comforted me and the feeling to slay sharks left me after I had slain a number of them.")
  19. UpdateQuestDescription(Quest, "A mysterious sash floated to me out of the water after my desire to slay the vicious sharks left me. I can only guess if it was by accident or by design that the sash found me.")
  20. GiveQuestReward(Quest, Player)
  21. end
  22. function Reload(Quest, QuestGiver, Player, Step)
  23. if Step == 1 then
  24. QuestComplete(Quest, QuestGiver, Player)
  25. end
  26. end
  27. function Accepted(Quest, QuestGiver, Player)
  28. end
  29. function Declined(Quest, QuestGiver, Player)
  30. -- Add dialog here for when the quest is declined
  31. end