Operating Tables Refactor (#18340)

* sadf

* sdf

* adeste fideles

* sadf
This commit is contained in:
Fluffy
2024-02-08 12:08:09 +00:00
committed by GitHub
parent 2d2988429b
commit f481143eb4
15 changed files with 441 additions and 139 deletions
-8
View File
@@ -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)
-8
View File
@@ -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)
-4
View File
@@ -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))