mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
21 lines
580 B
Plaintext
21 lines
580 B
Plaintext
// Invisible object that blocks z transfer to/from its turf and the turf above.
|
|
/obj/effect/ceiling
|
|
invisibility = INVISIBILITY_ABSTRACT // 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
|