EQ2EMu/server/SpawnScripts/ScaleYard/AnthonyGlavias.lua
2022-10-16 17:40:14 +00:00

48 lines
No EOL
2.1 KiB
Lua
Executable file

--[[
Script Name : SpawnScripts/ScaleYard/AnthonyGlavias.lua
Script Purpose : Anthony Glavias
Script Author : John Adams
Script Date : 2008.10.01
Script Notes : Auto-Generated Conversation from PacketParser Data
--]]
require "SpawnScripts/Generic/DialogModule"
local QUEST_4 = 343 --162 --Kill or be killed--
function spawn(NPC)
end
function respawn(NPC)
spawn(NPC)
end
function hailed(NPC, Spawn)
if GetQuestStep(Spawn, QUEST_4) == 1 then
FaceTarget(NPC, Spawn)
Dialog.New(NPC, Spawn)
Dialog.AddDialog("Who are you? Did Issik send you? Why was I told to guard this corner? This is the stupidest assignment I've ever been given.")
Dialog.AddVoiceover("voiceover/english/tutorial_revamp/anthony_glavias/fprt_hood06/rcp_anthony001.mp3", 3067586016, 4150767631)
Dialog.AddOption( "Who sent me is not important. All that matters is that your incompetence can no longer be tolerated. This is your last assignment Anthony.", "dlg_1_1")
Dialog.Start()
else
choice = math.random(1,2)
if choice == 1 then
PlayFlavor(NPC, "voiceover/english/tutorial_revamp/anthony_glavias/fprt_hood06/quest_anthony_idle_text_4d8d8143.mp3", "What! Who? No you're not the person I'm supposed to talk to.", "", 1807765648, 2730794847, Spawn)
else
PlayFlavor(NPC, "voiceover/english/tutorial_revamp/anthony_glavias/fprt_hood06/quest_anthony_idle_text_cd460631.mp3", "Why I was instructed to guard this corner? I have no idea...", "", 3183193425, 4191883084, Spawn)
end
end
end
function dlg_1_1(NPC, Spawn)
FaceTarget(NPC, Spawn)
Dialog.New(NPC, Spawn)
Dialog.AddDialog("Wut? Why? Gnome taste sooooooooo gud! I wuves me some gnomesteak!")
Dialog.AddVoiceover("voiceover/english/tutorial_revamp/anthony_glavias/fprt_hood06/rcp_anthony002.mp3", 2414080442, 1536099757)
Dialog.AddOption( "Cease your banter draw your blade, fool!")
Dialog.AddOption("Step down citizen! No one fires Anthony Glavias besides me! Eh, well... not that I would fire myself that is... Bwah! ")
Dialog.Start()
SetStepComplete(Spawn, QUEST_4, 1)
end