mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
31 lines
No EOL
962 B
Lua
Executable file
31 lines
No EOL
962 B
Lua
Executable file
--[[
|
|
Script Name : SpawnScripts/Castleview/GilcirithElensar.lua
|
|
Script Purpose : Gilcirith Elensar
|
|
Script Author : Scatman
|
|
Script Date : 2009.10.03
|
|
Script Notes :
|
|
--]]
|
|
dofile("SpawnScripts/Generic/GenericVoiceOvers.lua")
|
|
dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
|
|
|
|
function spawn(NPC)
|
|
SetInfoStructString(NPC, "action_state", "ponder")
|
|
end
|
|
|
|
function respawn(NPC)
|
|
spawn(NPC)
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
FaceTarget(NPC, Spawn)
|
|
if GetFactionAmount(Spawn,11) <0 then
|
|
FactionChecking(NPC, Spawn, faction)
|
|
else
|
|
conversation = CreateConversation()
|
|
|
|
-- PlayFlavor(NPC, "voiceover/english/tutorial_revamp/gilcirith_elensar/qey_village04/newbie_path_froglok/gilcirithelensar004.mp3", "", "", 259212641, 3674286430) Doesn't Play.
|
|
GenericHail(NPC, Spawn)
|
|
AddConversationOption(conversation, "Thank you.")
|
|
StartConversation(conversation, NPC, Spawn, "Welcome, traveler.")
|
|
end
|
|
end |