diff --git a/code/game/objects/effects/aliens.dm b/code/game/objects/effects/aliens.dm index 6d684e602fe..e070acb84b6 100644 --- a/code/game/objects/effects/aliens.dm +++ b/code/game/objects/effects/aliens.dm @@ -23,6 +23,26 @@ anchored = 1 var/health = 200 +/obj/structure/alien/resin/New(location) + ..() + air_update_turf(1) + return + +/obj/structure/alien/resin/Del() + density = 0 + air_update_turf(1) + ..() + return + +/obj/structure/alien/resin/Move() + air_update_turf(1) + ..() + air_update_turf(1) + return + +/obj/structure/alien/resin/CanAtmosPass() + return !density + /obj/structure/alien/resin/wall name = "resin wall" desc = "Purple slime solidified into a wall." @@ -416,4 +436,4 @@ spawn(rand(150, 200)) if(src) - tick() \ No newline at end of file + tick() diff --git a/code/game/objects/structures/mineral_doors.dm b/code/game/objects/structures/mineral_doors.dm index bc67e9582b9..303daca8a62 100644 --- a/code/game/objects/structures/mineral_doors.dm +++ b/code/game/objects/structures/mineral_doors.dm @@ -21,10 +21,13 @@ icon_state = mineralType name = "[mineralType] door" air_update_turf(1) + return Del() + density = 0 air_update_turf(1) ..() + return Move() air_update_turf(1)