EQ2EMu/server/SpawnScripts/qeynos_combined02/aninjuredBaubbleshirecitizen133771757.lua
2022-06-05 13:50:31 -07:00

28 lines
No EOL
691 B
Lua
Executable file

--[[
Script Name : SpawnScripts/qeynos_combined02/aninjuredBaubbleshirecitizen133771757.lua
Script Author : Rylec
Script Date : 2021.01.17 03:01:44
Script Purpose :
:
--]]
function spawn(NPC)
AddTimer(NPC, 1000, "hairstyle")
end
function hailed(NPC, Spawn)
math.randomseed(os.time())
voice = math.random(1,3)
PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1039.mp3", "", "", 0, 0, Spawn)
end
function respawn(NPC)
spawn(NPC)
end
function hairstyle(NPC)
math.randomseed(os.time())
choice = math.random(1133,1140)
SpawnSet(NPC, "hair_type", choice)
end