From 5db3287ccbd6ce546eb0c5889381bb31fe85395f Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 10 Nov 2021 15:10:54 +0000 Subject: [PATCH] [MIRROR] Adds a hard limt to hfr fuel datums, moves antinob down to match it [MDB IGNORE] (#9358) * Adds a hard limt to hfr fuel datums, moves antinob down to match it (#62418) * Adds a hard limt to hfr fuel datums, moves antinob down to match it Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> --- .../machinery/components/fusion/hfr_fuel_datums.dm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/modules/atmospherics/machinery/components/fusion/hfr_fuel_datums.dm b/code/modules/atmospherics/machinery/components/fusion/hfr_fuel_datums.dm index 546e0168ae7..33eb2ab5838 100644 --- a/code/modules/atmospherics/machinery/components/fusion/hfr_fuel_datums.dm +++ b/code/modules/atmospherics/machinery/components/fusion/hfr_fuel_datums.dm @@ -26,7 +26,7 @@ GLOBAL_LIST_INIT(hfr_fuels_list, hfr_fuels_create_list()) var/fuel_consumption_multiplier = 1 ///Multiplier for the gas production (min 0.01) var/gas_production_multiplier = 1 - ///Max allowed temperature multiplier, don't go overboard with this (mix 0.5, max 0.3) + ///Max allowed temperature multiplier, scales the max temperature we can hit, see FUSION_MAXIMUM_TEMPERATURE (Maxed at 1, don't go getting any ideas) var/temperature_change_multiplier = 1 ///These are the main fuels, only 2 gases that are the ones being consumed by the fusion reaction (eg. H2 and trit) var/requirements = list() @@ -37,6 +37,10 @@ GLOBAL_LIST_INIT(hfr_fuels_list, hfr_fuels_create_list()) ///Flags to decide what behaviour the meltdown will have depending on the fuel mix used var/meltdown_flags = HYPERTORUS_FLAG_BASE_EXPLOSION +/datum/hfr_fuel/New() + . = ..() + temperature_change_multiplier = min(temperature_change_multiplier, 1) + /datum/hfr_fuel/plasma_oxy_fuel id = "plasma_o2_fuel" name = "Plasma + Oxygen fuel" @@ -129,7 +133,7 @@ GLOBAL_LIST_INIT(hfr_fuels_list, hfr_fuels_create_list()) energy_concentration_multiplier = 2 fuel_consumption_multiplier = 0.01 gas_production_multiplier = 3 - temperature_change_multiplier = 1.2 + temperature_change_multiplier = 1 requirements = list(/datum/gas/hypernoblium, /datum/gas/antinoblium) primary_products = list(/datum/gas/helium) secondary_products = list(/datum/gas/plasma, /datum/gas/oxygen, /datum/gas/nitrogen, /datum/gas/proto_nitrate, /datum/gas/stimulum, /datum/gas/miasma)