[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>
This commit is contained in:
SkyratBot
2021-11-10 10:10:54 -05:00
committed by GitHub
co-authored by LemonInTheDark
parent 17d53eeff3
commit 5db3287ccb
@@ -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)