Adds recycling recipes for some GT parts and hatches. Fixes #780. /* Github Stuff */ [FEATURE] [DETAILS] details = [ "**Adds Recycling Recipes For:**", "LuV+ Parts", "LuV+ Energy Hatches", "4A and 16A Energy Hatches", "Adjustable Transformers", "Substation Hatches", "Laser Hatches", "Misc Batteries", ] [DETAILS] [FIXUP] sha = "226cd449fe4844b2b2c84cebdd6bfaf3cec9a313" newBody = ''' [EXPAND] [[messages]] messageTitle = "Port Tooltips to Groovy (#796)" messageBody = """ [FEATURE] [DETAILS] detail = \"Tooltips are now Localisable!\" [DETAILS] """ [[messages]] messageTitle = "Fix Fluids in JEI (#796)" messageBody = """ [BUG] [DETAILS] details = [ \"Fixes Some Fluids being Items in JEI\", \"Adds Information about Temperature to all Fluids\", ] [DETAILS] """ [EXPAND] ''' [FIXUP] Co-authored-by: Integer Limit <103940576+IntegerLimit@users.noreply.github.com>
25 lines
1.4 KiB
Groovy
Executable File
25 lines
1.4 KiB
Groovy
Executable File
import static com.nomiceu.nomilabs.groovy.GroovyHelpers.RecyclingHelpers.*
|
|
|
|
// Pyrolyse Oven
|
|
replaceRecipeInput(metaitem('pyrolyse_oven'), [
|
|
[metaitem('electric.piston.lv'), ore('circuitLv'), ore('wireGtQuadrupleCupronickel')],
|
|
[ore('circuitLv'), metaitem('hull.ulv'), ore('circuitLv')],
|
|
[metaitem('electric.piston.lv'), metaitem('electric.pump.lv'), ore('wireGtQuadrupleCupronickel')]])
|
|
|
|
// HV Coil
|
|
mods.gregtech.assembler.removeByInput(480, [metaitem('stickSteelMagnetic'), metaitem('wireFineBlackSteel') * 16, metaitem('circuit.integrated').withNbt([Configuration: 1])], null)
|
|
mods.gregtech.assembler.recipeBuilder()
|
|
.inputs(metaitem('stickSteelMagnetic'), metaitem('wireFineSilver') * 16)
|
|
.circuitMeta(1)
|
|
.outputs(metaitem('voltage_coil.hv'))
|
|
.changeRecycling()
|
|
.duration(200)
|
|
.EUt(480)
|
|
.buildAndRegister()
|
|
|
|
// Refresh HV Energy and HV Dynamo Recipes
|
|
// Since stacks are not stored, they cannot simply be reloaded, we must recall.
|
|
// TODO Remove once we get Recursive Recycling Removal
|
|
changeStackRecycling(metaitem('energy_hatch.input.hv'), [metaitem('hull.hv'), metaitem('springGold') * 2, metaitem('plate.low_power_integrated_circuit') * 2, metaitem('voltage_coil.hv')])
|
|
changeStackRecycling(metaitem('energy_hatch.output.hv'), [metaitem('hull.hv'), metaitem('cableGtSingleGold') * 2, metaitem('plate.low_power_integrated_circuit') * 2, metaitem('voltage_coil.hv')])
|