From cec4dcce279b48ff66848947ac8ba767d8a7de77 Mon Sep 17 00:00:00 2001 From: esainane Date: Tue, 2 Feb 2021 09:54:15 +1300 Subject: [PATCH] BZ Formation: Respect BZ_RESEARCH_MAX_AMOUNT (#56529) You can still produce points at a decent rate. This stops someone that managed to thread the needle to extremely low pressures while still meeting mass requirements from making half a million points per second, though that did require maxed out parts. --- code/modules/atmospherics/gasmixtures/reactions.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/atmospherics/gasmixtures/reactions.dm b/code/modules/atmospherics/gasmixtures/reactions.dm index 8ba9ac4b5f9..541e3feb977 100644 --- a/code/modules/atmospherics/gasmixtures/reactions.dm +++ b/code/modules/atmospherics/gasmixtures/reactions.dm @@ -514,7 +514,7 @@ nobiliumsuppression = INFINITY cached_gases[/datum/gas/nitrous_oxide][MOLES] -= reaction_efficency cached_gases[/datum/gas/plasma][MOLES] -= 2 * reaction_efficency - SSresearch.science_tech.add_point_type(TECHWEB_POINT_TYPE_DEFAULT, min((reaction_efficency**2) * BZ_RESEARCH_SCALE), BZ_RESEARCH_MAX_AMOUNT) + SSresearch.science_tech.add_point_type(TECHWEB_POINT_TYPE_DEFAULT, min((reaction_efficency**2) * BZ_RESEARCH_SCALE, BZ_RESEARCH_MAX_AMOUNT)) if(energy_released > 0) var/new_heat_capacity = air.heat_capacity()