9
3

BecomingACrafter.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : Quests/TimorousDeep/BecomingACrafter.lua
  3. Script Author : Ememjr
  4. Script Date : 2021.01.28 12:01:44
  5. Script Purpose :
  6. Zone : TimorousDeep
  7. Quest Giver:
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. SetQuestFeatherColor(Quest, 2)
  13. AddQuestStepChat(Quest, 1, "I need to speak with Rozokal Niba'mok.", 1, "", 11, 2631485)
  14. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  15. end
  16. function Accepted(Quest, QuestGiver, Player)
  17. -- Add dialog here for when the quest is accepted
  18. end
  19. function Declined(Quest, QuestGiver, Player)
  20. -- Add dialog here for when the quest is declined
  21. end
  22. function Deleted(Quest, QuestGiver, Player)
  23. -- Remove any quest specific items here when the quest is deleted
  24. end
  25. function QuestComplete(Quest, QuestGiver, Player)
  26. UpdateQuestDescription(Quest, "I have spoken with Rozokal Niba'mok.")
  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