Added config setting for eu/rf value

This commit is contained in:
modmuss50 2015-07-02 23:35:06 +01:00
parent 1f785a833f
commit b7a9824cd3
3 changed files with 11 additions and 1 deletions

View file

@ -73,6 +73,7 @@ public class ConfigTechReborn {
public static int extraOutputPerLesuBlock;
public static int baseLesuOutput;
public static int lesuStoragePerBlock;
public static int euPerRF;
// Charge
public static int AdvancedDrillCharge;
public static int LapotronPackCharge;
@ -592,6 +593,11 @@ public class ConfigTechReborn {
8,
StatCollector.translateToLocal("config.techreborn.extraOutputPerLesuBlock.tooltip"))
.getInt();
euPerRF = config.get(CATEGORY_POWER,
StatCollector.translateToLocal("config.techreborn.euPerRF"),
4,
StatCollector.translateToLocal("config.techreborn.euPerRF.tooltip"))
.getInt();
// Teir

View file

@ -1,10 +1,12 @@
package techreborn.powerSystem;
import techreborn.config.ConfigTechReborn;
public class PowerSystem {
public static boolean RFPOWENET = true;
public static boolean EUPOWENET = true;
public static double euPerRF = 5; // 5eu = 1rf? //TODO
public static double euPerRF = ConfigTechReborn.euPerRF;
}

View file

@ -786,6 +786,8 @@ config.techreborn.thermalGeneratorMaxCharge=Maximum charge for Thermal Generator
config.techreborn.thermalGeneratorMaxCharge.tooltip=
config.techreborn.aveargeEuOutTickTim=Eu out time
config.techreborn.aveargeEuOutTickTime.tooltip=How often in ticks to update the eu out
config.techreborn.euPerRF=Eu per RF
config.techreborn.euPerRF.tooltip=How many eu are in each RF
#ConfigGui
config.techreborn.category.general=General Configs