freon fixes (#10076)
This commit is contained in:
@@ -41,8 +41,7 @@ public sealed class FrezonCoolantReaction : IGasReactionEffect
|
|||||||
var frezonAmt = Math.Min(burnRate, initialFrezon);
|
var frezonAmt = Math.Min(burnRate, initialFrezon);
|
||||||
mixture.AdjustMoles(Gas.Nitrogen, -nitAmt);
|
mixture.AdjustMoles(Gas.Nitrogen, -nitAmt);
|
||||||
mixture.AdjustMoles(Gas.Frezon, -frezonAmt);
|
mixture.AdjustMoles(Gas.Frezon, -frezonAmt);
|
||||||
// TODO nitrous oxide
|
mixture.AdjustMoles(Gas.NitrousOxide, nitAmt + frezonAmt);
|
||||||
mixture.AdjustMoles(Gas.CarbonDioxide, nitAmt + frezonAmt);
|
|
||||||
energyReleased = burnRate * Atmospherics.FrezonCoolEnergyReleased * energyModifier;
|
energyReleased = burnRate * Atmospherics.FrezonCoolEnergyReleased * energyModifier;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
- 0 # tritium
|
- 0 # tritium
|
||||||
- 0 # vapor
|
- 0 # vapor
|
||||||
- 0 # miasma
|
- 0 # miasma
|
||||||
|
- 0 # n2o
|
||||||
- 0.01 # frezon
|
- 0.01 # frezon
|
||||||
effects:
|
effects:
|
||||||
- !type:FrezonCoolantReaction {}
|
- !type:FrezonCoolantReaction {}
|
||||||
@@ -51,6 +52,7 @@
|
|||||||
- 0.01 # tritium
|
- 0.01 # tritium
|
||||||
- 0 # vapor
|
- 0 # vapor
|
||||||
- 0 # miasma
|
- 0 # miasma
|
||||||
|
- 0 # n2o
|
||||||
- 0 # frezon
|
- 0 # frezon
|
||||||
effects:
|
effects:
|
||||||
- !type:FrezonProductionReaction {}
|
- !type:FrezonProductionReaction {}
|
||||||
@@ -67,6 +69,7 @@
|
|||||||
- 0 # tritium
|
- 0 # tritium
|
||||||
- 0 # vapor
|
- 0 # vapor
|
||||||
- 0.01 # miasma
|
- 0.01 # miasma
|
||||||
|
- 0 # n2o
|
||||||
- 0.01 # frezon
|
- 0.01 # frezon
|
||||||
effects:
|
effects:
|
||||||
- !type:MiasmicSubsumationReaction {}
|
- !type:MiasmicSubsumationReaction {}
|
||||||
|
|||||||
Reference in New Issue
Block a user