dont_get_it_in_your_eyes.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Script Name : Quests/TimorousDeep/dont_get_it_in_your_eyes.lua
  3. Script Purpose : Handles the quest, "Don't Get it in Your Eyes"
  4. Script Author : Scatman
  5. Script Date : 2009.02.22
  6. Zone : Timorous Deep
  7. Quest Giver: Tertiary Mak'Ki
  8. Preceded by: None
  9. Followed by: Don't Get It in Arozik's Eyes (dont_get_it_in_aroziks_eyes.lua)
  10. --]]
  11. function Init(Quest)
  12. -- Acid-inscribed Ring
  13. -- Empowered Belt Buckle
  14. -- Geo-Parser's Sandals
  15. -- Lightfoot Boots
  16. -- Pridefeather Gloves
  17. AddQuestStepKill(Quest, 1, "I need to collect some acid sacs from the crusty rustbeats in the Timeworn Pools to the far west.", 5, 100, ".", 111, 2630088)
  18. AddQuestStepCompleteAction(Quest, 1, "step1_complete_gotSacs")
  19. end
  20. function Accepted(Quest, QuestGiver, Player)
  21. FaceTarget(QuestGiver, Player)
  22. conversation = CreateConversation()
  23. PlayFlavor(QuestGiver, "voiceover/english/rok_questvo/tertiary_mak_ki/_exp04/exp04_rgn_timorous_deep/chrykori_tie/makki/makki001.mp3", "", "", 493055833, 1386500229, Player)
  24. AddConversationOption(conversation, "I will be back soon.")
  25. StartConversation(conversation, QuestGiver, Player, "Could you? That would help me greatly.")
  26. end
  27. function Declined(Quest, QuestGiver, Player)
  28. end
  29. function step1_complete_gotSacs(Quest, QuestGiver, Player)
  30. UpdateQuestStepDescription(Quest, 1, "I have collected the acid sacs.")
  31. AddQuestStepChat(Quest, 2, "I need to bring these acid sacs back to Tertiary Mak'Ki.", 1, ".", 111, 2630044)
  32. AddQuestStepCompleteAction(Quest, 2, "quest_complete")
  33. end
  34. function quest_complete(Quest, QuestGiver, Player)
  35. UpdateQuestDescription(Quest, "I have brought Tertiary Mak'Ki the sacs.")
  36. GiveQuestReward(Quest, Player)
  37. end
  38. function Reload(Quest, QuestGiver, Player, Step)
  39. if Step == 1 then
  40. step1_complete_gotSacs(Quest, QuestGiver, Player)
  41. end
  42. end