diff --git a/_maps/map_files/tramstation/tramstation.dmm b/_maps/map_files/tramstation/tramstation.dmm index 8aab047a7de..01bb89068cd 100644 --- a/_maps/map_files/tramstation/tramstation.dmm +++ b/_maps/map_files/tramstation/tramstation.dmm @@ -11853,7 +11853,8 @@ dir = 4 }, /obj/machinery/door/airlock/security/glass{ - name = "Isolation Cell C" + name = "Isolation Cell C"; + id = "Isolation_C" }, /obj/effect/mapping_helpers/airlock/access/all/security/brig, /obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2, @@ -22002,7 +22003,8 @@ dir = 8 }, /obj/machinery/door/airlock/security/glass{ - name = "Isolation Cell B" + name = "Isolation Cell B"; + id = "Isolation_B" }, /obj/effect/mapping_helpers/airlock/access/all/security/brig, /obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2, @@ -26835,7 +26837,8 @@ dir = 8 }, /obj/machinery/door/airlock/security/glass{ - name = "Isolation Cell D" + name = "Isolation Cell D"; + id = "Isolation_D" }, /obj/effect/mapping_helpers/airlock/access/all/security/brig, /obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2, @@ -58742,12 +58745,13 @@ /obj/effect/turf_decal/trimline/red/filled/line{ dir = 4 }, -/obj/machinery/door/airlock/security/glass{ - name = "Isolation Cell A" - }, /obj/effect/mapping_helpers/airlock/access/all/security/brig, /obj/machinery/atmospherics/pipe/smart/manifold4w/scrubbers/hidden/layer2, /obj/machinery/atmospherics/pipe/smart/manifold4w/supply/hidden/layer4, +/obj/machinery/door/airlock/security/glass{ + name = "Isolation Cell A"; + id = "Isolation_A" + }, /turf/open/floor/iron, /area/station/security/execution/transfer) "tJR" = ( @@ -69026,7 +69030,9 @@ /area/station/commons/fitness/recreation) "xog" = ( /obj/machinery/door/airlock/security/glass{ - name = "Isolation Wing" + name = "Isolation Wing"; + unres_sensor = 1; + unres_sides = 8 }, /obj/machinery/door/firedoor, /obj/effect/turf_decal/trimline/red/filled/line, diff --git a/code/game/machinery/doors/airlock.dm b/code/game/machinery/doors/airlock.dm index 11af13222cd..9878ea869d8 100644 --- a/code/game/machinery/doors/airlock.dm +++ b/code/game/machinery/doors/airlock.dm @@ -1819,6 +1819,7 @@ /obj/machinery/door/airlock/security name = "security airlock" icon = 'icons/obj/doors/airlocks/station/security.dmi' + var/id = null assemblytype = /obj/structure/door_assembly/door_assembly_sec normal_integrity = 450 diff --git a/code/game/machinery/doors/brigdoors.dm b/code/game/machinery/doors/brigdoors.dm index 2dfff746d37..e17d9f22c91 100644 --- a/code/game/machinery/doors/brigdoors.dm +++ b/code/game/machinery/doors/brigdoors.dm @@ -47,6 +47,10 @@ if (M.id == id) doors += WEAKREF(M) + for(var/obj/machinery/door/airlock/security/M in urange(20, src)) + if (M.id == id) + doors += WEAKREF(M) + for(var/obj/machinery/flasher/F in urange(20, src)) if(F.id == id) flashers += WEAKREF(F)