Files
CHOMPStation2/code/modules/multiz/misc.dm
CHOMPStation2StaffMirrorBot 65f21fb1d3 [MIRROR] end of file Fix (#10355)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-03-11 17:58:14 +01:00

21 lines
562 B
Plaintext

// Invisible object that blocks z transfer to/from its turf and the turf above.
/obj/effect/ceiling
invisibility = 101 // nope cant see this
anchored = 1
can_atmos_pass = ATMOS_PASS_PROC
/obj/effect/ceiling/CanZASPass(turf/T, is_zone)
if(T == GetAbove(src))
return FALSE // Keep your air up there, buddy
return TRUE
/obj/effect/ceiling/CanPass(atom/movable/mover, turf/target)
if(target == GetAbove(src))
return FALSE
return TRUE
/obj/effect/ceiling/Uncross(atom/movable/mover, turf/target)
if(target == GetAbove(src))
return FALSE
return TRUE