Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a small bonus applied to fuels with large burntime to GT large boilers. #3418

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,16 @@ public CheckRecipeResult checkProcessing() {
if (this.mEfficiencyIncrease > 5000) {
this.mEfficiencyIncrease = 0;
this.mSuperEfficencyIncrease = 20;

// Increase burntime by a small amount based on the initial burntime value.
// Balanced to the approx 16 percent increase for 5x Compressed Coal Coke in the GT++
// boiler line
// Percentage increases on a base 9 log scale with a base of 1600 (coal / charcoal)
double logScale = Math.log((float) GTModHandler.getFuelValue(tInput) / 1600)
/ Math.log(9);
double ratio = 1 + logScale * 0.025;

this.mMaxProgresstime = (int) (this.mProgresstime * ratio);
}
return CheckRecipeResultRegistry.SUCCESSFUL;
}
Expand Down
Loading