Skip to content

Commit

Permalink
Merge remote-tracking branch 'StaffiX/pcb' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master committed Dec 23, 2024
2 parents 85c0b92 + fff4148 commit 165ce0f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ protected CheckRecipeResult validateRecipe(@Nonnull GTRecipe recipe) {
}
}
}
maxParallel = (int) Math.max(Math.ceil(Math.log(numberOfNanites) / Math.log(2) + 0.00001), 1);
maxParallel = (int) Math.min(Math.max(Math.ceil(Math.pow(numberOfNanites, 0.75)), 1), 256);
mMaxParallel = maxParallel;

PCBFactoryUpgrade requiredUpgrade = recipe.getMetadata(PCBFactoryUpgradeKey.INSTANCE);
Expand Down Expand Up @@ -846,8 +846,8 @@ protected MultiblockTooltipBuilder createTooltip() {
.addInfo("Each tier and upgrade requires additional structures.")
.addInfo("Power consumption is multiplied by Sqrt(structures).")
.addInfo("Tier 2 and 3 allow parallel by using extra nanites.")
.addInfo("Every doubling of nanites adds one parallel.")
.addInfo("1x->1, 2x->2, 4x->3, 8x->4 with no limit.")
.addInfo("The formula for parallels is the amount of nanites^0.75, rounded up.")
.addInfo("Maximum parallel is 256.")
.addInfo("Recipes require a cooling upgrade to be overclocked.")
.addInfo("Liquid Cooling uses 10 L/s of distilled water and enables default overclocks.")
.addInfo("Thermosink uses 10 L/s of Super Coolant and enables perfect overclocks.")
Expand Down

0 comments on commit 165ce0f

Please sign in to comment.