9
3

stuffed_gorger_claws.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : Quests/TimorousDeep/stuffed_gorger_claws.lua
  3. Script Purpose : Handles the quest, "Stuffed Gorger Claws"
  4. Script Author : Scatman
  5. Script Date : 2009.02.06
  6. Zone : Timorous Deep
  7. Quest Giver: Taroche Dry'Zok
  8. Preceded by: None
  9. Followed by: Delivery to a Veteran (delivery_to_a_veteran.lua)
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepKill(Quest, 1, "I need some grit gorger claws.", 4, 100, ".", 78, 2630022)
  13. AddQuestStepCompleteAction(Quest, 1, "step1_complete_gotClaws")
  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/dryzok001.mp3", "", "", 3402230050, 3099804897, Player)
  19. AddConversationOption(conversation, "I will.")
  20. StartConversation(conversation, QuestGiver, Player, "Excellent. Return to me once you have them.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function step1_complete_gotClaws(Quest, QuestGiver, Player)
  25. UpdateQuestStepDescription(Quest, 1, "I have the claws.")
  26. AddQuestStepChat(Quest, 2, "I need to bring these claws to Taroche Dry'Zok", 1, ".", 77, 2630014)
  27. AddQuestStepCompleteAction(Quest, 2, "quest_complete")
  28. end
  29. function quest_complete(Quest, QuestGiver, Player)
  30. UpdateQuestDescription(Quest, "I have brought Taroche Dry'Zok the grit gorger claws he asked for.")
  31. GiveQuestReward(Quest, Player)
  32. end
  33. function Reload(Quest, QuestGiver, Player, Step)
  34. if Step == 1 then
  35. step1_complete_gotClaws(Quest, QuestGiver, Player)
  36. end
  37. end