hopefully_the_meat_isnt_timeworn.lua 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : Quests/TimorousDeep/hopefully_the_meat_isnt_timeworn.lua
  3. Script Purpose : Handles the quest, "Hopefully the Meat Isn't Timeworn"
  4. Script Author : Scatman
  5. Script Date : 2009.02.10
  6. Zone : Timorous Deep
  7. Quest Giver: Varkori Riz'Lul
  8. Preceded by: None
  9. Followed by: Sandy Eggs (sandy_eggs.lua)
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepKill(Quest, 1, "I need some briny lizard meat from the lizards in the Timeworn Pools west of Chrykori Village.", 4, 100, ".", 139, 2630083)
  13. AddQuestStepCompleteAction(Quest, 1, "step1_complete_killedLizards")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. FaceTarget(QuestGiver, Player)
  17. conversation = CreateConversation()
  18. PlayFlavor(QuestGiver, "voiceover/english/rok_questvo/varkori_riz_lul/_exp04/exp04_rgn_timorous_deep/chrykori_tie/rizlul/rizlul001.mp3", "", "", 1972473001, 1216175625, Player)
  19. AddConversationOption(conversation, "I will get the lizard meat.")
  20. StartConversation(conversation, QuestGiver, Player, "Great, thank you. I'd send Taroche, but every time I try to send him out, he tells me he's perfecting his stuffed grit gorger claw recipe. Hmph! One meaningless soldier tells him they're the best thing he's ever tasted, and now Taroche just won't let it go. He seems to believe he's some sort of culinary genius, but I don't have the heart to tell him he was bred without taste buds.")
  21. end
  22. function Declined(Quest, QuestGiver, Player)
  23. end
  24. function step1_complete_killedLizards(Quest, QuestGiver, Player)
  25. SetStepComplete(Quest, 1, "I have the lizard meat.")
  26. AddQuestStepChat(Quest, 2, "I need to bring this meat back to Varkori Riz'Lul in Chrykori Village.", 1, ".", 139, 2630043)
  27. AddQuestStepCompleteAction(Quest, 2, "quest_complete")
  28. end
  29. function quest_complete(Quest, QuestGiver, Player)
  30. UpdateQuestDescription(Quest, "I have brought some briny lizard meat back to Varkori Riz'Lul.")
  31. GiveQuestReward(Quest, Player)
  32. end
  33. function Reload(Quest, QuestGiver, Player, Step)
  34. if Step == 1 then
  35. step1_complete_killedLizards(Quest, QuestGiver, Player)
  36. end
  37. end