9
3

kuvis_vengeance.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : Quests/TimorousDeep/kuvis_vengeance.lua
  3. Script Purpose : Handles the quest, "Ku'Vi's Vengeance"
  4. Script Author : Scatman
  5. Script Date : 2009.02.27
  6. Zone : Timorous Deep
  7. Quest Giver: Craewem Ku'Vi
  8. Preceded by: Pluck Them of Their Pride (pluck_them_of_their_pride.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. -- Geo-Parser's Robe
  13. -- Layered Scale Breastplate
  14. -- Pridefeather Headdress
  15. -- Raptor-scaled Tunic
  16. -- Ritualist's Tunic
  17. -- Turf-hunter Tunic
  18. -- Thulwun Defender's Breastplate
  19. AddQuestStepKill(Quest, 1, "I need to kill Turf-Hunter Valcryn.", 1, 100, ".", 611, 2630087)
  20. AddQuestStepCompleteAction(Quest, 1, "step1_complete_killedValcryn")
  21. end
  22. function Accepted(Quest, QuestGiver, Player)
  23. FaceTarget(QuestGiver, Player)
  24. conversation = CreateConversation()
  25. PlayFlavor(QuestGiver, "voiceover/english/rok_questvo/craewen_ku_vi/_exp04/exp04_rgn_timorous_deep/chrykori_tie/kuvi/kuvi005.mp3", "", "", 3507521870, 672894658, Player)
  26. AddConversationOption(conversation, "I will return when I have his head.")
  27. StartConversation(conversation, QuestGiver, Player, "Thank you. Seeing him fall will be a rare joy.")
  28. end
  29. function Declined(Quest, QuestGiver, Player)
  30. end
  31. function step1_complete_killedValcryn(Quest, QuestGiver, Player)
  32. UpdateQuestStepDescription(Quest, 1, "I have slain Turf-Hunter Valcryn.")
  33. AddQuestStepChat(Quest, 2, "I need to return to Craewen Ku'Vi.", 1, ".", 0, 2630073)
  34. AddQuestStepCompleteAction(Quest, 2, "quest_complete")
  35. end
  36. function quest_complete(Quest, QuestGiver, Player)
  37. UpdateQuestDescription(Quest, "I have slain Turf-Hunter Valcryn and brought his head and pride feathers to Craewen Ku'Vi.")
  38. GiveQuestReward(Quest, Player)
  39. end
  40. function Reload(Quest, QuestGiver, Player, Step)
  41. if Step == 1 then
  42. step1_complete_killedValcryn(Quest, QuestGiver, Player)
  43. end
  44. end