1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- --[[
- Script Name : SpawnScripts/StonestairByway/Raban.lua
- Script Purpose : Raban
- Script Author : torsten
- Script Date : 2022.07.21
- Script Notes : Auto-Generated Conversation from PacketParser Data
- --]]
- require "SpawnScripts/Generic/DialogModule"
- local AWorthyTeacher = 5687
- function spawn(NPC)
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function hailed(NPC, Spawn)
- if GetQuestStep(Spawn, AWorthyTeacher) == 1 then
- FaceTarget(NPC, Spawn)
- Dialog.New(NPC, Spawn)
- Dialog.AddDialog("Can't you adventurers find some other place to drink?")
- Dialog.AddOption("I am not here to drink, madam. I bring a message from the Iksar Zekvila.", "Dialog2")
- Dialog.Start()
- else
- Dialog1(NPC, Spawn)
- end
- end
- function Dialog1(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- Dialog.New(NPC, Spawn)
- Dialog.AddDialog("Can't you adventurers find some other place to drink?")
- Dialog.AddVoiceover("voiceover/english/optional1/tavern_patron,_erudite_female/fprt_hood02/tavern_patron_erudite_raban.mp3", 2922822950, 250860244)
- Dialog.AddOption("Whatever.")
- Dialog.Start()
- end
- function Dialog2(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- Dialog.New(NPC, Spawn)
- Dialog.AddDialog("You mean Zekvila the incompetent? The one who fancies herself a powerful mage? Ha! Let me read her message. Hmm ... hmm ... ah, yes. It's clear her impatience has finally caught up with her. Tell her this: If she wants my help, she will have to come to me in person, face me, and confess the full extent of her pathetic ignorance. I can almost hear the indignant shrieks already. Now ... leave me to my drink.")
- Dialog.AddOption("I'll let her know.")
- Dialog.Start()
- SetStepComplete(Spawn, AWorthyTeacher, 1)
- end
|