Fixed some LESU things

EU/t and capacity are now config-driven. Note that while the "max-eu" updates when you remove LESU storage blocks, it's currently retaining the highest EU/t you get, so if you remove blocks, the GUI still says it has the same EU/t you had before you removed them. Also shortened EU display.
This commit is contained in:
joflashstudios 2015-06-19 22:31:56 -04:00
parent 238901323c
commit 4fb6f4aca6
5 changed files with 48 additions and 13 deletions

View file

@ -69,6 +69,9 @@ public class ConfigTechReborn {
public static int DragoneggsiphonerOutput;
public static int heatGeneratorOutput;
public static int aveargeEuOutTickTime;
public static int extraOutputPerLesuBlock;
public static int baseLesuOutput;
public static int lesuStoragePerBlock;
// Charge
public static int AdvancedDrillCharge;
public static int LapotronPackCharge;
@ -571,6 +574,22 @@ public class ConfigTechReborn {
StatCollector
.translateToLocal("config.techreborn.aveargeEuOutTickTime.tooltip"))
.getInt();
lesuStoragePerBlock = config.get(CATEGORY_POWER,
StatCollector.translateToLocal("config.techreborn.lesuStoragePerBlock"),
1000000,
StatCollector.translateToLocal("config.techreborn.lesuStoragePerBlock.tooltip"))
.getInt();
baseLesuOutput = config.get(CATEGORY_POWER,
StatCollector.translateToLocal("config.techreborn.baseLesuOutput"),
16,
StatCollector.translateToLocal("config.techreborn.baseLesuOutput.tooltip"))
.getInt();
extraOutputPerLesuBlock = config.get(CATEGORY_POWER,
StatCollector.translateToLocal("config.techreborn.extraOutputPerLesuBlock"),
8,
StatCollector.translateToLocal("config.techreborn.extraOutputPerLesuBlock.tooltip"))
.getInt();
// Teir
AdvancedDrillTier = config