function event_spawn(e) local ex = e.self:GetX(); local ey = e.self:GetY(); local ez = e.self:GetZ(); eq.set_proximity(ex - 30, ex + 30, ey - 30, ey + 30, ez - 30, ez + 30); end function event_enter(e) e.self:Emote("tunnel seems to lead deeper into the pyramid."); eq.depop_with_timer(); end