Integer Limit 2cfdcb10e2
Update to GT 2.8.* & Integrate Nomi Labs (#619)
Co-authored-by: tracer4b <61507029+tracer4b@users.noreply.github.com>
Co-authored-by: Serenibyss <10861407+serenibyss@users.noreply.github.com>
Co-authored-by: Sylvia <skraman1999@gmail.com>
Co-authored-by: windyknight <windyknight@users.noreply.github.com>
Co-authored-by: Ghzdude <44148655+ghzdude@users.noreply.github.com>

[BREAKING]
2024-03-24 23:45:47 +11:00

57 lines
2.4 KiB
Groovy

import static gregtech.api.GTValues.*
// Rhodium Plated Palladium -> Rhodium Plated Lumium-Palladium
material('rhodium_plated_palladium')
.changeComposition()
.setComponents([materialstack('palladium') * 3, materialstack('rhodium'), materialstack('nomilabs:lumium') * 2])
.changeABS()
.changeMixer()
.changeDecompositionRecipes()
.changeChemicalFormula()
.change()
// Can't use change composition to remove, as that is only performed at the end of running scripts, and if not removed, conflicts will occur.
// TODO Make this use change composition when that accepts non-material Item Stacks
/* Black Steel */
// Remove ABS Recipes
mods.gregtech.alloy_blast_smelter.removeByOutput(null, [fluid('black_steel')], null, null)
// Remove Mixer Recipes
mods.gregtech.mixer.removeByOutput([metaitem('dustBlackSteel')], null, null, null)
// Remove Decomp Recipe
mods.gregtech.centrifuge.removeByInput([metaitem('dustBlackSteel')], null)
// Normal Mixer Recipe
mods.gregtech.mixer.recipeBuilder()
.inputs(metaitem('dustSteel') * 3, metaitem('dustBlackBronze') * 2, item('actuallyadditions:item_crystal', 3) * 2, item('extrautils2:ingredients', 4) * 2)
.outputs(metaitem('dustBlackSteel') * 9)
.EUt(VHA[LV]).duration(200)
.buildAndRegister()
/* Black Steel Shortcut */
// Normal recipe would be 50 ticks per recipe at HV overclock, plus 125 ticks for the Black Bronze step,
// for a total of 375 ticks. This recipe is 5 batches at once, so is equivalent time but saves a step.
mods.gregtech.mixer.recipeBuilder()
.inputs(metaitem('dustSteel') * 15, metaitem('dustCopper') * 6, metaitem('dustGold') * 2, metaitem('dustSilver') * 2, item('actuallyadditions:item_crystal', 3) * 10, item('extrautils2:ingredients', 4) * 10)
.outputs(metaitem('dustBlackSteel') * 45)
.EUt(VHA[HV]).duration(375)
.buildAndRegister()
// Decomp Recipe
mods.gregtech.centrifuge.recipeBuilder()
.inputs(metaitem('dustBlackSteel') * 9)
.outputs(metaitem('dustSteel') * 3, metaitem('dustBlackBronze') * 2, item('actuallyadditions:item_crystal', 3) * 2, item('extrautils2:ingredients', 4) * 2)
.EUt(VA[LV] * 2)
.duration(480)
.buildAndRegister()
// Change Chem Formula
material('black_steel')
.changeComposition()
.setComponents([materialstack('black_bronze') * 2, materialstack('steel') * 3])
.changeChemicalFormula()
.change()