From 6c30726c7b6bfa7566d1872d77581ce64cb61b26 Mon Sep 17 00:00:00 2001 From: Kara Date: Wed, 27 Jul 2022 03:17:33 -0700 Subject: [PATCH] freon fixes (#10076) --- Content.Server/Atmos/Reactions/FrezonCoolantReaction.cs | 3 +-- Resources/Prototypes/Atmospherics/reactions.yml | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Content.Server/Atmos/Reactions/FrezonCoolantReaction.cs b/Content.Server/Atmos/Reactions/FrezonCoolantReaction.cs index f9ed19472d..b300a839c4 100644 --- a/Content.Server/Atmos/Reactions/FrezonCoolantReaction.cs +++ b/Content.Server/Atmos/Reactions/FrezonCoolantReaction.cs @@ -41,8 +41,7 @@ public sealed class FrezonCoolantReaction : IGasReactionEffect var frezonAmt = Math.Min(burnRate, initialFrezon); mixture.AdjustMoles(Gas.Nitrogen, -nitAmt); mixture.AdjustMoles(Gas.Frezon, -frezonAmt); - // TODO nitrous oxide - mixture.AdjustMoles(Gas.CarbonDioxide, nitAmt + frezonAmt); + mixture.AdjustMoles(Gas.NitrousOxide, nitAmt + frezonAmt); energyReleased = burnRate * Atmospherics.FrezonCoolEnergyReleased * energyModifier; } diff --git a/Resources/Prototypes/Atmospherics/reactions.yml b/Resources/Prototypes/Atmospherics/reactions.yml index ddbf47e49c..a01bf80f31 100644 --- a/Resources/Prototypes/Atmospherics/reactions.yml +++ b/Resources/Prototypes/Atmospherics/reactions.yml @@ -35,6 +35,7 @@ - 0 # tritium - 0 # vapor - 0 # miasma + - 0 # n2o - 0.01 # frezon effects: - !type:FrezonCoolantReaction {} @@ -51,6 +52,7 @@ - 0.01 # tritium - 0 # vapor - 0 # miasma + - 0 # n2o - 0 # frezon effects: - !type:FrezonProductionReaction {} @@ -67,6 +69,7 @@ - 0 # tritium - 0 # vapor - 0.01 # miasma + - 0 # n2o - 0.01 # frezon effects: - !type:MiasmicSubsumationReaction {}