Factor in ammo reload multiplier + liquid heat capacity in turret coolant calculations

This commit is contained in:
Anuken
2025-01-09 23:51:57 -05:00
parent 84dc0027a8
commit d15a906402
5 changed files with 20 additions and 32 deletions
+6
View File
@@ -73,6 +73,12 @@ public class Stats{
add(stat, StatValues.string(format, args));
}
/** Replaces a stat, removing the old value if it exists. */
public void replace(Stat stat, StatValue value){
remove(stat);
add(stat, value);
}
/** Adds a stat value. */
public void add(Stat stat, StatValue value){
if(map == null) map = new OrderedMap<>();