From 58199973b24433e36daaecd2addec6ab49c72271 Mon Sep 17 00:00:00 2001 From: Phantastic-Swan Date: Sun, 29 Jun 2025 10:53:27 +0200 Subject: [PATCH] fixes naming of some engineering APC's as well as the SM APC's going down during a grid check --- _maps/map_files/Snaxi/Snaxi.dmm | 8 +++++--- code/__HELPERS/areas.dm | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/_maps/map_files/Snaxi/Snaxi.dmm b/_maps/map_files/Snaxi/Snaxi.dmm index 2d1e34412c..be539e9e52 100644 --- a/_maps/map_files/Snaxi/Snaxi.dmm +++ b/_maps/map_files/Snaxi/Snaxi.dmm @@ -19186,7 +19186,8 @@ /obj/item/stack/sheet/metal/fifty, /obj/item/stack/sheet/metal/fifty, /obj/machinery/power/apc/highcap/ten_k{ - pixel_y = -24 + pixel_y = -24; + auto_name = 1 }, /obj/structure/cable, /obj/effect/turf_decal/tile/yellow{ @@ -30369,7 +30370,8 @@ }, /obj/machinery/power/apc/highcap/fifteen_k{ pixel_x = -24; - dir = 8 + dir = 8; + auto_name = 1 }, /obj/structure/cable{ icon_state = "0-2" @@ -44905,7 +44907,7 @@ "tsp" = ( /obj/machinery/power/apc{ dir = 1; - name = "Engineering Foyer APC"; + name = "Engineering Break Room APC"; pixel_y = 24 }, /obj/structure/cable{ diff --git a/code/__HELPERS/areas.dm b/code/__HELPERS/areas.dm index 7a811312fa..862fc8cab7 100644 --- a/code/__HELPERS/areas.dm +++ b/code/__HELPERS/areas.dm @@ -1,9 +1,11 @@ #define BP_MAX_ROOM_SIZE 300 -GLOBAL_LIST_INIT(typecache_powerfailure_safe_areas, typecacheof(/area/engineering/main, \ +//GS13 EDIT - makes it a list so that it'd actually protect all those areas from outages +GLOBAL_LIST_INIT(typecache_powerfailure_safe_areas, typecacheof(list(/area/engineering/main, \ /area/engineering/supermatter, \ /area/engineering/atmospherics_engine, \ - /area/ai_monitored/turret_protected/ai)) + /area/ai_monitored/turret_protected/ai))) +// GS13 END EDIT //Repopulates sortedAreas list /proc/repopulate_sorted_areas()