diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2017-08-12 17:56:52 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2017-08-12 17:56:52 +1000 |
commit | 4f89301d1afa1baca67b829997c08488aa92fab4 (patch) | |
tree | e3f7774493b9accb17c331b0282cc8cbe382f6ac /src/Java/gtPlusPlus/core | |
parent | 74538cc891f31941467974a44cf4cdf24b7c72e8 (diff) | |
download | GT5-Unofficial-4f89301d1afa1baca67b829997c08488aa92fab4.tar.gz GT5-Unofficial-4f89301d1afa1baca67b829997c08488aa92fab4.tar.bz2 GT5-Unofficial-4f89301d1afa1baca67b829997c08488aa92fab4.zip |
+ Added a config option for the Simple Washer.
Diffstat (limited to 'src/Java/gtPlusPlus/core')
-rw-r--r-- | src/Java/gtPlusPlus/core/lib/CORE.java | 1 | ||||
-rw-r--r-- | src/Java/gtPlusPlus/core/recipe/RECIPES_Machines.java | 32 |
2 files changed, 19 insertions, 14 deletions
diff --git a/src/Java/gtPlusPlus/core/lib/CORE.java b/src/Java/gtPlusPlus/core/lib/CORE.java index 847a06bf33..71056adaff 100644 --- a/src/Java/gtPlusPlus/core/lib/CORE.java +++ b/src/Java/gtPlusPlus/core/lib/CORE.java @@ -125,6 +125,7 @@ public class CORE { public static boolean enableMachine_GeothermalEngines = true; public static boolean enableMachine_WorldAccelerators = true; public static boolean enableMachine_Tesseracts = true; + public static boolean enableMachine_SimpleWasher = true; public static boolean enableCustom_Pipes = true; public static boolean enableCustom_Cables = true; diff --git a/src/Java/gtPlusPlus/core/recipe/RECIPES_Machines.java b/src/Java/gtPlusPlus/core/recipe/RECIPES_Machines.java index e90193b496..b834755998 100644 --- a/src/Java/gtPlusPlus/core/recipe/RECIPES_Machines.java +++ b/src/Java/gtPlusPlus/core/recipe/RECIPES_Machines.java @@ -751,21 +751,25 @@ public class RECIPES_Machines { "plateTitanium",CI.machineHull_EV,"plateTitanium", RECIPE_TesseractTerminal); } - - ItemStack plateWrought = ItemUtils.getItemStackOfAmountFromOreDict("plateWroughtIron", 1); - ItemStack washerPipe; - if (CORE.configSwitches.enableCustom_Pipes){ - washerPipe = ItemUtils.getItemStackOfAmountFromOreDict("pipeLargeClay", 1); - } - else { - washerPipe = ItemUtils.getItemStackOfAmountFromOreDict("pipeLargeCopper", 1); + + if (CORE.configSwitches.enableMachine_SimpleWasher){ + ItemStack plateWrought = ItemUtils.getItemStackOfAmountFromOreDict("plateWroughtIron", 1); + ItemStack washerPipe; + if (CORE.configSwitches.enableCustom_Pipes){ + washerPipe = ItemUtils.getItemStackOfAmountFromOreDict("pipeLargeClay", 1); + } + else { + washerPipe = ItemUtils.getItemStackOfAmountFromOreDict("pipeLargeCopper", 1); + } + //Add Recipe + RecipeUtils.addShapedGregtechRecipe( + plateWrought, CI.electricPump_LV, plateWrought, + plateWrought, washerPipe, plateWrought, + plateWrought, CI.machineCasing_ULV, plateWrought, + GregtechItemList.SimpleDustWasher.get(1)); } - //Add Recipe - RecipeUtils.addShapedGregtechRecipe( - plateWrought, CI.electricPump_LV, plateWrought, - plateWrought, washerPipe, plateWrought, - plateWrought, CI.machineCasing_ULV, plateWrought, - GregtechItemList.SimpleDustWasher.get(1)); + + } |