From d52e966c5619a5a52e11e9da3256c6763a58d44d Mon Sep 17 00:00:00 2001 From: Geeves Date: Thu, 5 Aug 2021 18:09:01 +0200 Subject: [PATCH] Roundstart SMES (#12230) --- code/modules/power/smes_construction.dm | 21 +++++++++++++++++++++ html/changelogs/geeves-roundstart_smes.yml | 6 ++++++ maps/aurora/aurora-4_mainlevel.dmm | 12 +++--------- 3 files changed, 30 insertions(+), 9 deletions(-) create mode 100644 html/changelogs/geeves-roundstart_smes.yml diff --git a/code/modules/power/smes_construction.dm b/code/modules/power/smes_construction.dm index 1aab5b11652..c4ba4aba64f 100644 --- a/code/modules/power/smes_construction.dm +++ b/code/modules/power/smes_construction.dm @@ -62,6 +62,27 @@ component_parts += new /obj/item/smes_coil/super_io(src) component_parts += new /obj/item/smes_coil(src) +/obj/machinery/power/smes/buildable/main_engine + cur_coils = 0 + input_attempt = TRUE + output_attempt = TRUE + output_level = 1300000 // calibrated to the NSS Aurora map + +/obj/machinery/power/smes/buildable/main_engine/Initialize() + . = ..() + component_parts += new /obj/item/smes_coil/super_capacity(src) + component_parts += new /obj/item/smes_coil/super_capacity(src) + component_parts += new /obj/item/smes_coil/super_capacity(src) + component_parts += new /obj/item/smes_coil/super_capacity(src) + component_parts += new /obj/item/smes_coil/super_io(src) + component_parts += new /obj/item/smes_coil/super_io(src) + +/obj/machinery/power/smes/buildable/main_engine/LateInitialize() + cur_coils = 6 + . = ..() + charge = capacity + input_level = input_level_max + // END SMES SUBTYPES // SMES itself diff --git a/html/changelogs/geeves-roundstart_smes.yml b/html/changelogs/geeves-roundstart_smes.yml new file mode 100644 index 00000000000..def4ff87723 --- /dev/null +++ b/html/changelogs/geeves-roundstart_smes.yml @@ -0,0 +1,6 @@ +author: Geeves + +delete-after: True + +changes: + - rscadd: "The supermatter grid SMES now starts with four capacitance coils and two transmission coils, as well as full charge, max input, and 1.3 MW output." \ No newline at end of file diff --git a/maps/aurora/aurora-4_mainlevel.dmm b/maps/aurora/aurora-4_mainlevel.dmm index a6eafb3afaa..d6de4077047 100644 --- a/maps/aurora/aurora-4_mainlevel.dmm +++ b/maps/aurora/aurora-4_mainlevel.dmm @@ -7391,15 +7391,6 @@ /obj/machinery/alarm{ pixel_y = 28 }, -/obj/machinery/power/smes/buildable{ - RCon_tag = "Supermatter - Grid"; - charge = 1e+007; - cur_coils = 4; - input_attempt = 1; - input_level = 500000; - output_attempt = 1; - output_level = 500000 - }, /obj/structure/cable{ d2 = 4; icon_state = "0-4" @@ -7409,6 +7400,9 @@ icon_state = "0-8" }, /obj/effect/landmark/engine_setup/smes, +/obj/machinery/power/smes/buildable/main_engine{ + RCon_tag = "Supermatter - Grid" + }, /turf/simulated/floor/tiled, /area/engineering/engine_smes) "aoE" = (