Skip to content

Commit

Permalink
Allow HILE to tierskip
Browse files Browse the repository at this point in the history
  • Loading branch information
FourIsTheNumber committed Sep 29, 2024
1 parent ffe89f8 commit 66a8d43
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ protected MultiblockTooltipBuilder createTooltip() {
.addInfo("200% faster than single block machines of the same voltage")
.addInfo("Uses 80% of the EU normally required")
.addInfo("Laser source hatch determines maximum recipe tier and parallels")
.addInfo("Can perform recipes up to laser source tier + 1")
.addInfo("Parallels equal to the cube root of laser source amperage input")
.addInfo("Glass tier determines maximum laser source tier")
.addInfo("Only accepts borosilicate glass (no, really)")
Expand Down Expand Up @@ -326,7 +327,7 @@ protected ProcessingLogic createProcessingLogic() {
@NotNull
@Override
protected CheckRecipeResult validateRecipe(@Nonnull GTRecipe recipe) {
if (laserTier < VoltageIndex.UXV && recipe.mEUt > GTValues.V[laserTier]) {
if (laserTier < VoltageIndex.UXV && recipe.mEUt > (GTValues.V[laserTier + 1])) {
return SimpleCheckRecipeResult.ofFailure("laser_insufficient");
}
return CheckRecipeResultRegistry.SUCCESSFUL;
Expand Down

0 comments on commit 66a8d43

Please sign in to comment.