Movement update v2 (#20548)

Refactored (second passage) how movement works, now it's mostly in line
with TG handling and avoids calling 3 gazillion Cross() Uncross() etc.
on every atom in a turf.
Fixed EMP protection from species not actually protecting (this includes
the surge prevention for IPCs).
Fixed EMP 3D calculation runtiming because I forgot to make the value
absolute and it was doing the square root of a negative number.
It's now possible to queue the round to start with the Start Round verb
even while the system is initializing, for an even faster pain train to
enter the round and test things.
This commit is contained in:
Fluffy
2025-03-22 11:38:05 +00:00
committed by GitHub
parent 08b82baea4
commit 86f8d6fd4f
61 changed files with 419 additions and 218 deletions
+1 -2
View File
@@ -106,10 +106,9 @@
/obj/item/device/assembly/infra/Move()
var/t = dir
..()
. = ..()
set_dir(t)
QDEL_NULL(first)
return
/obj/item/device/assembly/infra/holder_movement()
if(!holder)
+1 -1
View File
@@ -97,7 +97,7 @@
grenade.primed(scanning)
/obj/item/device/assembly/prox_sensor/Move()
..()
. = ..()
sense()
/obj/item/device/assembly/prox_sensor/interact(mob/user)