From 8e0cf5dc9f6e75f0dd12b76f178123fedbb91821 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Mon, 12 Sep 2016 16:22:28 +1000 Subject: + Added Double plates for all materials. + Added recipes for lower tier Huge pipes using double plates to enable their use earlier on. --- .../registration/gregtech/GregtechConduits.java | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'src/Java/gtPlusPlus/xmod/gregtech/registration') diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java index 0d9193ba3c..28b86a8b10 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java @@ -228,10 +228,15 @@ public class GregtechConduits { Utils.LOG_WARNING("Generated pipeHuge from "+ materialName +"? "+ ((UtilsItems.getItemStackOfAmountFromOreDict("pipe"+"Huge"+output, 1) != null) ? true : false)); int eut = 128; - if (materialName.toLowerCase().contains("hastelloy") || + if ( + materialName.toLowerCase().contains("hastelloy") || materialName.toLowerCase().contains("staballoy") || materialName.toLowerCase().contains("tantalloy") || - materialName.toLowerCase().contains("europium")){ + materialName.toLowerCase().contains("europium") || + materialName.toLowerCase().contains("crystal") || + materialName.toLowerCase().contains("zeron") || + materialName.toLowerCase().contains("inconel") + ){ eut = 512; } else { @@ -287,6 +292,16 @@ public class GregtechConduits { UtilsItems.getItemStackOfAmountFromOreDict("pipe"+"Huge"+output, 1), 4*20, eut); + if (eut < 512){ + ItemStack pipePlateDouble = UtilsItems.getItemStackOfAmountFromOreDict("plateDouble"+output, 1).copy(); + UtilsRecipe.recipeBuilder( + pipePlateDouble, "craftingToolHardHammer", pipePlateDouble, + pipePlateDouble, null, pipePlateDouble, + pipePlateDouble, "craftingToolWrench", pipePlateDouble, + UtilsItems.getItemStackOfAmountFromOreDict("pipe"+"Huge"+output, 1)); + } + + } private static ItemStack getOredictStack(String oredictName, int amount){ -- cgit