mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 15:39:57 +01:00
Operating Tables Refactor (#18340)
* sadf * sdf * adeste fideles * sadf
This commit is contained in:
@@ -14,11 +14,3 @@ GLOBAL_DATUM_INIT(entered_event, /singleton/observ/entered, new)
|
||||
/singleton/observ/entered
|
||||
name = "Entered"
|
||||
expected_type = /atom
|
||||
|
||||
/*******************
|
||||
* Entered Handling *
|
||||
*******************/
|
||||
|
||||
/atom/Entered(atom/movable/enterer, atom/old_loc)
|
||||
..()
|
||||
GLOB.entered_event.raise_event(src, enterer, old_loc)
|
||||
|
||||
@@ -14,11 +14,3 @@ GLOBAL_DATUM_INIT(exited_event, /singleton/observ/exited, new)
|
||||
/singleton/observ/exited
|
||||
name = "Exited"
|
||||
expected_type = /atom
|
||||
|
||||
/******************
|
||||
* Exited Handling *
|
||||
******************/
|
||||
|
||||
/atom/Exited(atom/movable/exitee, atom/new_loc)
|
||||
. = ..()
|
||||
GLOB.exited_event.raise_event(src, exitee, new_loc)
|
||||
|
||||
@@ -44,10 +44,6 @@ GLOBAL_DATUM_INIT(moved_event, /singleton/observ/moved, new)
|
||||
/atom/movable/proc/recursive_move(var/atom/movable/am, var/old_loc, var/new_loc)
|
||||
GLOB.moved_event.raise_event(src, old_loc, new_loc)
|
||||
|
||||
/atom/Entered(var/atom/movable/am, atom/old_loc)
|
||||
..()
|
||||
GLOB.moved_event.raise_event(am, old_loc, am.loc)
|
||||
|
||||
/atom/movable/Entered(var/atom/movable/am, atom/old_loc)
|
||||
..()
|
||||
if(GLOB.moved_event.has_listeners(am) && !GLOB.moved_event.is_listening(src, am))
|
||||
|
||||
Reference in New Issue
Block a user