mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
25 lines
743 B
Lua
Executable file
25 lines
743 B
Lua
Executable file
--[[
|
|
Script Name : ZoneScripts/Graystone.lua
|
|
Script Author : Dorbin
|
|
Script Date : 2022.03.06 02:03:17
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
|
|
function init_zone_script(Zone)
|
|
SetLocationProximityFunction(Zone, 896.36, -19.95, -113.86, 10, "TheStoneofKaladim")
|
|
end
|
|
|
|
function player_entry(Zone, Player)
|
|
SendPopUpMessage(Player, "Graystone Yard", 255, 255, 255)
|
|
if GetBoundZoneID(Player) == nil then
|
|
if GetRace(Player) == 0 or GetRace(Player) == 2 then
|
|
Bind(Player, GetX(Player),GetY(Player),GetZ(Player),GetHeading(Player))
|
|
else end
|
|
end
|
|
end
|
|
|
|
function TheStoneofKaladim(Zone,Player)
|
|
SendPopUpMessage(Player, "The Stone of Kaladim", 255, 255, 0)
|
|
end
|
|
|