freon fixes (#10076)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user