From f760c9e77b6c33e7b653857ecd848b4cbd736b52 Mon Sep 17 00:00:00 2001 From: Technus Date: Sun, 20 Mar 2016 22:01:45 +0100 Subject: [PATCH] Fix for tile entity names, upped machine cap --- .../GT_MetaTileEntity_ProcessingArray.java | 40 +++++++++---------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ProcessingArray.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ProcessingArray.java index 2845c1f4..cf68bfa7 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ProcessingArray.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ProcessingArray.java @@ -45,7 +45,7 @@ public class GT_MetaTileEntity_ProcessingArray extends GT_MetaTileEntity_MultiBl "1x Energy Hatch (anywhere)", "1x Maintenance Hatch (anywhere)", "Robust Tungstensteel Casings for the rest (16 at least!)", - "Place up to 16 Single Block GT Machines into the GUI Inventory", + "Place up to 64 Single Block GT Machines into the GUI Inventory",// Updated String "They will work the same way as placed directly in world"}; } @@ -107,41 +107,39 @@ public class GT_MetaTileEntity_ProcessingArray extends GT_MetaTileEntity_MultiBl return GT_Recipe.GT_Recipe_Map.sWiremillRecipes; } else if (tmp.startsWith("arcfurnace")) { return GT_Recipe.GT_Recipe_Map.sArcFurnaceRecipes; - } else if (tmp.startsWith("plasmaarcfurnace")) { + } else if (tmp.startsWith("plasmaarcfurnace")) {//OK return GT_Recipe.GT_Recipe_Map.sPlasmaArcFurnaceRecipes; - } else if (tmp.startsWith("printer")) { - return GT_Recipe.GT_Recipe_Map.sPrinterRecipes; - } else if (tmp.startsWith("press")) { + } else if (tmp.startsWith("press")) {//OK return GT_Recipe.GT_Recipe_Map.sPressRecipes; - } else if (tmp.startsWith("polarizer")) { + } else if (tmp.startsWith("polarizer")) {//OK return GT_Recipe.GT_Recipe_Map.sPolarizerRecipes; - } else if (tmp.startsWith("fluidcanner")) { + } else if (tmp.startsWith("fluidcanner")) {//OK return GT_Recipe.GT_Recipe_Map.sFluidCannerRecipes; - } else if (tmp.startsWith("brewer")) { + } else if (tmp.startsWith("brewer")) {//OK return GT_Recipe.GT_Recipe_Map.sBrewingRecipes; - } else if (tmp.startsWith("fluidheater")) { + } else if (tmp.startsWith("fluidheater")) {//OK return GT_Recipe.GT_Recipe_Map.sFluidHeaterRecipes; - } else if (tmp.startsWith("distillery")) { + } else if (tmp.startsWith("distillery")) {//OK return GT_Recipe.GT_Recipe_Map.sDistilleryRecipes; - } else if (tmp.startsWith("fermenter")) { + } else if (tmp.startsWith("fermenter")) {//OK return GT_Recipe.GT_Recipe_Map.sFermentingRecipes; - } else if (tmp.startsWith("fluidsolidifier")) { + } else if (tmp.startsWith("fluidsolidifier")) {//OK return GT_Recipe.GT_Recipe_Map.sFluidSolidficationRecipes; - } else if (tmp.startsWith("fluidextractor")) { + } else if (tmp.startsWith("fluidextractor")) {//OK return GT_Recipe.GT_Recipe_Map.sFluidExtractionRecipes; - } else if (tmp.startsWith("packager")) { + } else if (tmp.startsWith("boxinator")) {//changed name return GT_Recipe.GT_Recipe_Map.sBoxinatorRecipes; - } else if (tmp.startsWith("unpackager")) { + } else if (tmp.startsWith("unboxinator")) {//changed name return GT_Recipe.GT_Recipe_Map.sUnboxinatorRecipes; - } else if (tmp.startsWith("canner")) { + } else if (tmp.startsWith("canner")) {//OK return GT_Recipe.GT_Recipe_Map.sCannerRecipes; - } else if (tmp.startsWith("lathe")) { + } else if (tmp.startsWith("lathe")) {//OK return GT_Recipe.GT_Recipe_Map.sLatheRecipes; - } else if (tmp.startsWith("cuttingsaw")) { + } else if (tmp.startsWith("cutter")) {//changed name return GT_Recipe.GT_Recipe_Map.sCutterRecipes; - } else if (tmp.startsWith("slicer")) { + } else if (tmp.startsWith("slicer")) {//OK return GT_Recipe.GT_Recipe_Map.sSlicerRecipes; - } else if (tmp.startsWith("uuamplifier")) { + } else if (tmp.startsWith("amplifab")) {//changed name return GT_Recipe.GT_Recipe_Map.sAmplifiers; } return null; @@ -221,7 +219,7 @@ public class GT_MetaTileEntity_ProcessingArray extends GT_MetaTileEntity_MultiBl this.mEUt = 0; this.mOutputItems = null; this.mOutputFluids = null; - int machines = Math.min(16, mInventory[1].stackSize); + int machines = Math.min(64, mInventory[1].stackSize);//Upped max cap to 64 int i = 0; for (; i < machines; i++) { if (!tRecipe.isRecipeInputEqual(true, tFluids, tInputs)) {