meet_the_custodian.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : Quests/LongshadowAlley/meet_the_custodian.lua
  3. Script Purpose : Handles the quest, "Meet the Custodian"
  4. Script Author : Scatman
  5. Script Date : 2009.04.11
  6. Zone : Longshadow Alley
  7. Quest Giver: Aldera V'Exxa
  8. Preceded by: A Lesson Learned (a_lesson_learned.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I need to locate Custodian Sullissa, whom I will find in the Graveyard.", 1, ".", 0, 1250002)
  13. AddQuestStepCompleteAction(Quest, 1, "Quest_Complete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. conversation = CreateConversation()
  18. PlayFlavor(QuestGiver, "voiceover/english/tutorial_revamp/aldera_v_exxa/fprt_hood05/quests/alderavexxa/aldera_x1_032.mp3", "", "", 3598421392, 2829289499, Player)
  19. AddConversationOption(conversation, "Thank you for your wisdom, I hope your friend in the Graveyard can teach me as much as you have.")
  20. StartConversation(conversation, QuestGiver, Player, "As promised, I will direct you to where you can learn to harness the other strengths of the Teir'Dal. Now that you understand the correct etiquette, perhaps you won't get yourself killed. Go now to Custodian Zaddar Sullissia in the Graveyard. By helping him accomplish his tasks, you will gain not only the respect of your own people, you will also learn to harness your own strengths and weaknesses.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function Deleted(Quest, QuestGiver, Player)
  25. end
  26. function Quest_Complete(Quest, QuestGiver, Player)
  27. UpdateQuestDescription(Quest, "I have spoken with Custodian Zaddar Sullissa in the Graveyard and will learn more from this scholar.")
  28. GiveQuestReward(Quest, Player)
  29. end
  30. function Reload(Quest, QuestGiver, Player, Step)
  31. end