mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-14 20:23:26 +00:00
You can't close emagged doors anymore, but you can still remove circuitry.
This commit is contained in:
@@ -1198,7 +1198,7 @@ About the new airlock wires panel:
|
|||||||
beingcrowbarred = 1 //derp, Agouri
|
beingcrowbarred = 1 //derp, Agouri
|
||||||
else
|
else
|
||||||
beingcrowbarred = 0
|
beingcrowbarred = 0
|
||||||
if( beingcrowbarred && (density && welded && operating != 1 && src.p_open && (!src.arePowerSystemsOn() || stat & NOPOWER) && !src.locked) )
|
if( beingcrowbarred && (operating == -1 || density && welded && operating != 1 && src.p_open && (!src.arePowerSystemsOn() || stat & NOPOWER) && !src.locked) )
|
||||||
playsound(src.loc, 'sound/items/Crowbar.ogg', 100, 1)
|
playsound(src.loc, 'sound/items/Crowbar.ogg', 100, 1)
|
||||||
user.visible_message("[user] removes the electronics from the airlock assembly.", "You start to remove electronics from the airlock assembly.")
|
user.visible_message("[user] removes the electronics from the airlock assembly.", "You start to remove electronics from the airlock assembly.")
|
||||||
if(do_after(user,40))
|
if(do_after(user,40))
|
||||||
@@ -1253,7 +1253,7 @@ About the new airlock wires panel:
|
|||||||
user << "\blue The airlock's motors resist your efforts to force it."
|
user << "\blue The airlock's motors resist your efforts to force it."
|
||||||
else if(locked)
|
else if(locked)
|
||||||
user << "\blue The airlock's bolts prevent it from being forced."
|
user << "\blue The airlock's bolts prevent it from being forced."
|
||||||
else if( !welded && operating != 1 )
|
else if( !welded && !operating )
|
||||||
if(density)
|
if(density)
|
||||||
if(beingcrowbarred == 0) //being fireaxe'd
|
if(beingcrowbarred == 0) //being fireaxe'd
|
||||||
var/obj/item/weapon/twohanded/fireaxe/F = C
|
var/obj/item/weapon/twohanded/fireaxe/F = C
|
||||||
|
|||||||
Reference in New Issue
Block a user