9
3

sending_the_word.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : Quests/Castleview/sending_the_word.lua
  3. Script Purpose : Handles the quest, "Sending the Word"
  4. Script Author : Scatman
  5. Script Date : 2009.10.02
  6. Zone : Castleview Hamlet
  7. Quest Giver: Vindain Greenfaith
  8. Preceded by: The Commune (the_commune.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I need to travel to Oakmyst Forest and speak with Adalin Emerael.", 1, "I need to speak with Adalin Emerael.", 0, 1950004)
  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/vindain_greenfaith/qey_village04/quests/vindain/vindain035b.mp3", "", "bow", 3207270317, 1946313496, Player)
  19. AddConversationOption(conversation, "Thank you.")
  20. StartConversation(conversation, QuestGiver, Player, "May Tunare be with you.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function quest_complete(Quest, QuestGiver, Player)
  25. UpdateQuestStepDescription(Quest, 1, "I have spoken with Adalin Emerael.")
  26. UpdateQuestTaskGroupDescription(Quest, 1, "I have spoken with Adalin Emerael.")
  27. UpdateQuestDescription(Quest, "I have spoken with the Adalin Emerael.")
  28. GiveQuestReward(Quest, Player)
  29. end
  30. function Reload(Quest, QuestGiver, Player, Step)
  31. end