From 7fbd02344032f8bc018a55c192e36ad8cbc664fc Mon Sep 17 00:00:00 2001 From: Heroman Date: Thu, 19 Sep 2019 12:38:33 +1000 Subject: [PATCH] Applies requested changes --- code/game/objects/structures/plasticflaps.dm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/game/objects/structures/plasticflaps.dm b/code/game/objects/structures/plasticflaps.dm index e386f81c7e..d655581c92 100644 --- a/code/game/objects/structures/plasticflaps.dm +++ b/code/game/objects/structures/plasticflaps.dm @@ -8,6 +8,7 @@ layer = MOB_LAYER plane = MOB_PLANE explosion_resistance = 5 + var/can_pass_lying = TRUE var/list/mobs_can_pass = list( /mob/living/bot, /mob/living/simple_mob/slime/xenobio, @@ -41,7 +42,7 @@ var/mob/living/M = A if(istype(M)) - if(M.lying) + if(M.lying && can_pass_lying) return ..() for(var/mob_type in mobs_can_pass) if(istype(A, mob_type)) @@ -63,5 +64,6 @@ /obj/structure/plasticflaps/mining //A specific type for mining that doesn't allow airflow because of them damn crates name = "airtight plastic flaps" - desc = "Heavy duty, airtight, plastic flaps." - can_atmos_pass = ATMOS_PASS_NO \ No newline at end of file + desc = "Heavy duty, airtight, plastic flaps. Have extra safety installed, preventing passage of living beings." + can_atmos_pass = ATMOS_PASS_NO + can_pass_lying = FALSE \ No newline at end of file