diff options
author | D-Cysteine <54219287+D-Cysteine@users.noreply.github.com> | 2021-11-27 03:37:48 -0700 |
---|---|---|
committer | D-Cysteine <54219287+D-Cysteine@users.noreply.github.com> | 2021-11-27 03:54:54 -0700 |
commit | e99a0e0cef774e2544497426e5834a26d46f45f8 (patch) | |
tree | 331e64606b14266c15c4ba7bab933ce16553bf83 /src/Java/gtPlusPlus/xmod | |
parent | 64d3f815ae02620dcbf5dbaa2091606f4335d086 (diff) | |
download | GT5-Unofficial-e99a0e0cef774e2544497426e5834a26d46f45f8.tar.gz GT5-Unofficial-e99a0e0cef774e2544497426e5834a26d46f45f8.tar.bz2 GT5-Unofficial-e99a0e0cef774e2544497426e5834a26d46f45f8.zip |
Update output and efficiency to match tooltip
Diffstat (limited to 'src/Java/gtPlusPlus/xmod')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_LargeSemifluidGenerator.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_LargeSemifluidGenerator.java b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_LargeSemifluidGenerator.java index ee859ddf3c..283963ed88 100644 --- a/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_LargeSemifluidGenerator.java +++ b/src/Java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/GregtechMetaTileEntity_LargeSemifluidGenerator.java @@ -115,7 +115,8 @@ public class GregtechMetaTileEntity_LargeSemifluidGenerator extends GregtechMeta continue; } - fuelConsumption = boostEu ? (4096 / aFuel.mSpecialValue) : (2048 / aFuel.mSpecialValue); //Calc fuel consumption + int newEUt = boostEu ? 4096 : 2048; + fuelConsumption = newEUt / aFuel.mSpecialValue; //Calc fuel consumption FluidStack tLiquid = new FluidStack(hatchFluid.getFluid(), fuelConsumption); if(depleteInput(tLiquid)) { //Deplete that amount // We checked beforehand, so both of these depletions should succeed. @@ -134,7 +135,7 @@ public class GregtechMetaTileEntity_LargeSemifluidGenerator extends GregtechMeta fuelValue = aFuel.mSpecialValue; fuelRemaining = hatchFluid.amount; //Record available fuel - this.mEUt = mEfficiency < 2000 ? 0 : 2048; //Output 0 if startup is less than 20% + this.mEUt = mEfficiency < 2000 ? 0 : newEUt; //Output 0 if startup is less than 20% this.mProgresstime = 1; this.mMaxProgresstime = 1; this.mEfficiencyIncrease = 15; @@ -286,7 +287,7 @@ public class GregtechMetaTileEntity_LargeSemifluidGenerator extends GregtechMeta } public int getMaxEfficiency(ItemStack aStack) { - return boostEu ? 20000 : 10000; + return boostEu ? 15000 : 10000; } @Override |