floor cluwne doesn't exist, floor cluwne cannot-

This commit is contained in:
Dip
2020-09-23 05:22:26 -03:00
parent ebb5e5b1c4
commit 5069f957d7
22 changed files with 497 additions and 3 deletions
+5
View File
@@ -493,3 +493,8 @@ Class Procs:
. = . % 9
AM.pixel_x = -8 + ((.%3)*8)
AM.pixel_y = -8 + (round( . / 3)*8)
/obj/machinery/CanPass(atom/movable/mover, turf/target)
. = ..()
if(istype(mover) && (mover.pass_flags & PASSMACHINES))
return TRUE
+2
View File
@@ -121,6 +121,8 @@
/obj/machinery/door/CanPass(atom/movable/mover, turf/target)
if(istype(mover) && (mover.pass_flags & PASSGLASS))
return !opacity
if(istype(mover) && (mover.pass_flags & PASSDOOR))
return !opacity
return !density
/obj/machinery/door/proc/bumpopen(mob/user)