mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
26 lines
No EOL
564 B
Lua
Executable file
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 |