Updates subsystem definitions to new standards. (#17470)

* My heart is dragging me down into...

...oblivion!

* drifting closer to the edge but she won't have me

* ever round me we are dead before we meet her

* for the last time

* wake up in sweat

* n

* fff

* uff

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
This commit is contained in:
Matt Atlas
2023-10-01 14:24:40 +00:00
committed by GitHub
co-authored by Matt Atlas
parent aff9d2a1f3
commit baeb7c6afd
127 changed files with 406 additions and 720 deletions
@@ -26,7 +26,7 @@
icon_state = pick(src.random_icon_states)
. = ..()
if (!mapload && ROUND_IS_STARTED)
SSfeedback.IncrementSimpleStat("messes_made")
SSstatistics.IncrementSimpleStat("messes_made")
var/turf/T = get_turf(src)
if(!T?.is_space())
@@ -36,7 +36,7 @@
cell = new celltype(src)
/obj/item/device/suit_cooling_unit/Destroy()
STOP_PROCESSING(SSmob, src)
STOP_PROCESSING(SSmobs, src)
QDEL_NULL(cell)
return ..()
@@ -111,7 +111,7 @@
return
on = TRUE
START_PROCESSING(SSmob, src)
START_PROCESSING(SSmobs, src)
update_icon()
/obj/item/device/suit_cooling_unit/proc/turn_off()
@@ -119,7 +119,7 @@
var/mob/M = src.loc
to_chat(M, SPAN_WARNING("\The [src] clicks and whines as it powers down."))
on = FALSE
STOP_PROCESSING(SSmob, src)
STOP_PROCESSING(SSmobs, src)
update_icon()
/obj/item/device/suit_cooling_unit/attack_self(mob/user)
+1 -1
View File
@@ -72,7 +72,7 @@
user.visible_message(SPAN_DANGER("[user] gives [GM.name] a swirlie!"), SPAN_NOTICE("You give [GM.name] a swirlie!"), "You hear a toilet flushing.")
if(!GM.internal)
GM.adjustOxyLoss(5)
SSfeedback.IncrementSimpleStat("swirlies")
SSstatistics.IncrementSimpleStat("swirlies")
swirlie = null
else
user.visible_message(SPAN_DANGER("[user] slams [GM.name] into the [src]!"), SPAN_NOTICE("You slam [GM.name] into the [src]!"))