[MIRROR] Power Outage Buffs (#11627)

Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-09-11 19:09:06 -07:00
committed by GitHub
parent 42dfd30756
commit 71ce1e1323
9 changed files with 60 additions and 8 deletions

View File

@@ -15,7 +15,7 @@
/obj/machinery/transhuman/autoresleever/update_icon()
. = ..()
if(stat)
if(stat & (BROKEN | MAINT | EMPED))
icon_state = "autoresleever-o"
else
icon_state = "autoresleever"
@@ -58,7 +58,7 @@
return
/obj/machinery/transhuman/autoresleever/proc/autoresleeve(var/mob/observer/dead/ghost)
if(stat)
if(stat & (BROKEN | MAINT | EMPED)) // Let it still work when power is just off, it has it's own backup reserve or something.
to_chat(ghost, span_warning("This machine is not functioning..."))
return
if(!isobserver(ghost))