From 6520ce469ccddef21a290f0745980014be6c4973 Mon Sep 17 00:00:00 2001 From: DGamerL <108773801+DGamerL@users.noreply.github.com> Date: Thu, 14 Nov 2024 15:00:41 +0100 Subject: [PATCH] Removes /structures/ (#27339) * Removes /structures/ * Add updatepath --- _maps/map_files/stations/emeraldstation.dmm | 2 +- code/game/objects/structures/plasma_geyser.dm | 10 +++++----- tools/UpdatePaths/Scripts/27339_structures.txt | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 tools/UpdatePaths/Scripts/27339_structures.txt diff --git a/_maps/map_files/stations/emeraldstation.dmm b/_maps/map_files/stations/emeraldstation.dmm index bc9a4b323c6..5a0569464d9 100644 --- a/_maps/map_files/stations/emeraldstation.dmm +++ b/_maps/map_files/stations/emeraldstation.dmm @@ -22210,7 +22210,7 @@ /turf/simulated/floor/carpet, /area/station/command/office/cmo) "ekg" = ( -/obj/structures/plasmageyser, +/obj/structure/plasmageyser, /turf/simulated/floor/lava/plasma/fuming, /area/station/engineering/atmos/asteroid_core) "eki" = ( diff --git a/code/game/objects/structures/plasma_geyser.dm b/code/game/objects/structures/plasma_geyser.dm index 381d4cc3306..9642cb38def 100644 --- a/code/game/objects/structures/plasma_geyser.dm +++ b/code/game/objects/structures/plasma_geyser.dm @@ -1,5 +1,5 @@ -/obj/structures/plasmageyser +/obj/structure/plasmageyser name = "Plasma Geyser" desc = "A mound of basalt rock, erupting with bubbling molten plasma. It constantly emits toxic fumes." anchored = TRUE @@ -8,22 +8,22 @@ resistance_flags = LAVA_PROOF | FIRE_PROOF armor = list(MELEE = 30, BULLET = 80, LASER = 90, ENERGY = 90, BOMB = 80, RAD = 100, FIRE = 100, ACID = 100) -/obj/structures/plasmageyser/Initialize(mapload) +/obj/structure/plasmageyser/Initialize(mapload) . = ..() START_PROCESSING(SSprocessing, src) // for sanity checks -/obj/structures/plasmageyser/Destroy() +/obj/structure/plasmageyser/Destroy() STOP_PROCESSING(SSprocessing, src) return ..() -/obj/structures/plasmageyser/process() +/obj/structure/plasmageyser/process() var/datum/milla_safe/plasmageyser/milla = new() milla.invoke_async(src) /datum/milla_safe/plasmageyser -/datum/milla_safe/plasmageyser/on_run(obj/structures/plasmageyser/geyser) +/datum/milla_safe/plasmageyser/on_run(obj/structure/plasmageyser/geyser) var/max_pressure = ONE_ATMOSPHERE * 3 var/toxins_modifier = 100 var/co2_modifier = 12 diff --git a/tools/UpdatePaths/Scripts/27339_structures.txt b/tools/UpdatePaths/Scripts/27339_structures.txt new file mode 100644 index 00000000000..a09d383762f --- /dev/null +++ b/tools/UpdatePaths/Scripts/27339_structures.txt @@ -0,0 +1 @@ +/obj/structures/@SUBTYPES : /obj/structure/@SUBTYPES{@OLD}