Skip to content

Commit

Permalink
Change block autogen to use material mass for duration (GTNewHorizons…
Browse files Browse the repository at this point in the history
…#3804)

Co-authored-by: Martin Robertz <[email protected]>
Co-authored-by: Maya <[email protected]>
  • Loading branch information
3 people authored Jan 15, 2025
1 parent 8fc72b3 commit ab402ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ else if (aMaterial != Materials.Clay && aMaterial != Materials.Basalt) {
.itemInputs(ItemList.Shape_Mold_Block.get(0L))
.itemOutputs(GTOreDictUnificator.get(OrePrefixes.block, aMaterial, 1L))
.fluidInputs(aMaterial.getMolten(1296L))
.duration(14 * SECONDS + 8 * TICKS)
.eut(8)
.duration(aMaterial.getMass() * 9 * TICKS)
.eut(calculateRecipeEU(aMaterial, 8))
.addTo(fluidSolidifierRecipes);
}
}
Expand Down Expand Up @@ -171,7 +171,7 @@ else if (aMaterial != Materials.Clay && aMaterial != Materials.Basalt) {
GTValues.RA.stdBuilder()
.itemInputs(GTOreDictUnificator.get(OrePrefixes.ingot, aMaterial, 9L))
.itemOutputs(GTOreDictUnificator.get(OrePrefixes.block, aMaterial, 1L))
.duration(15 * SECONDS)
.duration(aMaterial.getMass() * 2 * TICKS)
.eut(calculateRecipeEU(aMaterial, 2))
.addTo(compressorRecipes);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDic
GTValues.RA.stdBuilder()
.itemInputs(GTUtility.copyAmount(9, aStack), ItemList.Shape_Extruder_Block.get(0L))
.itemOutputs(GTOreDictUnificator.get(OrePrefixes.block, aMaterial.mSmeltInto, tAmount))
.duration((10 * tAmount) * TICKS)
.duration(aMaterialMass * 9 * TICKS)
.eut(calculateRecipeEU(aMaterial, 8 * tVoltageMultiplier))
.addTo(extruderRecipes);

Expand All @@ -67,7 +67,7 @@ public void registerOre(OrePrefixes aPrefix, Materials aMaterial, String aOreDic
GTValues.RA.stdBuilder()
.itemInputs(GTUtility.copyAmount(9, aStack), ItemList.Shape_Mold_Block.get(0L))
.itemOutputs(GTOreDictUnificator.get(OrePrefixes.block, aMaterial.mSmeltInto, tAmount))
.duration((5 * tAmount) * TICKS)
.duration(aMaterialMass * 9 * TICKS)
.eut(calculateRecipeEU(aMaterial, 4 * tVoltageMultiplier))
.recipeCategory(RecipeCategories.alloySmelterMolding)
.addTo(alloySmelterRecipes);
Expand Down

0 comments on commit ab402ce

Please sign in to comment.