diff options
| author | Draknyte1 <Draknyte1@hotmail.com> | 2016-09-12 16:22:28 +1000 |
|---|---|---|
| committer | Draknyte1 <Draknyte1@hotmail.com> | 2016-09-12 16:22:28 +1000 |
| commit | 8e0cf5dc9f6e75f0dd12b76f178123fedbb91821 (patch) | |
| tree | 2b8e5d32844dc04312d4184e5843857c6a0188d1 /src/Java/gtPlusPlus/xmod/gregtech/registration | |
| parent | 99e8346ded20824df3a3516e6352c7b0926f5a06 (diff) | |
| download | GT5-Unofficial-8e0cf5dc9f6e75f0dd12b76f178123fedbb91821.tar.gz GT5-Unofficial-8e0cf5dc9f6e75f0dd12b76f178123fedbb91821.tar.bz2 GT5-Unofficial-8e0cf5dc9f6e75f0dd12b76f178123fedbb91821.zip | |
+ Added Double plates for all materials.
+ Added recipes for lower tier Huge pipes using double plates to enable their use earlier on.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech/registration')
| -rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java | 19 |
1 files changed, 17 insertions, 2 deletions
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){ |
