mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 19:47:47 +01:00
Power Outage Buffs (#18457)
* Power Outage Buffs Added emergency door releases to autoresleever rooms. Changed autoresleevers to still work without power. Added short range radios (off by default) to emergency supply boxes. Changed APCs to allow the cover to be opened by anyone beneath 15% charge. * Update stellar_delight3.dmm Gives APCs on the SD comms rooms more charge. Seems tether already has these. * Update stellar_delight3.dmm
This commit is contained in:
@@ -492,7 +492,10 @@ GLOBAL_LIST_EMPTY(apcs)
|
||||
opened = 0
|
||||
update_icon()
|
||||
else if(W.has_tool_quality(TOOL_CROWBAR) && !(stat & BROKEN) )
|
||||
if(coverlocked && !(stat & MAINT))
|
||||
var/remaining_power = 0
|
||||
if(cell)
|
||||
remaining_power = cell.percent()
|
||||
if(coverlocked && !(stat & MAINT) && remaining_power > 15) // Cab be popped open by anyone at low power to change battery
|
||||
to_chat(user, span_warning("The cover is locked and cannot be opened."))
|
||||
return
|
||||
else
|
||||
|
||||
@@ -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