One-way Airlocks (#10353)

This commit is contained in:
Geeves
2020-10-28 18:10:57 +01:00
committed by GitHub
parent 7cf095fcd6
commit 576fba37c1
10 changed files with 204 additions and 2 deletions
@@ -0,0 +1,13 @@
/obj/effect/map_effect/door_helper
layer = DOOR_CLOSED_LAYER + 0.1
/obj/effect/map_effect/door_helper/unres
icon_state = "unres_door"
/obj/effect/map_effect/door_helper/unres/Initialize(mapload, ...)
..()
for(var/obj/machinery/door/D in loc)
if(istype(D, /obj/machinery/door/blast) || istype(D, /obj/machinery/door/firedoor))
continue
D.unres_dir ^= dir
return INITIALIZE_HINT_QDEL