Emergency shutter assemblies are now permanently dense.

This commit is contained in:
PsiOmega
2015-01-21 08:49:34 +01:00
parent c58b2860d4
commit 5637fb0f11
@@ -5,7 +5,7 @@ obj/structure/firedoor_assembly
icon_state = "door_construction"
anchored = 0
opacity = 0
density = 0
density = 1
var/wired = 0
obj/structure/firedoor_assembly/update_icon()
@@ -35,7 +35,7 @@ obj/structure/firedoor_assembly/attackby(C as obj, mob/user as mob)
user << "<span class='notice'>You cut the wires!</span>"
new/obj/item/stack/cable_coil(src.loc, 1)
wired = 0
else if(istype(C, /obj/item/weapon/airalarm_electronics) && wired)
if(anchored)
playsound(src.loc, 'sound/items/Deconstruct.ogg', 50, 1)
@@ -48,7 +48,6 @@ obj/structure/firedoor_assembly/attackby(C as obj, mob/user as mob)
user << "<span class='warning'>You must secure \the [src] first!</span>"
else if(istype(C, /obj/item/weapon/wrench))
anchored = !anchored
density = !density
playsound(src.loc, 'sound/items/Ratchet.ogg', 50, 1)
user.visible_message("<span class='warning'>[user] has [anchored ? "" : "un" ]secured \the [src]!</span>",
"You have [anchored ? "" : "un" ]secured \the [src]!")