mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
38 lines
905 B
Lua
Executable file
38 lines
905 B
Lua
Executable file
--[[
|
|
Script Name : SpawnScripts/OutpostoftheOverlord/Ashir.lua
|
|
Script Purpose : Ashir <Fishmonger>
|
|
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,3)
|
|
|
|
if choice == 1 then
|
|
PlayFlavor(NPC, "", "Try my Coagulated Surprise!", "", 1689589577, 4560189, Spawn)
|
|
elseif choice == 2 then
|
|
PlayFlavor(NPC, "", "I'll challenge my dried triggerfish to Gorga's stew any day.", "", 1689589577, 4560189, Spawn)
|
|
elseif choice == 3 then
|
|
PlayFlavor(NPC, "", "Mmm, fish!", "", 1689589577, 4560189, Spawn)
|
|
else
|
|
end
|
|
|
|
end
|
|
|