Tether passage blockades

This commit is contained in:
Casey
2022-02-13 01:40:47 -05:00
committed by CHOMPStation2
parent 6e61d195c0
commit 22d7e1b856
5 changed files with 14 additions and 1 deletions
@@ -86,6 +86,8 @@
if(!T) continue
var/obj/structure/ladder_assembly/LA = locate(/obj/structure/ladder_assembly, T)
if(!LA) continue
if(direction == DOWN && (src.z in using_map.below_blocked_levels)) continue
if(direction == UP && (LA.z in using_map.below_blocked_levels)) continue
if(LA.state != CONSTRUCTION_WELDED)
to_chat(user, "<span class='warning'>\The [LA] [direction == UP ? "above" : "below"] must be secured and welded.</span>")
return