Merge pull request #5 from GTNewHorizons/MultiSmelter-Rebalance

Rebalance MultiSmelter to match proc. arrays
This commit is contained in:
Martin 2016-04-16 21:47:03 +02:00
commit 6596f51a0d

View file

@ -34,7 +34,7 @@ public class GT_MetaTileEntity_MultiFurnace
}
public String[] getDescription() {
return new String[]{"Smelts up to 6-18 Items at once", "Controller Block for the Multi Smelter", "Size: 3x3x3 (Hollow)", "Controller (front middle at bottom)", "8x Heating Coils (middle Layer, hollow)", "1x Input (one of bottom)", "1x Output (one of bottom)", "1x Energy Hatch (one of bottom)", "1x Maintenance Hatch (one of bottom)", "1x Muffler Hatch (top middle)", "Heat Proof Machine Casings for the rest"};
return new String[]{"Smelts up to 8-256 Items at once", "Controller Block for the Multi Smelter", "Size: 3x3x3 (Hollow)", "Controller (front middle at bottom)", "8x Coil Blocks (middle Layer, hollow)", "1x Input (one of bottom)", "1x Output (one of bottom)", "1x Energy Hatch (one of bottom)", "1x Maintenance Hatch (one of bottom)", "1x Muffler Hatch (top middle)", "Heat Proof Machine Casings for the rest"};
}
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) {
@ -66,7 +66,7 @@ public class GT_MetaTileEntity_MultiFurnace
byte tTier = (byte) Math.max(1, GT_Utility.getTier(getMaxInputVoltage()));
int j = 0;
this.mOutputItems = new ItemStack[6 * this.mLevel];
this.mOutputItems = new ItemStack[8 * this.mLevel];
for (int i = 0; (i < 100) && (j < this.mOutputItems.length); i++) {
if (null != (this.mOutputItems[j] = GT_ModHandler.getSmeltingOutput((ItemStack) tInputList.get(i % tInputList.size()), true, null))) {
j++;
@ -76,7 +76,7 @@ public class GT_MetaTileEntity_MultiFurnace
this.mEfficiency = (10000 - (getIdealStatus() - getRepairStatus()) * 1000);
this.mEfficiencyIncrease = 10000;
this.mEUt = (-4 * (1 << tTier - 1) * (1 << tTier - 1) * this.mLevel);
this.mEUt = (-5 * (1 << tTier - 1) * (1 << tTier - 1) * this.mLevel);
this.mMaxProgresstime = Math.max(1, 512 / (1 << tTier - 1));
}
updateSlots();
@ -98,13 +98,16 @@ public class GT_MetaTileEntity_MultiFurnace
byte tUsedMeta = aBaseMetaTileEntity.getMetaIDOffset(xDir + 1, 1, zDir);
switch (tUsedMeta) {
case 12:
this.mLevel = 1;
this.mLevel = 1;//8 at once
break;
case 13:
this.mLevel = 2;
this.mLevel = 2;//16 at once
break;
case 14:
this.mLevel = 3;
this.mLevel = 4;//32 at once
break;
case 15://Superconductor Coil Block Support
this.mLevel = 32;//4 stacks at once
break;
default:
return false;