mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Power Outage Buffs (#11627)
Co-authored-by: SatinIsle <98125273+SatinIsle@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
42dfd30756
commit
71ce1e1323
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user