mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-18 19:29:29 +00:00
Begin rewriting of module layout
Currently doesn't touch any of the current EMT files except the config and a single line in the base class to uncomment when testing.
This commit is contained in:
1 parent
79b0dc565c
commit
47f67ca96c
33 files changed
+2079
No files matched your search
@@ -13,6 +13,7 @@ public class ConfigHandler {
|
||||
public static String CATEGORY_RESEARCH = "Research";
|
||||
public static String CATEGORY_VALUES = "Numeric Values";
|
||||
public static String CATEGORY_OUTPUTS = "Essentia Generator Outputs";
|
||||
public static String CATEGORY_MODULES = "Modules";
|
||||
|
||||
public static int essentiaGeneratorsDelay;
|
||||
public static int etherealProcessorBaseSpeed;
|
||||
@@ -103,6 +104,9 @@ public class ConfigHandler {
|
||||
public static boolean quantumWingsResearch;
|
||||
public static boolean aerGeneratorResearch;
|
||||
|
||||
public static boolean enableIC2Module;
|
||||
public static boolean enableTEModule;
|
||||
|
||||
public static void init(File file) {
|
||||
config = new Configuration(file);
|
||||
syncConfig();
|
||||
@@ -197,6 +201,9 @@ public class ConfigHandler {
|
||||
quantumWingsResearch = config.get(CATEGORY_RESEARCH, "Quantum Wings", false).getBoolean(quantumWingsResearch);
|
||||
aerGeneratorResearch = config.get(CATEGORY_RESEARCH, "Aer Generator", false).getBoolean(aerGeneratorResearch);
|
||||
|
||||
enableIC2Module = config.get(CATEGORY_MODULES, "IC2 Module", true).getBoolean(enableIC2Module);
|
||||
enableTEModule = config.get(CATEGORY_MODULES, "TE Module", true).getBoolean(enableTEModule);
|
||||
|
||||
if (config.hasChanged()) {
|
||||
config.save();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user