mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
36 lines
1,007 B
Lua
Executable file
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
|
|
|