aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/xmod/gregtech
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/gregtech')
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_MultiTank.java16
-rw-r--r--src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java5
2 files changed, 17 insertions, 4 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_MultiTank.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_MultiTank.java
index 810ff85382..dbf6569156 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_MultiTank.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/GregtechMetaTileEntity_MultiTank.java
@@ -104,7 +104,15 @@ extends GregtechMeta_MultiBlockBase {
private short getStorageMultiplier(){
int tempstorageMultiplier = (1*multiblockCasingCount);
if (tempstorageMultiplier <= 0){
- Utils.LOG_INFO("Invalid Storage Multiplier. "+multiblockCasingCount);
+ if (this != null){
+ if (this.getBaseMetaTileEntity() != null){
+ if (this.getBaseMetaTileEntity().getWorld() != null){
+ Utils.LOG_INFO("Invalid Storage Multiplier. "+multiblockCasingCount);
+ checkMachine(this.getBaseMetaTileEntity(), null);
+ return 0;
+ }
+ }
+ }
return 1;
}
return (short) tempstorageMultiplier;
@@ -170,8 +178,8 @@ extends GregtechMeta_MultiBlockBase {
"1x Output hatch (anywhere)",
"1x Energy Hatch (anywhere)",
"1x Maintenance Hatch (anywhere)",
- "Multitank Exterior Casings for the rest (16 at least!)",
- "Stored Fluid: "+fluidStored};
+ "Multitank Exterior Casings for the rest (16 at least!)"
+ };
}
@Override
@@ -298,7 +306,7 @@ extends GregtechMeta_MultiBlockBase {
Utils.LOG_WARNING("Internal Tank is empty, sitting idle.");
return false;
}
-
+
if (mOutputHatches.get(0).mFluid == null || mOutputHatches.isEmpty() || (mOutputHatches.get(0).mFluid.isFluidEqual(internalStorageTank) && mOutputHatches.get(0).mFluid.amount < mOutputHatches.get(0).getCapacity())){
Utils.LOG_WARNING("Okay - 3");
int tempCurrentStored = internalStorageTank.amount;
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java
index 6f00eeeda5..118d6083c0 100644
--- a/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java
+++ b/src/Java/gtPlusPlus/xmod/gregtech/registration/gregtech/GregtechConduits.java
@@ -74,6 +74,11 @@ public class GregtechConduits {
generateNonGTFluidPipes(GT_Materials.Inconel690, ALLOY.INCONEL_690, BasePipeID+40, 7500, 4800, true);
generateNonGTFluidPipes(GT_Materials.Inconel792, ALLOY.INCONEL_792, BasePipeID+45, 8000, 5500, true);
generateNonGTFluidPipes(GT_Materials.HastelloyX, ALLOY.HASTELLOY_X, BasePipeID+50, 10000, 4200, true);
+
+ generateGTFluidPipes(Materials.Tungsten, BasePipeID+55, 4320, 7200, true);
+ generateGTFluidPipes(Materials.DarkSteel, BasePipeID+60, 2320, 2750, true);
+ generateGTFluidPipes(Materials.Clay, BasePipeID+65, 75, 500, false);
+ generateGTFluidPipes(Materials.Lead, BasePipeID+70, 720, 1200, true);
}
private static void wireFactory(String Material, int Voltage, int ID, long insulatedLoss, long uninsulatedLoss, long Amps){