Fixed a bug where excess fuel didn't consider the distortion from
runtimeBoost. Adjusted the decimal points of the Large Boiler fuel tab to better represent the actual burn times.
This commit is contained in:
parent
baa9caf06b
commit
eb45688648
2 changed files with 6 additions and 6 deletions
|
@ -1413,10 +1413,10 @@ public class GT_Recipe implements Comparable<GT_Recipe> {
|
|||
double tungstensteelBurnTime = baseBurnTime * 1.2;
|
||||
|
||||
recipe.setNeiDesc("Burn time in seconds:",
|
||||
String.format("Bronze Boiler: %.2f", bronzeBurnTime),
|
||||
String.format("Steel Boiler: %.2f", steelBurnTime),
|
||||
String.format("Titanium Boiler: %.2f", titaniumBurnTime),
|
||||
String.format("Tungstensteel Boiler: %.2f", tungstensteelBurnTime));
|
||||
String.format("Bronze Boiler: %.4f", bronzeBurnTime),
|
||||
String.format("Steel Boiler: %.4f", steelBurnTime),
|
||||
String.format("Titanium Boiler: %.4f", titaniumBurnTime),
|
||||
String.format("Tungstensteel Boiler: %.4f", tungstensteelBurnTime));
|
||||
return super.addRecipe(recipe);
|
||||
}
|
||||
|
||||
|
|
|
@ -134,11 +134,11 @@ public abstract class GT_MetaTileEntity_LargeBoiler
|
|||
ArrayList<ItemStack> tInputList = getStoredInputs();
|
||||
if (!tInputList.isEmpty()) {
|
||||
for (ItemStack tInput : tInputList) {
|
||||
if ((GT_Utility.getFluidForFilledItem(tInput, true) == null) && ((this.mMaxProgresstime = runtimeBoost(GT_ModHandler.getFuelValue(tInput) / 80)) > 0)) {
|
||||
if ((GT_Utility.getFluidForFilledItem(tInput, true) == null) && ((this.mMaxProgresstime = GT_ModHandler.getFuelValue(tInput) / 80) > 0)) {
|
||||
this.excessFuel += GT_ModHandler.getFuelValue(tInput) % 80;
|
||||
this.mMaxProgresstime += this.excessFuel / 80;
|
||||
this.excessFuel %= 80;
|
||||
this.mMaxProgresstime = adjustBurnTimeForConfig(this.mMaxProgresstime);
|
||||
this.mMaxProgresstime = adjustBurnTimeForConfig(runtimeBoost(this.mMaxProgresstime));
|
||||
this.mEUt = adjustEUtForConfig(getEUt());
|
||||
this.mEfficiencyIncrease = (this.mMaxProgresstime * getEfficiencyIncrease());
|
||||
this.mOutputItems = new ItemStack[]{GT_Utility.getContainerItem(tInput, true)};
|
||||
|
|
Loading…
Reference in a new issue