Merge pull request #6404 from Heroman3003/flappening

Makes airtight plastic flaps unmakeable
This commit is contained in:
Atermonera
2019-09-22 15:51:55 -08:00
committed by VirgoBot
parent 9f4a6e0d13
commit 7b126e37b7
2 changed files with 3 additions and 4 deletions
+3 -3
View File
@@ -8,7 +8,7 @@
layer = MOB_LAYER
plane = MOB_PLANE
explosion_resistance = 5
var/can_pass_lying = 1
var/can_pass_lying = TRUE
var/list/mobs_can_pass = list(
/mob/living/bot,
/mob/living/simple_mob/slime/xenobio,
@@ -37,7 +37,7 @@
if (istype(A, /obj/structure/bed) && B.has_buckled_mobs())//if it's a bed/chair and someone is buckled, it will not pass
return 0
if(istype(A, /obj/vehicle)) //no vehicles
if(istype(A, /obj/vehicle) || istype (A, /obj/mecha)) //no vehicles
return 0
var/mob/living/M = A
@@ -66,4 +66,4 @@
name = "airtight plastic flaps"
desc = "Heavy duty, airtight, plastic flaps. Have extra safety installed, preventing passage of living beings."
can_atmos_pass = ATMOS_PASS_NO
can_pass_lying = 0
can_pass_lying = FALSE