9
3

voices_from_beyond.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : Quests/MultipleZones/voices_from_beyond.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.01 01:06:01
  5. Script Purpose :
  6. Zone : MultipleZones
  7. Quest Giver:
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepObtainItem(Quest, 1, "Hunt shadowed men for transference directives to study.", 10, 100, "I must collect and study more transference directives from the shadowed men to learn their language.", 374, 13531)
  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 studied a transference directive.")
  27. UpdateQuestTaskGroupDescription(Quest, 1, "I have learned the Words of Shade, language of the shadowed men.")
  28. AddLanguage(Player, 22)
  29. SendMessage(Player, "You have learned the basics of Words of Shade.", "White")
  30. UpdateQuestDescription(Quest, "I have studied a great number of transference directives scribed with phrases in both Norrathian and the shadowed man language. I now understand the language, Words of Shade.")
  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