More sounds, shrapnel bullet visuals tweak, ambient reactor cooldown

This commit is contained in:
Anuken
2025-11-09 22:07:36 -05:00
parent bec2ca3821
commit 3b10100ae4
5 changed files with 5 additions and 2 deletions
@@ -34,6 +34,8 @@ public class NuclearReactor extends PowerGenerator{
public float heatOutput = 15f;
/** rate at which heat progress increases */
public float heatWarmupRate = 1f;
/** time taken to cool down if no fuel is inputted even if coolant is not present*/
public float ambientCooldownTime = 60f * 20f;
/** threshold at which block starts smoking */
public float smokeThreshold = 0.3f;
/** heat threshold at which lights start flashing */
@@ -104,6 +106,7 @@ public class NuclearReactor extends PowerGenerator{
}
}else{
productionEfficiency = 0f;
heat = Math.max(0f, heat - Time.delta / ambientCooldownTime);
}
if(heat > 0){