mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
30 lines
No EOL
1.4 KiB
Lua
Executable file
30 lines
No EOL
1.4 KiB
Lua
Executable file
--[[
|
|
Script Name : SpawnScripts/ScaleYard/Valseth.lua
|
|
Script Purpose : Valseth
|
|
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,3)
|
|
|
|
if choice == 1 then
|
|
PlayFlavor(NPC, "voiceover/english/optional2/iksar_eco_evil_1/ft/service/merchant/iksar_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", 1919752795, 2899530992, Spawn, 0)
|
|
elseif choice == 2 then
|
|
PlayFlavor(NPC, "voiceover/english/optional2/iksar_eco_evil_1/ft/service/merchant/iksar_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", 651549003, 3080028152, Spawn, 0)
|
|
elseif choice == 3 then
|
|
PlayFlavor(NPC, "voiceover/english/optional2/iksar_eco_evil_1/ft/service/merchant/iksar_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", 259001786, 3030907314, Spawn, 0)
|
|
end
|
|
end |