WelcometoNorrath.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : Quests/OutpostOverlord/WelcometoNorrath.lua
  3. Script Author : Cynnar
  4. Script Date : 2018.09.22 01:09:08
  5. Script Purpose : Handles the quest, "Welcome to Norrath"
  6. Script Notes : Reward Tayil's Dark Inspiration Item is missing in our database.
  7. Zone : OutpostOverlord
  8. Quest Giver: Offered upon first arriving on the island (Proximity)
  9. Preceded by: None
  10. Followed by: The Art of Combat
  11. --]]
  12. function Init(Quest)
  13. -- Tayil's Dark Inspiration
  14. AddQuestStepChat(Quest, 1, "Speak to Tayil N'Velex, outside the entrance of Sythor's Spire in the center of the outpost.", 1, "I should speak with Tayil N'Velex. She is at the entrance to Sythor's Spire in the center of the outpost.", 11, 2780038)
  15. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  16. end
  17. function QuestComplete(Quest, QuestGiver, Player)
  18. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  19. UpdateQuestStepDescription(Quest, 1, "I spoke with Tayil N'Velex.")
  20. UpdateQuestTaskGroupDescription(Quest, 1, "I spoke with Tayil N'Velex.")
  21. UpdateQuestDescription(Quest, "I have spoken to Tayil N'Velex.")
  22. GiveQuestReward(Quest, Player)
  23. end
  24. function Reload(Quest, QuestGiver, Player, Step)
  25. if Step == 1 then
  26. QuestComplete(Quest, QuestGiver, Player)
  27. end
  28. end
  29. function Accepted(Quest, QuestGiver, Player)
  30. -- Add dialog here for when the quest is accepted
  31. end
  32. function Declined(Quest, QuestGiver, Player)
  33. -- Add dialog here for when the quest is declined
  34. end