From 3fc0245ce434383aaf4861c5e514e4ec767cd562 Mon Sep 17 00:00:00 2001 From: Simplehorror <101573582+Simplehorror@users.noreply.github.com> Date: Wed, 30 Nov 2022 18:17:22 +0000 Subject: [PATCH] Pull hypernob in line with other reactions --- code/modules/atmospherics/gasmixtures/reactions.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/atmospherics/gasmixtures/reactions.dm b/code/modules/atmospherics/gasmixtures/reactions.dm index ce9706d909ac..704c9942d8b7 100644 --- a/code/modules/atmospherics/gasmixtures/reactions.dm +++ b/code/modules/atmospherics/gasmixtures/reactions.dm @@ -465,6 +465,8 @@ nobliumformation = 1001 /datum/gas_reaction/nobliumformation/react(datum/gas_mixture/air) var/nob_formed = min(air.get_moles(/datum/gas/tritium)/10,air.get_moles(/datum/gas/nitrogen)/20) + nob_formed = clamp(nob_formed, 0, 10) + var/old_heat_capacity = air.heat_capacity() var/energy_taken = nob_formed*(NOBLIUM_FORMATION_ENERGY/(max(air.get_moles(/datum/gas/bz),1))) air.adjust_moles(/datum/gas/tritium, -10*nob_formed)