From 60764d014fe50e636ceb20cdf54ec65b2fa35594 Mon Sep 17 00:00:00 2001 From: Datraen Date: Mon, 30 Nov 2015 17:14:29 -0500 Subject: [PATCH 1/2] Makes fake-walls not air tight once opened. Fake walls continue to not be air tight after being closed. --- code/game/turfs/simulated/wall_attacks.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/game/turfs/simulated/wall_attacks.dm b/code/game/turfs/simulated/wall_attacks.dm index cd3397858b..50f4ecf504 100644 --- a/code/game/turfs/simulated/wall_attacks.dm +++ b/code/game/turfs/simulated/wall_attacks.dm @@ -11,6 +11,9 @@ density = 0 update_icon() set_light(0) + src.blocks_air = 0 + for(var/turf/simulated/turf in loc) + air_master.mark_for_update(turf) else can_open = WALL_OPENING //flick("[material.icon_base]fwall_closing", src) @@ -18,6 +21,9 @@ update_icon() sleep(15) set_light(1) + src.blocks_air = 1 + for(var/turf/simulated/turf in loc) + air_master.mark_for_update(turf) can_open = WALL_CAN_OPEN update_icon() @@ -313,3 +319,4 @@ else if(!istype(W,/obj/item/weapon/rcd) && !istype(W, /obj/item/weapon/reagent_containers)) return attack_hand(user) + From 716401fffca553e2336b5661c3571c56907ee329 Mon Sep 17 00:00:00 2001 From: Datraen Date: Mon, 30 Nov 2015 17:41:15 -0500 Subject: [PATCH 2/2] Allows people to see through fake walls when opened, removes that when closed. --- code/game/turfs/simulated/wall_attacks.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/turfs/simulated/wall_attacks.dm b/code/game/turfs/simulated/wall_attacks.dm index 50f4ecf504..2e82174e53 100644 --- a/code/game/turfs/simulated/wall_attacks.dm +++ b/code/game/turfs/simulated/wall_attacks.dm @@ -12,6 +12,7 @@ update_icon() set_light(0) src.blocks_air = 0 + src.opacity = 0 for(var/turf/simulated/turf in loc) air_master.mark_for_update(turf) else @@ -22,6 +23,7 @@ sleep(15) set_light(1) src.blocks_air = 1 + src.opacity = 1 for(var/turf/simulated/turf in loc) air_master.mark_for_update(turf)