aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gtPlusPlus/core')
-rw-r--r--src/Java/gtPlusPlus/core/config/ConfigHandler.java7
-rw-r--r--src/Java/gtPlusPlus/core/handler/BookHandler.java8
-rw-r--r--src/Java/gtPlusPlus/core/handler/COMPAT_HANDLER.java1
-rw-r--r--src/Java/gtPlusPlus/core/lib/CORE.java2
-rw-r--r--src/Java/gtPlusPlus/core/recipe/RECIPES_Machines.java23
5 files changed, 34 insertions, 7 deletions
diff --git a/src/Java/gtPlusPlus/core/config/ConfigHandler.java b/src/Java/gtPlusPlus/core/config/ConfigHandler.java
index 40205d904d..e41698844f 100644
--- a/src/Java/gtPlusPlus/core/config/ConfigHandler.java
+++ b/src/Java/gtPlusPlus/core/config/ConfigHandler.java
@@ -146,10 +146,11 @@ public class ConfigHandler {
enableMultiblock_IndustrialCuttingMachine = config.getBoolean("enableMultiblock_IndustrialCuttingMachine",
"gregtech", true, "Very fast and efficient Cutting Machine.");
enableMultiblock_IndustrialFishingPort = config.getBoolean("enableMultiblock_IndustrialFishingPort",
- "gregtech", true, "Fish the seas, except on land.");
-
+ "gregtech", true, "Fish the seas, except on land.");
enableMultiblock_IndustrialExtrudingMachine = config.getBoolean("enableMultiblock_IndustrialExtrudingMachine",
- "gregtech", true, "Very fast and efficient Extruding Machine.");
+ "gregtech", true, "Very fast and efficient Extruding Machine.");
+ enableMultiblock_IndustrialMultiMachine = config.getBoolean("enableMultiblock_IndustrialMultiMachine",
+ "gregtech", true, "Can run recipes for 9 different types of machines.");
// Options
rfPerEU = config.getInt("rfUsedPerEUForUniversalBatteries", "configurables", 4, 1, 1000,
diff --git a/src/Java/gtPlusPlus/core/handler/BookHandler.java b/src/Java/gtPlusPlus/core/handler/BookHandler.java
index d0e04fccc8..51bba5152f 100644
--- a/src/Java/gtPlusPlus/core/handler/BookHandler.java
+++ b/src/Java/gtPlusPlus/core/handler/BookHandler.java
@@ -78,12 +78,12 @@ public class BookHandler {
book_MultiMachineManual = writeBookTemplate(
"Manual_Multi_Machine", "Multi Machine Manual", "Alkalus",
new String[] {"This Multiblock, depending upon the mode used, can function as a variety of different machines. The idea behind this, was that most of these machines are rather niche compared to any others, as such, not used often.",
- "The Mode can be set by using a Screwdriver on the controller block. Each mode allows the use of Numbered Circuits, to allow a different machine 'type' for each input bus.",
+ "To build, you need to construct a hollow 3x3x3 structure made from Multi-Use casings. Any Casing can be substituted out with an Input Hatch/Bus, an Output Hatch/Bus, Maint. Hatch or Energy Injector Hatch",
+ "The Mode can be set by using a Screwdriver on the controller block. Each mode allows the use of Numbered Circuits, to allow a different machine 'type' for each input bus. Mode 3 is currently disabled, as each machine requires special handling.",
"[Metal Work] Mode A - Allows the multiblock to function as a Compressor, a Lathe or an Electro-Magnet. To allow a hatch to run in Compressor mode, insert a No. 20 circuit. For Lathe, use No. 21 and for Electro-Magnet use No. 22.",
"[Fluid Work] Mode B - Allows the multiblock to function as a Fermenter, a Distillery or an Extractor. To allow a hatch to run in Fermenter mode, insert a No. 20 circuit. For Distillery, use No. 21 and for Extractor use No. 22.",
- "[Misc. Work] Mode C - Allows the multiblock to function as a Laser Engraver, a Replicator or an Autoclave. To allow a hatch to run in Laser Engraver mode, insert a No. 20 circuit. For Autoclave, use No. 21 and for Replicator use No. 22.",
- "",
- "",});
+ "[Misc. Work] Mode C - Allows the multiblock to function as a Laser Engraver, a Replicator or an Autoclave. To allow a hatch to run in Laser Engraver mode, insert a No. 20 circuit. For Autoclave, use No. 21 and for Replicator use No. 22. DISABLED.",
+ });
}
diff --git a/src/Java/gtPlusPlus/core/handler/COMPAT_HANDLER.java b/src/Java/gtPlusPlus/core/handler/COMPAT_HANDLER.java
index 2d23fd592b..17ff73e059 100644
--- a/src/Java/gtPlusPlus/core/handler/COMPAT_HANDLER.java
+++ b/src/Java/gtPlusPlus/core/handler/COMPAT_HANDLER.java
@@ -104,6 +104,7 @@ public class COMPAT_HANDLER {
GregtechIndustrialFishPond.run();
GregtechTieredChunkloaders.run();
GregtechIndustrialExtruder.run();
+ GregtechIndustrialMultiMachine.run();
//New Horizons Content
NewHorizonsAccelerator.run();
diff --git a/src/Java/gtPlusPlus/core/lib/CORE.java b/src/Java/gtPlusPlus/core/lib/CORE.java
index 283f45f920..d5d1e467a7 100644
--- a/src/Java/gtPlusPlus/core/lib/CORE.java
+++ b/src/Java/gtPlusPlus/core/lib/CORE.java
@@ -214,6 +214,7 @@ public class CORE {
public static boolean enableMultiblock_IndustrialCuttingMachine = true;
public static boolean enableMultiblock_IndustrialFishingPort = true;
public static boolean enableMultiblock_IndustrialExtrudingMachine = true;
+ public static boolean enableMultiblock_IndustrialMultiMachine = true;
//Visuals
public static boolean enableTreeFarmerParticles = true;
@@ -224,6 +225,7 @@ public class CORE {
+
}
public static class Everglades{
diff --git a/src/Java/gtPlusPlus/core/recipe/RECIPES_Machines.java b/src/Java/gtPlusPlus/core/recipe/RECIPES_Machines.java
index adaa2b4609..e600ac81a1 100644
--- a/src/Java/gtPlusPlus/core/recipe/RECIPES_Machines.java
+++ b/src/Java/gtPlusPlus/core/recipe/RECIPES_Machines.java
@@ -1134,6 +1134,29 @@ public class RECIPES_Machines {
GregtechItemList.Industrial_FishingPond.get(1));
}
+
+
+
+ if (CORE.ConfigSwitches.enableMultiblock_IndustrialMultiMachine){
+ ItemStack plate = ALLOY.STABALLOY.getPlate(1);
+ ItemStack o_Compressor = ItemList.Machine_HV_Compressor.get(1);
+ ItemStack o_Lathe = ItemList.Machine_HV_Lathe.get(1);
+ ItemStack o_Electromagnet = ItemList.Machine_HV_Polarizer.get(1);
+ ItemStack o_Fermenter = ItemList.Machine_HV_Fermenter.get(1);
+ ItemStack o_Distillery = ItemList.Machine_HV_Distillery.get(1);
+ ItemStack o_Extractor = ItemList.Machine_HV_Extractor.get(1);
+ RecipeUtils.recipeBuilder(
+ plate, CI.craftingToolHammer_Hard, plate,
+ "plateStainlessSteel", "frameGtZirconiumCarbide", "plateStainlessSteel",
+ plate, CI.craftingToolWrench, plate,
+ GregtechItemList.Casing_Multi_Use.get(Casing_Amount));
+
+ RecipeUtils.recipeBuilder(
+ o_Compressor, o_Lathe, o_Electromagnet,
+ plate, ItemUtils.getSimpleStack(ModBlocks.blockProjectTable), plate,
+ o_Fermenter, o_Distillery, o_Extractor,
+ GregtechItemList.Industrial_MultiMachine.get(1));
+ }
//Wireless Chargers
RecipeUtils.addShapedGregtechRecipe(
CI.emitter_LV, CI.circuitTier1, CI.emitter_LV,