9
3

bigger_fish_to_fry.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. --[[
  2. Script Name : Quests/TimorousDeep/bigger_fish_to_fry.lua
  3. Script Purpose : Handles the quest, "Bigger Fish to Fry"
  4. Script Author : Scatman
  5. Script Date : 2009.02.06
  6. Zone : Timorous Deep
  7. Quest Giver: Citizen Niba'Ouz
  8. Preceded by: Fish of the Chrykori Island (fish_of_the_chrykori_island.lua)
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. -- Barnacled Scepter
  13. -- Fish-wrangler's Grips
  14. -- Poacher's Talon
  15. -- Sandstorm Staff
  16. -- Saltspray Slicer
  17. -- Sharkblade
  18. -- bull saltfin
  19. AddQuestStepObtainItem(Quest, 1, "Niba'Ouz wants me to try to fish up a bull saltfin.", 1, 100, ".", 2540, 3515)
  20. AddQuestStepCompleteAction(Quest, 1, "step1_complete_gotSaltfin")
  21. end
  22. function Accepted(Quest, QuestGiver, Player)
  23. FaceTarget(QuestGiver, Player)
  24. conversation = CreateConversation()
  25. PlayFlavor(QuestGiver, "voiceover/english/rok_questvo/citizen_niba_ouz/_exp04/exp04_rgn_timorous_deep/chrykori_tie/nibaouz/nibaouz006.mp3", "", "", 3393303954, 1028332139, Player)
  26. AddConversationOption(conversation, "I will be back.")
  27. StartConversation(conversation, QuestGiver, Player, "I appreciate it! Return to me when you find one.")
  28. end
  29. function Declined(Quest, QuestGiver, Player)
  30. end
  31. function step1_complete_gotSaltfin(Quest, QuestGiver, Player)
  32. UpdateQuestStepDescription(Quest, 1, "I have fished up a bull saltfin.")
  33. AddQuestStepChat(Quest, 2, "I need to return to Citizen Niba'Ouz.", 1, ".", 2540, 2630024)
  34. AddQuestStepCompleteAction(Quest, 2, "quest_complete")
  35. end
  36. function quest_complete(Quest, QuestGiver, Player)
  37. UpdateQuestDescription(Quest, "I have brought a bull saltfin to Citizen Niba'Ouz.")
  38. GiveQuestReward(Quest, Player)
  39. end
  40. function Reload(Quest, QuestGiver, Player, Step)
  41. if Step == 1 then
  42. step1_complete_gotSaltfin(Quest, QuestGiver, Player, Step)
  43. end
  44. end