12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- --[[
- Script Name : SpawnScripts/LongshadowAlley/ImnatDVren.lua
- Script Purpose : Imnat D`Vren
- Script Author : torsten
- Script Date : 2022.07.19
- Script Notes : Auto-Generated Conversation from PacketParser Data
- --]]
- require "SpawnScripts/Generic/DialogModule"
- local ADramaticPerformance = 5679
- local AShadyClearing = 5680
- local TheTruthisoutThere = 5684
- function spawn(NPC)
- ProvidesQuest(NPC, AShadyClearing)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function hailed(NPC, Spawn)
- if HasCompletedQuest(Spawn, ADramaticPerformance) then
- if not HasQuest(Spawn, AShadyClearing) and not HasCompletedQuest(Spawn, AShadyClearing) then
- OfferQuest(NPC, Spawn, AShadyClearing)
- end
- end
- if GetQuestStep(Spawn, AShadyClearing) == 2 then
- SetStepComplete(Spawn, AShadyClearing, 2)
- end
- if GetQuestStep(Spawn, TheTruthisoutThere) == 1 then
- FaceTarget(NPC, Spawn)
- Dialog.New(NPC, Spawn)
- Dialog.AddDialog("Yes... I know something about this. Who sends you again ?")
- Dialog.AddOption("Captain L`Nek of course. Now tell me what you know!")
- Dialog.Start()
- SetStepComplete(Spawn, TheTruthisoutThere, 1)
- end
- RandomGreeting(NPC, Spawn)
- end
- function RandomGreeting(NPC, Spawn)
- local choice = MakeRandomInt(1,1)
- if choice == 1 then
- PlayFlavor(NPC, "voiceover/english/imnat_d_vren/fprt_hood05/100_std_de_male_imnat_dvren_callout_c7828a4.mp3", "Bah! That Maliz keeps breaking everything. He's not allowed near what little furniture we have left! What do you want? Can't you see I'm busy!", "", 3649396705, 3766219054, Spawn, 0)
- end
- end
|