mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 21:40:55 +01:00
One-way Airlocks (#10353)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user