9
3

scout_scouting.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Script Name : Quests/TimorousDeep/scout_scouting.lua
  3. Script Purpose : Handles the quest, "Scout Scouting"
  4. Script Author : Scatman
  5. Script Date : 2009.02.27
  6. Zone : Timorous Deep
  7. Quest Giver: Arozik Sky'Ki
  8. Preceded by: Haoaeran Poisons (haoaeran_poisons.lua)
  9. Followed by: Haoaeran Orders (haoaeran_orders.lua)
  10. --]]
  11. function Init(Quest)
  12. -- Band of Weaving
  13. -- Barnacled Hoop
  14. -- Layered Scale Barbute
  15. -- Lightfoot Sash
  16. -- Pridefeather Mantle
  17. AddQuestStep(Quest, 1, "I need to travel south and search for the missing Chrykori Scout.", 1, 100, ".", 0)
  18. AddQuestStepCompleteAction(Quest, 1, "step1_complete_foundScout")
  19. end
  20. function Accepted(Quest, QuestGiver, Player)
  21. FaceTarget(QuestGiver, Player)
  22. conversation = CreateConversation()
  23. PlayFlavor(QuestGiver, "voiceover/english/rok_questvo/arozik_sky_ki/_exp04/exp04_rgn_timorous_deep/chrykori_tie/skyki/skyki009.mp3", "", "", 3728908332, 3305312400, Player)
  24. AddConversationOption(conversation, "You're welcome.")
  25. StartConversation(conversation, QuestGiver, Player, "Thank you. Remember, the log book is enough.")
  26. end
  27. function Declined(Quest, QuestGiver, Player)
  28. end
  29. function step1_complete_foundScout(Quest, QuestGiver, Player)
  30. UpdateQuestStepDescription(Quest, 1, "I have the log book of the missing scout.")
  31. AddQuestStepChat(Quest, 2, "I need to bring this log book to Secondary Arozik Sky'Ki.", 1, ".", 716, 2630081)
  32. AddQuestStepCompleteAction(Quest, 2, "quest_complete")
  33. end
  34. function quest_complete(Quest, QuestGiver, Player)
  35. UpdateQuestDescription(Quest, "Sky'Ki's scout was dead, but I was able to bring his log book back.")
  36. GiveQuestReward(Quest, Player)
  37. end
  38. function Reload(Quest, QuestGiver, Player, Step)
  39. if Step == 1 then
  40. step1_complete_foundScout(Quest, QuestGiver, Player)
  41. end
  42. end