File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ pub(crate) const PLASMA_BURN_MIN_TEMP: f32 = 100.0 + T0C;
120
120
pub ( crate ) const PLASMA_BURN_OPTIMAL_TEMP : f32 = 1370.0 + T0C ;
121
121
122
122
/// How much of the plasma are we willing to burn each tick?
123
- pub ( crate ) const PLASMA_BURN_MAX_RATIO : f32 = 0.05 ;
123
+ pub ( crate ) const PLASMA_BURN_MAX_RATIO : f32 = 0.01 ;
124
124
125
125
/// How much of the plasma do we burn anyway if the ratio would make it really small?
126
126
pub ( crate ) const PLASMA_BURN_MIN_MOLES : f32 = 0.001 ;
@@ -148,10 +148,10 @@ pub(crate) const TEST_TOLERANCE: f32 = 0.1;
148
148
pub ( crate ) const SPACE_COOLING_THRESHOLD : f32 = T20C ;
149
149
150
150
/// Lose this amount of heat energy per tick if above SPACE_COOLING_THRESHOLD.
151
- pub ( crate ) const SPACE_COOLING_FLAT : f32 = 2000 .0;
151
+ pub ( crate ) const SPACE_COOLING_FLAT : f32 = 200 .0;
152
152
153
- /// Lose this ratio of heat energy per tick if above SPACE_COOLING_THRESHOLD.
154
- pub ( crate ) const SPACE_COOLING_RATIO : f32 = 0.002 ;
153
+ /// Lose this ratio of heat energy per Kelvin per tick if above SPACE_COOLING_THRESHOLD.
154
+ pub ( crate ) const SPACE_COOLING_TEMPERATURE_RATIO : f32 = 0.4 ;
155
155
156
156
/// Tiles with less than this much gas will become empty.
157
157
pub ( crate ) const MINIMUM_NONZERO_MOLES : f32 = 0.1 ;
Original file line number Diff line number Diff line change @@ -681,7 +681,7 @@ pub(crate) fn apply_tile_mode(
681
681
if my_next_tile. temperature ( ) > SPACE_COOLING_THRESHOLD {
682
682
let excess_thermal_energy = my_next_tile. thermal_energy
683
683
- SPACE_COOLING_THRESHOLD * my_next_tile. heat_capacity ( ) ;
684
- let cooling = ( SPACE_COOLING_FLAT + SPACE_COOLING_RATIO * excess_thermal_energy )
684
+ let cooling = ( SPACE_COOLING_FLAT + SPACE_COOLING_TEMPERATURE_RATIO * my_next_tile . temperature ( ) )
685
685
. min ( excess_thermal_energy) ;
686
686
my_next_tile. thermal_energy -= cooling;
687
687
}
You can’t perform that action at this time.
0 commit comments