it_cant_all_be_interesting_work.lua 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --[[
  2. Script Name : Quests/TimorousDeep/it_cant_all_be_interesting_work.lua
  3. Script Purpose : Handles the quest, "It Can't ALL Be Interesting Work"
  4. Script Author : Scatman
  5. Script Date : 2009.02.27
  6. Zone : Timorous Deep
  7. Quest Giver: Bio-Parser Zo'Dok
  8. Preceded by: The Filament Strangler (the_filament_strangler.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. -- Geo-Parser's Mantle
  13. -- Raptor-scaled Shoulders
  14. ---Steel Belt Buckle
  15. -- Woven Trythec Band
  16. -- filament encapsulated monitor
  17. AddQuestStepObtainItem(Quest, 1, "I need to collect some Trythec roots.", 5, 100, ".", 197, 10162)
  18. AddQuestStepCompleteAction(Quest, 1, "step1_complete_gotRoots")
  19. end
  20. function Accepted(Quest, QuestGiver, Player)
  21. FaceTarget(QuestGiver, Player)
  22. conversation = CreateConversation()
  23. PlayFlavor(QuestGiver, "voiceover/english/rok_questvo/bio-parser_zo_dok/_exp04/exp04_rgn_timorous_deep/chrykori_tie/zodok/zodok005.mp3", "", "", 631994301, 82902587, Player)
  24. AddConversationOption(conversation, "I will return with the roots.")
  25. StartConversation(conversation, QuestGiver, Player, "Great. I was studying them before I ran across this carnivorous plant, and while it captured my interest, I've no desire to abandon them completely.")
  26. end
  27. function Declined(Quest, QuestGiver, Player)
  28. end
  29. function step1_complete_gotRoots(Quest, QuestGiver, Player)
  30. UpdateQuestStepDescription(Quest, 1, "I have collected the Trythec roots.")
  31. AddQuestStepChat(Quest, 2, "I need to bring these roots to Bio-Parser Zo'Dok.", 1, ".", 197, 2630080)
  32. AddQuestStepCompleteAction(Quest, 2, "quest_complete")
  33. end
  34. function quest_complete(Quest, QuestGiver, Player)
  35. UpdateQuestDescription(Quest, "I have brought the Trythec roots back to Zo'Dok.")
  36. GiveQuestReward(Quest, Player)
  37. end
  38. function Reload(Quest, QuestGiver, Player, Step)
  39. if Step == 1 then
  40. step1_complete_gotRoots(Quest, QuestGiver, Player)
  41. end
  42. end