[EXPAND] [[messages]] messageTitle = "Update AE2 Unofficial Extended Life (#712)" messageBody = ''' [FEATURE] [QOL] ''' [[messages]] messageTitle = "Update Neeve's AE2 Additions (#712)" messageBody = ''' [FEATURE] [DETAILS] details = ["Adds Many QoL Features", "Adds Larger Cells and Crafting Storage"] [DETAILS] ''' [EXPAND] Co-authored-by: Integer Limit <103940576+IntegerLimit@users.noreply.github.com> Co-authored-by: tracer4b <61507029+tracer4b@users.noreply.github.com>
57 lines
2.3 KiB
Groovy
57 lines
2.3 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()
|