A few more recipe tweeks and configs

This commit is contained in:
gigabit101 2015-08-16 20:41:23 +01:00
parent ccb028a202
commit 73f28281e3
2 changed files with 24 additions and 6 deletions

View file

@ -1161,19 +1161,27 @@ public class RecipesIC2 implements ICompatModule {
40, 60 40, 60
)); ));
} }
} }
static void removeIc2Recipes() { static void removeIc2Recipes() {
if (ConfigTechReborn.ExpensiveMacerator) if (ConfigTechReborn.ExpensiveMacerator){
RecipeRemover.removeAnyRecipe(IC2Items.getItem("macerator")); RecipeRemover.removeAnyRecipe(IC2Items.getItem("macerator"));
if (ConfigTechReborn.ExpensiveDrill) }
if (ConfigTechReborn.ExpensiveDrill){
RecipeRemover.removeAnyRecipe(IC2Items.getItem("miningDrill")); RecipeRemover.removeAnyRecipe(IC2Items.getItem("miningDrill"));
if (ConfigTechReborn.ExpensiveDiamondDrill) }
if (ConfigTechReborn.ExpensiveDiamondDrill){
RecipeRemover.removeAnyRecipe(IC2Items.getItem("diamondDrill")); RecipeRemover.removeAnyRecipe(IC2Items.getItem("diamondDrill"));
if (ConfigTechReborn.ExpensiveSolar) }
if (ConfigTechReborn.ExpensiveSolar){
RecipeRemover.removeAnyRecipe(IC2Items.getItem("solarPanel")); RecipeRemover.removeAnyRecipe(IC2Items.getItem("solarPanel"));
}
if (ConfigTechReborn.ExpensiveWatermill){
RecipeRemover.removeAnyRecipe(IC2Items.getItem("waterMill"));
}
if (ConfigTechReborn.ExpensiveWindmill){
RecipeRemover.removeAnyRecipe(IC2Items.getItem("windMill"));
}
LogHelper.info("IC2 Recipes Removed"); LogHelper.info("IC2 Recipes Removed");
} }

View file

@ -111,6 +111,8 @@ public class ConfigTechReborn {
public static boolean ExpensiveDrill; public static boolean ExpensiveDrill;
public static boolean ExpensiveDiamondDrill; public static boolean ExpensiveDiamondDrill;
public static boolean ExpensiveSolar; public static boolean ExpensiveSolar;
public static boolean ExpensiveWatermill;
public static boolean ExpensiveWindmill;
// UU // UU
public static boolean HideUuRecipes; public static boolean HideUuRecipes;
public static boolean UUrecipesIridiamOre; public static boolean UUrecipesIridiamOre;
@ -466,6 +468,14 @@ public class ConfigTechReborn {
.get(CATEGORY_CRAFTING, StatCollector.translateToLocal("config.techreborn.allowExpensiveSolarPanels"), .get(CATEGORY_CRAFTING, StatCollector.translateToLocal("config.techreborn.allowExpensiveSolarPanels"),
true, StatCollector.translateToLocal("config.techreborn.allowExpensiveSolarPanels.tooltip")) true, StatCollector.translateToLocal("config.techreborn.allowExpensiveSolarPanels.tooltip"))
.getBoolean(true); .getBoolean(true);
ExpensiveWatermill = config
.get(CATEGORY_CRAFTING, StatCollector.translateToLocal("config.techreborn.allowExpensiveWatermill"),
true, StatCollector.translateToLocal("config.techreborn.allowExpensiveWatermill.tooltip"))
.getBoolean(true);
ExpensiveWindmill = config
.get(CATEGORY_CRAFTING, StatCollector.translateToLocal("config.techreborn.allowExpensiveWindmill"),
true, StatCollector.translateToLocal("config.techreborn.allowExpensiveWindmill.tooltip"))
.getBoolean(true);
// Uu // Uu
HideUuRecipes = config.get(CATEGORY_UU, StatCollector.translateToLocal("config.techreborn.allow.hiderecipes"), HideUuRecipes = config.get(CATEGORY_UU, StatCollector.translateToLocal("config.techreborn.allow.hiderecipes"),
true, StatCollector.translateToLocal("config.techreborn.allow.hiderecipes.tooltip")).getBoolean(true); true, StatCollector.translateToLocal("config.techreborn.allow.hiderecipes.tooltip")).getBoolean(true);