Rewrites Atmospherics

This commit is contained in:
Anewbe
2019-03-28 19:25:11 -04:00
committed by Novacat
parent 6d4ea26332
commit 8ed384b38c
49 changed files with 633 additions and 640 deletions
+4 -7
View File
@@ -34,15 +34,12 @@
for(var/obj/structure/railing/R in orange(location, 1))
R.update_icon()
/obj/structure/railing/CanPass(atom/movable/mover, turf/target, height=0, air_group=0)
if(!mover)
return 1
/obj/structure/railing/CanPass(atom/movable/mover, turf/target)
if(istype(mover) && mover.checkpass(PASSTABLE))
return 1
if(get_dir(loc, target) == dir)
return TRUE
if(get_dir(mover, target) == turn(dir, 180))
return !density
else
return 1
return TRUE
/obj/structure/railing/examine(mob/user)
. = ..()