freon fixes (#10076)

This commit is contained in:
Kara
2022-07-27 03:17:33 -07:00
committed by GitHub
parent c15e14676d
commit 6c30726c7b
2 changed files with 4 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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 {}