mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
28 lines
No EOL
768 B
Lua
Executable file
28 lines
No EOL
768 B
Lua
Executable file
--[[
|
|
Script Name : SpawnScripts/ScaleYard/MegenOKeel.lua
|
|
Script Purpose : Megen O`Keel
|
|
Script Author : torsten
|
|
Script Date : 2022.07.25
|
|
Script Notes : Auto-Generated Conversation from PacketParser Data
|
|
--]]
|
|
|
|
function spawn(NPC)
|
|
end
|
|
|
|
function respawn(NPC)
|
|
spawn(NPC)
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
RandomGreeting(NPC, Spawn)
|
|
end
|
|
|
|
function RandomGreeting(NPC, Spawn)
|
|
local choice = MakeRandomInt(1,2)
|
|
|
|
if choice == 1 then
|
|
PlayFlavor(NPC, "", "Hello! Can I offer you one of our new lifetime extended warranties for any merchandise you purchase? ", "nod", 0, 0, Spawn, 0)
|
|
elseif choice == 2 then
|
|
PlayFlavor(NPC, "", "The stuff's over there. Just let me know if you find anything you like.", "ponder", 0, 0, Spawn, 0)
|
|
end
|
|
end |