fix big diesel EUt with oxygen
This commit is contained in:
parent
5830850f5b
commit
0c74e44a03
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ public class GT_MetaTileEntity_DieselEngine extends GT_MetaTileEntity_MultiBlock
|
|||
|
||||
fuelValue = aFuel.mSpecialValue;
|
||||
fuelRemaining = hatchFluid1.amount; //Record available fuel
|
||||
this.mEUt = mEfficiency < 2000 ? 0 : (int) (2048 * (((float) Math.min(mEfficiency,10000)) / 10000)); //Output 0 if startup is less than 20%
|
||||
this.mEUt = mEfficiency < 2000 ? 0 : (int) ((boostEu?3:1) * 2048 * (((float) Math.min(mEfficiency,10000)) / 10000)); //Output 0 if startup is less than 20%
|
||||
this.mProgresstime = 1;
|
||||
this.mMaxProgresstime = 1;
|
||||
this.mEfficiencyIncrease = 15;
|
||||
|
@ -254,7 +254,7 @@ public class GT_MetaTileEntity_DieselEngine extends GT_MetaTileEntity_MultiBlock
|
|||
"Stored Energy:",
|
||||
EnumChatFormatting.GREEN + Long.toString(storedEnergy) + EnumChatFormatting.RESET +" EU / "+
|
||||
EnumChatFormatting.YELLOW + Long.toString(maxEnergy) + EnumChatFormatting.RESET +" EU",
|
||||
"Current Output: "+EnumChatFormatting.RED+(-mEUt*mEfficiency/10000)+EnumChatFormatting.RESET+" EU/t",
|
||||
"Current Output: "+EnumChatFormatting.RED+(-mEUt)+EnumChatFormatting.RESET+" EU/t",
|
||||
"Fuel Consumption: "+EnumChatFormatting.YELLOW+fuelConsumption+EnumChatFormatting.RESET+" L/t",
|
||||
"Fuel Value: "+EnumChatFormatting.YELLOW+fuelValue+EnumChatFormatting.RESET+" EU/L",
|
||||
"Fuel Remaining: "+EnumChatFormatting.GOLD+fuelRemaining+EnumChatFormatting.RESET+" L",
|
||||
|
|
Loading…
Reference in a new issue