eq2emu-content/SpawnScripts/OutpostOverlord/Geredo.lua
2024-10-26 11:37:28 +00:00

36 lines
1,007 B
Lua
Executable file

--[[
Script Name : SpawnScripts/OutpostoftheOverlord/Geredo.lua
Script Purpose : Geredo
Script Author : Cynnar
Script Date : 2018.10.14
Script Notes : Auto-Generated Conversation from PacketParser Data
--]]
function spawn(NPC)
SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
end
function respawn(NPC)
spawn(NPC)
end
function InRange(NPC, Spawn)
end
function LeaveRange(NPC, Spawn)
end
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
local choice = math.random(1,2)
if choice == 1 then
PlayFlavor(NPC, "voiceover/english/geredo/boat_06p_tutorial02_fvo_002.mp3", "Thinking I should design a new mechanical boat. It would be perfect! Yes, perfect indeed!", "ponder", 2630458163, 1309095480, Spawn)
elseif choice == 2 then
PlayFlavor(NPC, "voiceover/english/geredo/boat_06p_tutorial02_fvo_001.mp3", "Do you happen to have any mechanical leg extenders? I want to see the water.", "agree", 2902186099, 1357276764, Spawn)
else
end
end