From 414e42093c478d58ecfbdfd2f64f0378dc51ea11 Mon Sep 17 00:00:00 2001 From: Putnam Date: Wed, 3 Mar 2021 17:37:00 -0800 Subject: [PATCH 1/2] Reaction rebalancing --- code/modules/atmospherics/gasmixtures/reactions.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/atmospherics/gasmixtures/reactions.dm b/code/modules/atmospherics/gasmixtures/reactions.dm index 743931fbdd..9f93d84e9e 100644 --- a/code/modules/atmospherics/gasmixtures/reactions.dm +++ b/code/modules/atmospherics/gasmixtures/reactions.dm @@ -358,7 +358,7 @@ /datum/gas/oxygen = 20, /datum/gas/nitrogen = 20, /datum/gas/nitrous_oxide = 5, - "TEMP" = FIRE_MINIMUM_TEMPERATURE_TO_EXIST*400 + "TEMP" = FIRE_MINIMUM_TEMPERATURE_TO_EXIST*25 ) /datum/gas_reaction/nitrylformation/react(datum/gas_mixture/air) @@ -499,7 +499,7 @@ min_requirements = list( /datum/gas/nitrogen = 10, /datum/gas/tritium = 5, - "TEMP" = 5000000) + "ENER" = NOBLIUM_FORMATION_ENERGY) /datum/gas_reaction/nobliumformation/react(datum/gas_mixture/air) var/old_heat_capacity = air.heat_capacity() From 5b771d57ed2f4340bced7892afb685cf31d27dff Mon Sep 17 00:00:00 2001 From: Putnam Date: Wed, 3 Mar 2021 17:43:18 -0800 Subject: [PATCH 2/2] also makes nitryl not generate oxygen/nitrogen --- code/modules/atmospherics/gasmixtures/reactions.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/atmospherics/gasmixtures/reactions.dm b/code/modules/atmospherics/gasmixtures/reactions.dm index 9f93d84e9e..5f425d87ff 100644 --- a/code/modules/atmospherics/gasmixtures/reactions.dm +++ b/code/modules/atmospherics/gasmixtures/reactions.dm @@ -369,8 +369,8 @@ var/energy_used = heat_efficency*NITRYL_FORMATION_ENERGY if ((air.get_moles(/datum/gas/oxygen) - heat_efficency < 0 )|| (air.get_moles(/datum/gas/nitrogen) - heat_efficency < 0)) //Shouldn't produce gas from nothing. return NO_REACTION - air.adjust_moles(/datum/gas/oxygen, heat_efficency) - air.adjust_moles(/datum/gas/nitrogen, heat_efficency) + air.adjust_moles(/datum/gas/oxygen, -heat_efficency) + air.adjust_moles(/datum/gas/nitrogen, -heat_efficency) air.adjust_moles(/datum/gas/nitryl, heat_efficency*2) if(energy_used > 0)