mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
28 lines
No EOL
909 B
Lua
Executable file
28 lines
No EOL
909 B
Lua
Executable file
--[[
|
|
Script Name : ZoneScripts/Starcrest.lua
|
|
Script Author : Dorbin
|
|
Script Date : 2022.06.30 03:06:27
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
|
|
function init_zone_script(Zone)
|
|
SetLocationProximityFunction(Zone, 771.06, -18.49, 281.01, 15, "DeepReflection","LeaveLocation")
|
|
end
|
|
|
|
function player_entry(Zone, Player)
|
|
SendPopUpMessage(Player, "Starcrest Commune", 230, 230, 230)
|
|
if GetBoundZoneID(Player) == nil then
|
|
if GetRace(Player) == 3 or GetRace(Player) == 10 then
|
|
Bind(Player, GetX(Player),GetY(Player),GetZ(Player),GetHeading(Player))
|
|
else end
|
|
end
|
|
end
|
|
|
|
function DeepReflection(Zone,Player)
|
|
SendPopUpMessage(Player, "The Fountain of Deep Reflection", 255, 255, 0)
|
|
end
|
|
|
|
function enter_location(zone, spawn, grid)
|
|
SetLocationProximityFunction(Zone, 771.06, -18.49, 281.01, 10, "DeepReflection","LeaveLocation")
|
|
end |