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

26 lines
No EOL
564 B
Lua
Executable file

--[[
Script Name : SpawnScripts/Commonlands/zonetofallengate01.lua
Script Author : Premierio015
Script Date : 2021.07.20 09:07:38
Script Purpose :
:
--]]
local KeyToFallenGate = 5252
function spawn(NPC)
end
function can_use_command(NPC, Spawn, Command)
if HasCompletedQuest(Spawn, KeyToFallenGate) then
return true
elseif not HasCompletedQuest(Spawn, KeyToFallenGate) then
SendMessage(Spawn, "This gates are closed", 20)
return false
end
end
function respawn(NPC)
spawn(NPC)
end