mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
powder that makes you say yes
This commit is contained in:
@@ -30,12 +30,6 @@
|
|||||||
else
|
else
|
||||||
CRASH("Invalid can_atmos_pass = [can_atmos_pass] on [src] ([type])")
|
CRASH("Invalid can_atmos_pass = [can_atmos_pass] on [src] ([type])")
|
||||||
|
|
||||||
/turf/CanPass(atom/movable/mover, turf/target)
|
|
||||||
if(!target) return FALSE
|
|
||||||
|
|
||||||
if(istype(mover)) // turf/Enter(...) will perform more advanced checks
|
|
||||||
return !density
|
|
||||||
|
|
||||||
/turf/CanZASPass(turf/T, is_zone)
|
/turf/CanZASPass(turf/T, is_zone)
|
||||||
if(T.blocks_air || src.blocks_air)
|
if(T.blocks_air || src.blocks_air)
|
||||||
return FALSE
|
return FALSE
|
||||||
|
|||||||
Reference in New Issue
Block a user