mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-04 14:33:10 +00:00
Sensible airlock deconstruction. (#9974)
This commit is contained in:
@@ -1150,8 +1150,8 @@ About the new airlock wires panel:
|
||||
..()
|
||||
return
|
||||
if(p_open && !operating && welded)
|
||||
if(!locked && bolt_cut_state != BOLTS_CUT)
|
||||
to_chat(user, SPAN_WARNING("The airlock bolts are in the way of the electronics, you need to drop them before you can reach them."))
|
||||
if(locked)
|
||||
to_chat(user, SPAN_WARNING("The airlock bolts are in the way of the electronics, you need to raise them before you can reach them."))
|
||||
return
|
||||
playsound(src.loc, C.usesound, 100, 1)
|
||||
user.visible_message("<b>[user]</b> starts removing the electronics from the airlock assembly.", SPAN_NOTICE("You start removing the electronics from the airlock assembly."))
|
||||
@@ -1547,6 +1547,10 @@ About the new airlock wires panel:
|
||||
if(p_open)
|
||||
to_chat(user, "\The [src]'s maintenance panel has been unscrewed and is hanging open.")
|
||||
|
||||
/obj/machinery/door/airlock/emag_act(var/remaining_charges)
|
||||
. = ..()
|
||||
lock(1)
|
||||
|
||||
#undef AIRLOCK_CRUSH_DIVISOR
|
||||
#undef CYBORG_AIRLOCKCRUSH_RESISTANCE
|
||||
#undef BOLTS_FINE
|
||||
|
||||
7
html/changelogs/FirinMaLazors-sensibleairlockdecon.yml
Normal file
7
html/changelogs/FirinMaLazors-sensibleairlockdecon.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
author: FirinMaLazors
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- rscadd: "Fixes airlock deconstruction to only needs the bolts to be cut if the bolts are down and the door is broken."
|
||||
- rscadd: "Re-adds the emag bolting doors open and breaking them, instead of just opening them and breaking them. Can't be stopping security because you have a crowbar and they don't, now."
|
||||
Reference in New Issue
Block a user