delivery_to_a_veteran.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : Quests/TimorousDeep/delivery_to_a_veteran.lua
  3. Script Purpose : Handles the quest, "Delivery to a Veteran"
  4. Script Author : Scatman
  5. Script Date : 2009.02.06
  6. Zone : Timorous Deep
  7. Quest Giver: Taroche Dry'Zok
  8. Preceded by: Stuffed Gorger Claws (stuffed_gorger_claws.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepChat(Quest, 1, "I need to deliver this bait to Citizen Niba'Ouz, fishing just to the east.", 1, ".", 78, 2630024)
  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/rok_questvo/taroche_dry_zok/_exp04/exp04_rgn_timorous_deep/chrykori_tie/dryzok/dryzok004.mp3", "", "", 3720573202, 68445257, Player)
  19. AddConversationOption(conversation, "You're welcome.")
  20. StartConversation(conversation, QuestGiver, Player, "Thank you. I appreciate it, and I am certain he will as well.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function quest_complete(Quest, QuestGiver, Player)
  25. UpdateQuestDescription(Quest, "I have delivered the special bait to Citizen Niba'Ouz.")
  26. GiveQuestReward(Quest, Player)
  27. end
  28. function Reload(Quest, QuestGiver, Player, Step)
  29. end