123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- --[[
- Script Name : SpawnScripts/SunkenCity/TilzakNLim.lua
- Script Purpose : Tilzak N`Lim
- Script Author : Neatz09
- Script Date : 12/31/2018
- Script Notes : Auto-Generated Conversation from PacketParser Data
- --]]
- require "SpawnScripts/Generic/DialogModule"
- local QUEST_1 = 386
- local InformationGatheringFromaFishmonger = 5677
- function spawn(NPC)
- ProvidesQuest(NPC, QUEST_1)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- if GetFactionAmount(Spawn,12) <1 then
- PlayFlavor(NPC, "", "", "threaten", 0, 0, Spawn)
- else
- Dialog1(NPC, Spawn)
- end
- end
- function Dialog1(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- Dialog.New(NPC, Spawn)
- Dialog.AddDialog("These are my fish so you can't have them! Go... go find your own!")
- Dialog.AddVoiceover("voiceover/english/optional5/standard_dark_elf_male/fprt_hood05/std_de_male_tilzak_nlim.mp3", 3205731528, 2249540299)
- Dialog.AddOption("I have the shark fins you wanted.", "Dialog1")
- if CanReceiveQuest(Spawn,QUEST_1) then
- Dialog.AddOption("I didn't know the Teir'Dal took mundane jobs like fishing.", "Dialog2")
- end
- if GetQuestStep(Spawn, QUEST_1) == 2 then
- Dialog.AddOption("I have the shark fins you wanted.", "Dialog4")
- end
- Dialog.AddOption("Then I'll leave you to your fish.")
- Dialog.Start()
- end
- function Dialog2(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- Dialog.New(NPC, Spawn)
- Dialog.AddDialog("Only when we have no choice. I used to be a chef to some of the most important people in Neriak back in the day. Now I am nothing more than a common fisherman. This is my lot in life, I guess. If I returned to Neriak with new recipes I might once again regain that prominent position. If only I had the ingredients to make a new recipe I've come up with.")
- Dialog.AddOption("Maybe I can offer you a hand. What do you need?", "OfferQuest1")
- Dialog.AddOption("Your wants mean nothing to me.")
- Dialog.Start()
- end
- function OfferQuest1(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- OfferQuest(NPC, Spawn, QUEST_1)
- end
- function Dialog4(NPC, Spawn)
- SetStepComplete(Spawn, QUEST_1, 2)
- FaceTarget(NPC, Spawn)
- Dialog.New(NPC, Spawn)
- Dialog.AddDialog("Oh, thank you so much, my good friend. These will be wonderful once they're prepared correctly. I need to be careful though, because these shark fins can be highly poisonous if they aren't prepared correctly. Don't worry, though -- I've prepared dishes very similar to this before. If you'd like you can be the first person to try it when I'm done!")
- Dialog.AddVoiceover("voiceover/english/optional5/standard_dark_elf_male/fprt_hood05/quests/tilzaknlim/tilzak_x1_finish.mp3", 1351808605, 3311226361)
- Dialog.AddOption("No thanks. I'll leave that to you. Bye.")
- Dialog.Start()
- end
|