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

30 lines
1.5 KiB
Lua
Executable file

--[[
Script Name : SpawnScripts/Freeport/Zargga.lua
Script Author : Premierio015
Script Date : 2020.07.13 07:07:11
Script Purpose :
:
--]]
function spawn(NPC)
end
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
local choice = math.random(1, 4)
if choice == 1 then
PlayFlavor(NPC, "voiceover/english/ogre_eco_evil_1/ft/service/merchant/ogre_merchant_service_evil_1_hail_gf_f715099e.mp3", "Hello there, kind adventurer. My merchandise carries the seal of the Overlord himself! Go ahead, take a look!", "salute_freeport", 1555538408, 3566039549, Spawn)
elseif choice == 2 then
PlayFlavor(NPC, "voiceover/english/ogre_eco_evil_1/ft/service/merchant/ogre_merchant_service_evil_1_hail_gf_d088c20d.mp3", "The stuff's over there. Just let me know if you find anything you like.", "ponder", 2706816468, 1822386477, Spawn)
elseif choice == 3 then
PlayFlavor(NPC, "voiceover/english/ogre_eco_evil_1/ft/service/merchant/ogre_merchant_service_evil_1_hail_gf_7d521aa2.mp3", "Hello! Can I offer you one of our new lifetime extended warranties for any merchandise you purchase?", "nod", 2018881162, 4264523804, Spawn)
else
PlayFlavor(NPC, "voiceover/english/ogre_eco_evil_1/ft/service/merchant/ogre_merchant_service_evil_1_hail_gf_aff3fc07.mp3", "Are you going to buy anything today or am I just wasting my time? This isn't a museum display you know!", "glare", 1449817545, 3037761187, Spawn)
end
end
function respawn(NPC)
end