Skip to content

Commit

Permalink
fix pyrolyse speed (GregTechCEu#2449)
Browse files Browse the repository at this point in the history
  • Loading branch information
TechLord22 authored Jun 4, 2024
1 parent 153ebab commit 09e44d9
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,12 @@ protected void modifyOverclockPost(int[] resultOverclock, @NotNull IRecipeProper
return;

if (coilTier == 0) {
resultOverclock[1] *= 5.0 / 4; // 25% slower with cupronickel (coilTier = 0)
} else resultOverclock[1] *= 2.0f / (coilTier + 1); // each coil above kanthal (coilTier = 1) is 50% faster
// 75% speed with cupronickel (coilTier = 0)
resultOverclock[1] = 4 * resultOverclock[1] / 3;
} else {
// each coil above kanthal (coilTier = 1) is 50% faster
resultOverclock[1] = resultOverclock[1] * 2 / (coilTier + 1);
}

resultOverclock[1] = Math.max(1, resultOverclock[1]);
}
Expand Down

0 comments on commit 09e44d9

Please sign in to comment.