haoaeran_poisons.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : Quests/TimorousDeep/haoaeran_poisons.lua
  3. Script Purpose : Handles the quest, "Haoaeran Poisons"
  4. Script Author : Scatman
  5. Script Date : 2009.02.27
  6. Zone : Timorous Deep
  7. Quest Giver: Arozik Sky'Ki
  8. Preceded by: None
  9. Followed by: Scout Scouting (scout_scouting.lua)
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepKill(Quest, 1, "I need poison glands from the skittering monitors on Trythec Loft.", 6, 100, ".", 336, 2630070)
  13. AddQuestStepCompleteAction(Quest, 1, "step1_complete_gotGlands")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. conversation = CreateConversation()
  18. PlayFlavor(QuestGiver, "voiceover/english/rok_questvo/arozik_sky_ki/_exp04/exp04_rgn_timorous_deep/chrykori_tie/skyki/skyki003.mp3", "", "", 1707113595, 2002626119, Player)
  19. AddConversationOption(conversation, "I will handle myself carefully.")
  20. StartConversation(conversation, QuestGiver, Player, "Good. Careful handling the monitors and their sacs; remember, we don't have an antidote yet, and I do not need another invalid to care for. Return once you have enough for a thorough study.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function step1_complete_gotGlands(Quest, QuestGiver, Player)
  25. UpdateQuestStepDescription(Quest, 1, "I have the poison glands.")
  26. AddQuestStepChat(Quest, 2, "I need to bring these poison glands to Secondary Arozik Sky'Ki.", 1, ".", 336, 2630081)
  27. AddQuestStepCompleteAction(Quest, 2, "quest_complete")
  28. end
  29. function quest_complete(Quest, QuestGiver, Player)
  30. UpdateQuestDescription(Quest, "I have brought the poison glands of the skittering monitors back to Secondary Arozik Sky'Ki.")
  31. GiveQuestReward(Quest, Player)
  32. end
  33. function Reload(Quest, QuestGiver, Player, Step)
  34. if Step == 1 then
  35. step1_complete_gotGlands(Quest, QuestGiver, Player)
  36. end
  37. end