neuralgia/kubejs/server_scripts/gregtech/recipes.machines.js
Pyritie f324e7e6da
New content for ULV + LV (#2873)
* require black steel plates before the forge hammer, add some blue steel things post-deployer that require a colored steel anvil, start refractory clay dust

* first draft of bakelite, new phenolic boards, new cupro coils

* add another page to the medicine quest

* cl

* backup of lv quests

* quest stuff and some recipe tweaks

* tweak

---------

Co-authored-by: Redeix <redeix.m@gmail.com>
2026-01-26 18:10:22 -06:00

955 lines
26 KiB
JavaScript

// priority: 0
"use strict";
/**
* @param {Internal.RecipesEventJS} event
*/
function registerGTCEuMachineRecipes(event) {
// Filter Casing
event.shaped('gtceu:filter_casing', [
'AAA',
'BBB',
'CDE'
], {
A: '#tfg:metal_bars',
B: 'gtceu:item_filter',
C: 'gtceu:mv_electric_motor',
D: 'gtceu:steel_frame',
E: '#forge:rotors/steel'
}).id('gtceu:shaped/filter_casing')
// Assembly Line Grating
event.shaped('2x gtceu:assembly_line_grating', [
'ABA',
'ACA',
'ADA'
], {
A: '#tfg:metal_bars',
B: '#forge:rotors/steel',
C: 'gtceu:steel_frame',
D: 'gtceu:mv_electric_motor'
}).id('gtceu:shaped/casing_grate_casing')
// #region Gas Collectors
event.shaped('gtceu:lv_gas_collector', [
'ABA',
'CEC',
'ADA'
], {
A: '#tfg:metal_bars',
B: 'gtceu:fluid_filter',
C: 'gtceu:lv_electric_pump',
D: '#gtceu:circuits/lv',
E: 'gtceu:lv_machine_hull'
}).id('gtceu:shaped/lv_gas_collector')
event.shaped('gtceu:mv_gas_collector', [
'ABA',
'CEC',
'ADA'
], {
A: '#tfg:metal_bars',
B: 'gtceu:fluid_filter',
C: 'gtceu:mv_electric_pump',
D: '#gtceu:circuits/mv',
E: 'gtceu:mv_machine_hull'
}).id('gtceu:shaped/mv_gas_collector')
event.shaped('gtceu:hv_gas_collector', [
'ABA',
'CEC',
'ADA'
], {
A: '#tfg:metal_bars',
B: 'gtceu:fluid_filter',
C: 'gtceu:hv_electric_pump',
D: '#gtceu:circuits/hv',
E: 'gtceu:hv_machine_hull'
}).id('gtceu:shaped/hv_gas_collector')
event.shaped('gtceu:ev_gas_collector', [
'ABA',
'CEC',
'ADA'
], {
A: '#tfg:metal_bars',
B: 'gtceu:fluid_filter',
C: 'gtceu:ev_electric_pump',
D: '#gtceu:circuits/ev',
E: 'gtceu:ev_machine_hull'
}).id('gtceu:shaped/ev_gas_collector')
event.shaped('gtceu:iv_gas_collector', [
'ABA',
'CEC',
'ADA'
], {
A: '#tfg:metal_bars',
B: 'gtceu:fluid_filter',
C: 'gtceu:iv_electric_pump',
D: '#gtceu:circuits/iv',
E: 'gtceu:iv_machine_hull'
}).id('gtceu:shaped/iv_gas_collector')
event.shaped('gtceu:luv_gas_collector', [
'ABA',
'CEC',
'ADA'
], {
A: '#tfg:metal_bars',
B: 'gtceu:fluid_filter',
C: 'gtceu:luv_electric_pump',
D: '#gtceu:circuits/luv',
E: 'gtceu:luv_machine_hull'
}).id('gtceu:shaped/luv_gas_collector')
event.shaped('gtceu:zpm_gas_collector', [
'ABA',
'CEC',
'ADA'
], {
A: '#tfg:metal_bars',
B: 'gtceu:fluid_filter',
C: 'gtceu:zpm_electric_pump',
D: '#gtceu:circuits/zpm',
E: 'gtceu:zpm_machine_hull'
}).id('gtceu:shaped/zpm_gas_collector')
event.shaped('gtceu:uv_gas_collector', [
'ABA',
'CEC',
'ADA'
], {
A: '#tfg:metal_bars',
B: 'gtceu:fluid_filter',
C: 'gtceu:uv_electric_pump',
D: '#gtceu:circuits/uv',
E: 'gtceu:uv_machine_hull'
}).id('gtceu:shaped/uv_gas_collector')
// #endregion
// #region Forge Hammers
event.shaped('gtceu:lv_forge_hammer', [
'ABA',
'CDC',
'AEA'
], {
A: 'gtceu:tin_single_cable',
B: 'gtceu:lv_electric_piston',
C: '#gtceu:circuits/lv',
D: 'gtceu:lv_machine_hull',
E: 'tfc:metal/anvil/steel',
}).id('gtceu:shaped/lv_forge_hammer')
event.shaped('gtceu:mv_forge_hammer', [
'ABA',
'CDC',
'AEA'
], {
A: 'gtceu:copper_single_cable',
B: 'gtceu:mv_electric_piston',
C: '#gtceu:circuits/mv',
D: 'gtceu:mv_machine_hull',
E: 'tfc:metal/anvil/steel',
}).id('gtceu:shaped/mv_forge_hammer')
event.shaped('gtceu:hv_forge_hammer', [
'ABA',
'CDC',
'AEA'
], {
A: 'gtceu:gold_single_cable',
B: 'gtceu:hv_electric_piston',
C: '#gtceu:circuits/hv',
D: 'gtceu:hv_machine_hull',
E: 'tfc:metal/anvil/steel',
}).id('gtceu:shaped/hv_forge_hammer')
event.shaped('gtceu:ev_forge_hammer', [
'ABA',
'CDC',
'AEA'
], {
A: 'gtceu:aluminium_single_cable',
B: 'gtceu:ev_electric_piston',
C: '#gtceu:circuits/ev',
D: 'gtceu:ev_machine_hull',
E: 'tfc:metal/anvil/black_steel',
}).id('gtceu:shaped/ev_forge_hammer')
event.shaped('gtceu:iv_forge_hammer', [
'ABA',
'CDC',
'AEA'
], {
A: 'gtceu:platinum_single_cable',
B: 'gtceu:iv_electric_piston',
C: '#gtceu:circuits/iv',
D: 'gtceu:iv_machine_hull',
E: 'tfc:metal/anvil/black_steel',
}).id('gtceu:shaped/iv_forge_hammer')
event.shaped('gtceu:luv_forge_hammer', [
'ABA',
'CDC',
'AEA'
], {
A: 'gtceu:niobium_titanium_single_cable',
B: 'gtceu:luv_electric_piston',
C: '#gtceu:circuits/luv',
D: 'gtceu:luv_machine_hull',
E: 'tfc:metal/anvil/black_steel',
}).id('gtceu:shaped/luv_forge_hammer')
event.shaped('gtceu:zpm_forge_hammer', [
'ABA',
'CDC',
'AEA'
], {
A: 'gtceu:vanadium_gallium_single_cable',
B: 'gtceu:zpm_electric_piston',
C: '#gtceu:circuits/zpm',
D: 'gtceu:zpm_machine_hull',
E: '#tfc:red_or_blue_anvil',
}).id('gtceu:shaped/zpm_forge_hammer')
event.shaped('gtceu:uv_forge_hammer', [
'ABA',
'CDC',
'AEA'
], {
A: 'gtceu:yttrium_barium_cuprate_single_cable',
B: 'gtceu:uv_electric_piston',
C: '#gtceu:circuits/uv',
D: 'gtceu:uv_machine_hull',
E: '#tfc:red_or_blue_anvil',
}).id('gtceu:shaped/uv_forge_hammer')
// #endregion
// #region Coke Oven
event.remove({ id: 'gtceu:shaped/casing_coke_bricks' })
event.remove({ id: 'gtceu:compressor/coke_bricks' })
event.shaped('gtceu:coke_oven_bricks', [
'ABA',
'BAB',
'ABA'
], {
A: 'tfc:mortar',
B: 'gtceu:coke_oven_brick'
}).id('tfg:shaped/coke_oven_bricks')
event.recipes.gtceu.assembler('tfg:coke_oven_bricks')
.itemInputs('4x gtceu:coke_oven_brick')
.inputFluids(Fluid.of('gtceu:concrete 90'))
.itemOutputs('gtceu:coke_oven_bricks')
.duration(50)
.EUt(2);
removeMaceratorRecipe(event, 'macerate_coke_oven')
event.recipes.gtceu.shaped('gtceu:coke_oven', [
'ABA',
'BCB',
'ABA'
], {
A: 'gtceu:coke_oven_bricks',
B: ChemicalHelper.get(TagPrefix.plate, GTMaterials.WroughtIron, 1),
C: '#forge:tools/wrenches'
}).addMaterialInfo().id('gtceu:shaped/coke_oven')
// Coke Oven Hatch
removeMaceratorRecipe(event, 'macerate_coke_oven_hatch')
event.recipes.tfc.no_remainder_shaped_crafting(
event.shaped('gtceu:coke_oven_hatch', [
'AB'
], {
A: 'gtceu:coke_oven_bricks',
B: '#tfc:barrels'
})
).id('tfg:shaped/coke_oven_hatch_barrel')
event.remove({ id: 'gtceu:arc_furnace/arc_coke_oven_hatch' })
event.recipes.gtceu.shaped('gtceu:coke_oven_hatch', [
'AB'
], {
A: 'gtceu:coke_oven_bricks',
B: '#forge:chests/wooden'
}).addMaterialInfo().id('gtceu:shaped/coke_oven_hatch')
//#endregion
// HP Steam Boilers
removeMaceratorRecipe(event, 'macerate_hp_steam_solid_boiler')
event.recipes.gtceu.shaped('gtceu:hp_steam_solid_boiler', [
'FEF',
'ADA',
'BCB'
], {
A: ChemicalHelper.get(TagPrefix.plate, GTMaterials.Steel, 1),
B: ChemicalHelper.get(TagPrefix.pipeSmallFluid, GTMaterials.TinAlloy, 1),
C: 'gtceu:steel_brick_casing',
D: 'tfc:crucible',
E: ChemicalHelper.get(TagPrefix.plate, GTMaterials.BlackSteel, 1),
F: ChemicalHelper.get(TagPrefix.rod, GTMaterials.Steel, 1)
}).addMaterialInfo().id('gtceu:shaped/steam_boiler_coal_steel')
removeMaceratorRecipe(event, 'macerate_hp_steam_liquid_boiler')
event.recipes.gtceu.shaped('gtceu:hp_steam_liquid_boiler', [
'FEF',
'ADA',
'BCB'
], {
A: ChemicalHelper.get(TagPrefix.plate, GTMaterials.Steel, 1),
B: ChemicalHelper.get(TagPrefix.pipeSmallFluid, GTMaterials.TinAlloy, 1),
C: 'gtceu:steel_brick_casing',
D: '#forge:glass',
E: ChemicalHelper.get(TagPrefix.plate, GTMaterials.BlackSteel, 1),
F: ChemicalHelper.get(TagPrefix.rod, GTMaterials.Steel, 1)
}).addMaterialInfo().id('gtceu:shaped/steam_boiler_lava_steel')
removeMaceratorRecipe(event, 'macerate_hp_steam_solar_boiler')
event.recipes.gtceu.shaped('gtceu:hp_steam_solar_boiler', [
'AAA',
'BCB',
'EDE'
], {
A: '#forge:glass_panes',
B: ChemicalHelper.get(TagPrefix.plateDouble, GTMaterials.Silver, 1),
C: ChemicalHelper.get(TagPrefix.plate, GTMaterials.BlackSteel, 1),
D: 'gtceu:steel_brick_casing',
E: ChemicalHelper.get(TagPrefix.pipeSmallFluid, GTMaterials.TinAlloy, 1),
}).addMaterialInfo().id('gtceu:shaped/steam_boiler_solar_steel')
// #region Other steam machines
removeMaceratorRecipe(event, 'macerate_hp_steam_extractor')
event.recipes.gtceu.shaped('gtceu:hp_steam_extractor', [
'BEB',
'CAC',
'DFD'
], {
A: 'gtceu:steel_brick_casing',
B: ChemicalHelper.get(TagPrefix.pipeSmallFluid, GTMaterials.TinAlloy, 1),
C: ChemicalHelper.get(TagPrefix.plate, GTMaterials.Steel, 1),
D: ChemicalHelper.get(TagPrefix.plate, GTMaterials.WroughtIron, 1),
E: '#forge:glass_panes',
F: ChemicalHelper.get(TagPrefix.ring, GTMaterials.BlackSteel, 1)
}).addMaterialInfo().id('gtceu:shaped/steam_extractor_steel')
removeMaceratorRecipe(event, 'macerate_hp_steam_macerator')
event.recipes.gtceu.shaped('gtceu:hp_steam_macerator', [
'BFB',
'CAC',
'DED'
], {
A: 'gtceu:steel_brick_casing',
B: '#forge:small_gears/wrought_iron',
C: ChemicalHelper.get(TagPrefix.plate, GTMaterials.Steel, 1),
D: ChemicalHelper.get(TagPrefix.rod, GTMaterials.BlackSteel, 1),
E: ChemicalHelper.get(TagPrefix.pipeSmallFluid, GTMaterials.TinAlloy, 1),
F: '#forge:raw_materials/diamond'
}).addMaterialInfo().id('gtceu:shaped/steam_macerator_steel')
removeMaceratorRecipe(event, 'macerate_hp_steam_compressor')
event.recipes.gtceu.shaped('gtceu:hp_steam_compressor', [
'BCB',
'EAE',
'DFD'
], {
A: 'gtceu:steel_brick_casing',
B: ChemicalHelper.get(TagPrefix.pipeSmallFluid, GTMaterials.TinAlloy, 1),
C: ChemicalHelper.get(TagPrefix.plate, GTMaterials.Steel, 1),
D: ChemicalHelper.get(TagPrefix.plate, GTMaterials.WroughtIron, 1),
E: 'minecraft:piston',
F: ChemicalHelper.get(TagPrefix.ingot, GTMaterials.BlackSteel, 1)
}).addMaterialInfo().id('gtceu:shaped/steam_compressor_steel')
removeMaceratorRecipe(event, 'macerate_hp_steam_forge_hammer')
event.recipes.gtceu.shaped('gtceu:hp_steam_forge_hammer', [
'DFD',
'BEB',
'CAC'
], {
A: 'gtceu:steel_brick_casing',
B: ChemicalHelper.get(TagPrefix.pipeSmallFluid, GTMaterials.TinAlloy, 1),
C: ChemicalHelper.get(TagPrefix.plate, GTMaterials.Steel, 1),
D: ChemicalHelper.get(TagPrefix.plate, GTMaterials.WroughtIron, 1),
E: ChemicalHelper.get(TagPrefix.ingot, GTMaterials.BlackSteel, 1),
F: 'minecraft:piston'
}).addMaterialInfo().id('gtceu:shaped/steam_hammer_steel')
removeMaceratorRecipe(event, 'macerate_hp_steam_furnace')
event.recipes.gtceu.shaped('gtceu:hp_steam_furnace', [
'BCB',
'DAD',
'FFF'
], {
A: 'gtceu:steel_brick_casing',
B: ChemicalHelper.get(TagPrefix.pipeSmallFluid, GTMaterials.TinAlloy, 1),
C: ChemicalHelper.get(TagPrefix.plate, GTMaterials.Steel, 1),
D: ChemicalHelper.get(TagPrefix.plate, GTMaterials.WroughtIron, 1),
F: ChemicalHelper.get(TagPrefix.rod, GTMaterials.BlackSteel, 1)
}).addMaterialInfo().id('gtceu:shaped/steam_furnace_steel')
removeMaceratorRecipe(event, 'macerate_hp_steam_alloy_smelter')
event.recipes.gtceu.shaped('gtceu:hp_steam_alloy_smelter', [
'FCF',
'DAD',
'CBC'
], {
A: 'gtceu:steel_brick_casing',
B: ChemicalHelper.get(TagPrefix.pipeSmallFluid, GTMaterials.TinAlloy, 1),
C: ChemicalHelper.get(TagPrefix.plate, GTMaterials.Steel, 1),
D: ChemicalHelper.get(TagPrefix.plate, GTMaterials.WroughtIron, 1),
F: ChemicalHelper.get(TagPrefix.rod, GTMaterials.BlackSteel, 1)
}).addMaterialInfo().id('gtceu:shaped/steam_alloy_smelter_steel')
removeMaceratorRecipe(event, 'macerate_hp_steam_rock_crusher')
event.recipes.gtceu.shaped('gtceu:hp_steam_rock_crusher', [
'ECE',
'BAB',
'DDD'
], {
A: 'gtceu:steel_brick_casing',
B: ChemicalHelper.get(TagPrefix.pipeSmallFluid, GTMaterials.TinAlloy, 1),
C: '#forge:drill_heads',
D: ChemicalHelper.get(TagPrefix.rod, GTMaterials.WroughtIron, 1),
E: ChemicalHelper.get(TagPrefix.screw, GTMaterials.WroughtIron, 1)
}).addMaterialInfo().id('gtceu:shaped/steam_rock_breaker_steel')
removeMaceratorRecipe(event, 'macerate_hp_steam_miner')
event.recipes.gtceu.shaped('gtceu:hp_steam_miner', [
'EFE',
'BAB',
'DCD'
], {
A: 'gtceu:steel_brick_casing',
B: ChemicalHelper.get(TagPrefix.pipeSmallFluid, GTMaterials.TinAlloy, 1),
C: '#forge:drill_heads',
D: ChemicalHelper.get(TagPrefix.rod, GTMaterials.Steel, 1),
E: ChemicalHelper.get(TagPrefix.plate, GTMaterials.WroughtIron, 1),
F: '#gtceu:circuits/ulv'
}).addMaterialInfo().id('gtceu:shaped/steam_miner_steel')
//#endregion
//#region Passthrough hatches
event.recipes.gtceu.shaped('gtceu:lv_item_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:lv_conveyor_module',
B: 'gtceu:small_wrought_iron_gear',
C: 'gtceu:lv_machine_hull',
D: '#tfg:default_chests'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_item_lv')
event.recipes.gtceu.shaped('gtceu:mv_item_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:mv_conveyor_module',
B: 'gtceu:small_bronze_gear',
C: 'gtceu:mv_machine_hull',
D: '#tfg:default_chests'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_item_mv')
event.recipes.gtceu.shaped('gtceu:ev_item_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:ev_conveyor_module',
B: 'gtceu:small_titanium_gear',
C: 'gtceu:ev_machine_hull',
D: '#tfg:default_chests'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_item_ev')
event.recipes.gtceu.shaped('gtceu:iv_item_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:iv_conveyor_module',
B: 'gtceu:small_tungsten_steel_gear',
C: 'gtceu:iv_machine_hull',
D: '#tfg:default_chests'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_item_iv')
event.recipes.gtceu.shaped('gtceu:luv_item_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:luv_conveyor_module',
B: 'gtceu:small_hsss_gear',
C: 'gtceu:luv_machine_hull',
D: '#tfg:default_chests'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_item_luv')
event.recipes.gtceu.shaped('gtceu:zpm_item_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:zpm_conveyor_module',
B: 'gtceu:small_osmiridium_gear',
C: 'gtceu:zpm_machine_hull',
D: '#tfg:default_chests'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_item_zpm')
event.recipes.gtceu.shaped('gtceu:uv_item_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:uv_conveyor_module',
B: 'gtceu:small_naquadah_alloy_gear',
C: 'gtceu:uv_machine_hull',
D: '#tfg:default_chests'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_item_uv')
event.recipes.gtceu.shaped('gtceu:lv_fluid_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:lv_electric_pump',
B: 'gtceu:bronze_small_fluid_pipe',
C: 'gtceu:lv_machine_hull',
D: '#forge:glass'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_fluid_lv')
event.recipes.gtceu.shaped('gtceu:mv_fluid_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:mv_electric_pump',
B: 'gtceu:steel_small_fluid_pipe',
C: 'gtceu:mv_machine_hull',
D: '#forge:glass'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_fluid_mv')
event.remove('gtceu:shaped/passthrough_hatch_fluid')
event.recipes.gtceu.shaped('gtceu:hv_fluid_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:hv_electric_pump',
B: 'gtceu:stainless_steel_small_fluid_pipe',
C: 'gtceu:hv_machine_hull',
D: 'gtceu:tempered_glass'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_fluid_hv')
event.recipes.gtceu.shaped('gtceu:ev_fluid_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:ev_electric_pump',
B: 'gtceu:titanium_small_fluid_pipe',
C: 'gtceu:ev_machine_hull',
D: 'gtceu:tempered_glass'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_fluid_ev')
event.recipes.gtceu.shaped('gtceu:iv_fluid_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:iv_electric_pump',
B: 'gtceu:tungsten_steel_small_fluid_pipe',
C: 'gtceu:iv_machine_hull',
D: 'gtceu:laminated_glass'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_fluid_iv')
event.recipes.gtceu.shaped('gtceu:luv_fluid_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:luv_electric_pump',
B: 'gtceu:niobium_titanium_small_fluid_pipe',
C: 'gtceu:luv_machine_hull',
D: 'gtceu:laminated_glass'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_fluid_luv')
event.recipes.gtceu.shaped('gtceu:zpm_fluid_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:zpm_electric_pump',
B: 'gtceu:polybenzimidazole_small_fluid_pipe',
C: 'gtceu:zpm_machine_hull',
D: 'gtceu:fusion_glass'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_fluid_zpm')
event.recipes.gtceu.shaped('gtceu:uv_fluid_passthrough_hatch', [
' A ',
'BCB',
' D '
], {
A: 'gtceu:uv_electric_pump',
B: 'gtceu:naquadah_small_fluid_pipe',
C: 'gtceu:uv_machine_hull',
D: 'gtceu:fusion_glass'
}).addMaterialInfo().id('gtceu:shaped/passthrough_hatch_fluid_uv')
//#endregion
//#region ULV Hatches
event.replaceInput({ id: 'gtceu:shaped/ulv_machine_hull' }, '#forge:plates/wood', '#forge:plates/lead')
event.recipes.gtceu.shaped('gtceu:ulv_input_bus', [
'CAC',
'CBC',
'CDC'
], {
A: '#forge:chests/wooden',
B: 'gtceu:ulv_machine_hull',
C: 'tfc:glue',
D: '#forge:tools/wrenches'
}).addMaterialInfo().id('gtceu:shaped/ulv_input_bus')
event.recipes.gtceu.shaped('gtceu:ulv_output_bus', [
'CDC',
'CBC',
'CAC'
], {
A: '#forge:chests/wooden',
B: 'gtceu:ulv_machine_hull',
C: 'tfc:glue',
D: '#forge:tools/wrenches'
}).addMaterialInfo().id('gtceu:shaped/ulv_output_bus')
event.recipes.gtceu.shaped('gtceu:ulv_input_hatch', [
'CAC',
'CBC',
'CDC'
], {
A: '#forge:glass',
B: 'gtceu:ulv_machine_hull',
C: 'tfc:glue',
D: '#forge:tools/wrenches'
}).addMaterialInfo().id('gtceu:shaped/ulv_input_hatch')
event.recipes.gtceu.shaped('gtceu:ulv_output_hatch', [
'CDC',
'CBC',
'CAC'
], {
A: '#forge:glass',
B: 'gtceu:ulv_machine_hull',
C: 'tfc:glue',
D: '#forge:tools/wrenches'
}).addMaterialInfo().id('gtceu:shaped/ulv_output_hatch')
//#endregion
//#region Long distance pipes
event.recipes.gtceu.assembler('long_distance_item_pipe')
.itemInputs('1x #forge:large_item_pipes/polyvinyl_chloride', '4x #forge:plates/vanadium_steel')
.inputFluids(Fluid.of('gtceu:soldering_alloy', 72))
.itemOutputs('32x gtceu:long_distance_item_pipeline')
.EUt(GTValues.VA[GTValues.HV])
.circuit(2)
.duration(300)
event.recipes.gtceu.assembler('long_distance_fluid_pipe')
.itemInputs('1x #forge:large_fluid_pipes/vanadium_steel', '4x #forge:plates/polyvinyl_chloride')
.inputFluids(Fluid.of('gtceu:soldering_alloy', 72))
.itemOutputs('32x gtceu:long_distance_fluid_pipeline')
.EUt(GTValues.VA[GTValues.HV])
.circuit(2)
.duration(300)
event.recipes.gtceu.assembler('long_distance_item_endpoint')
.itemInputs('2x #forge:large_item_pipes/polyvinyl_chloride', '8x #forge:plates/vanadium_steel', '2x #forge:gears/stainless_steel')
.inputFluids(Fluid.of('gtceu:soldering_alloy', 144))
.itemOutputs('2x gtceu:long_distance_item_pipeline_endpoint')
.EUt(GTValues.VA[GTValues.HV])
.circuit(1)
.duration(400)
.addMaterialInfo(true, true)
event.recipes.gtceu.assembler('long_distance_fluid_endpoint')
.itemInputs('2x #forge:large_fluid_pipes/vanadium_steel', '8x #forge:plates/polyvinyl_chloride', '2x #forge:gears/stainless_steel')
.inputFluids(Fluid.of('gtceu:soldering_alloy', 144))
.itemOutputs('2x gtceu:long_distance_fluid_pipeline_endpoint')
.EUt(GTValues.VA[GTValues.HV])
.circuit(1)
.duration(400)
.addMaterialInfo(true, true)
//#endregion
// Drums
const DRUMS_AND_CRATES = [
'bismuth_bronze',
'black_bronze'
]
DRUMS_AND_CRATES.forEach(material => {
event.shapeless(`gtceu:${material}_drum`, [`gtceu:${material}_drum`]).id(`tfg:shapeless/drum_nbt_${material}`)
event.shaped(`gtceu:${material}_drum`, [
' A ',
'BCB',
'BCB'
], {
A: '#forge:tools/hammers',
B: `#forge:plates/${material}`,
C: `#forge:rods/long/${material}`
}).id(`tfg:shaped/${material}_drum`)
event.shaped(`gtceu:${material}_crate`, [
'CBC',
'BAB',
'CBC'
], {
A: '#forge:tools/hammers',
B: `#forge:plates/${material}`,
C: `#forge:rods/long/${material}`
}).id(`tfg:shaped/${material}_crate`)
event.recipes.gtceu.assembler(`gtceu:${material}_drum`)
.itemInputs(`4x #forge:plates/${material}`, `2x #forge:rods/long/${material}`)
.itemOutputs(`gtceu:${material}_drum`)
.duration(200)
.EUt(16)
.circuit(2)
.addMaterialInfo(true)
event.recipes.gtceu.assembler(`gtceu:${material}_crate`)
.itemInputs(`4x #forge:plates/${material}`, `4x #forge:rods/long/${material}`)
.itemOutputs(`gtceu:${material}_crate`)
.duration(200)
.EUt(16)
.circuit(1)
.addMaterialInfo(true)
})
// Wooden crate
event.recipes.shaped('gtceu:wood_crate', [
'ABA',
'BCB',
'ABA'
], {
A: '#forge:screws/wrought_iron',
B: '#minecraft:planks',
C: '#forge:tools/saws'
}).id('tfg:shaped/wooden_crate_wrought_iron')
event.recipes.gtceu.assembler('tfg:wood_crate')
.itemInputs('4x #minecraft:planks', '4x #forge:screws/wrought_iron')
.itemOutputs('gtceu:wood_crate')
.duration(100)
.EUt(16)
.circuit(5)
event.recipes.shaped('gtceu:wood_crate', [
'ABA',
'BCB',
'ABA'
], {
A: '#forge:screws/any_bronze',
B: '#minecraft:planks',
C: '#forge:tools/saws'
}).id('tfg:shaped/wooden_crate_bronze')
event.recipes.gtceu.assembler('tfg:wood_crate_bronze')
.itemInputs('4x #minecraft:planks', '4x #forge:screws/any_bronze')
.itemOutputs('gtceu:wood_crate')
.duration(100)
.EUt(16)
.circuit(5)
// Steam multi parts
removeMaceratorRecipe(event, 'macerate_steel_machine_casing')
event.recipes.gtceu.shaped('gtceu:steel_machine_casing', [
' A ',
'ABA',
' A '
], {
A: ChemicalHelper.get(TagPrefix.ingot, GTMaterials.Steel, 1),
B: '#forge:tools/hammers'
}).addMaterialInfo().id('gtceu:shaped/steel_hull')
event.recipes.gtceu.shaped('gtceu:bronze_machine_casing', [
' A ',
'ABA',
' A '
], {
A: ChemicalHelper.get(TagPrefix.ingot, GTMaterials.Bronze, 1),
B: '#forge:tools/hammers'
}).addMaterialInfo().id('gtceu:shaped/bronze_hull')
event.recipes.gtceu.assembler('bronze_machine_casing')
.itemInputs('4x #forge:ingots/bronze')
.itemOutputs('gtceu:bronze_machine_casing')
.circuit(6)
.duration(2.5 * 20)
.EUt(GTValues.VHA[GTValues.LV])
removeMaceratorRecipe(event, 'macerate_steam_input_hatch')
event.recipes.gtceu.shaped('gtceu:steam_input_hatch', [
'ACA',
' B ',
'ACA'
], {
A: ChemicalHelper.get(TagPrefix.screw, GTMaterials.WroughtIron, 1),
B: 'gtceu:steel_machine_casing',
C: ChemicalHelper.get(TagPrefix.pipeSmallFluid, GTMaterials.Steel, 1)
}).addMaterialInfo().id('gtceu:shaped/steam_hatch')
removeMaceratorRecipe(event, 'macerate_steam_grinder')
event.recipes.gtceu.shaped('gtceu:steam_grinder', [
'ABA',
'ACA',
'ABA'
], {
A: 'gtceu:bronze_plate',
B: ChemicalHelper.get(TagPrefix.gear, GTMaterials.Potin, 1),
C: 'gtceu:hp_steam_macerator'
}).addMaterialInfo().id('gtceu:shaped/steam_grinder')
removeMaceratorRecipe(event, 'macerate_steam_oven')
event.recipes.gtceu.shaped('gtceu:steam_oven', [
'ABA',
'ACA',
'ABA'
], {
A: 'gtceu:bronze_plate',
B: ChemicalHelper.get(TagPrefix.gear, GTMaterials.Invar, 1),
C: 'gtceu:hp_steam_furnace'
}).addMaterialInfo().id('gtceu:shaped/steam_oven')
event.replaceInput({ id: 'gtceu:shaped/hv_cutter' }, 'gtceu:red_steel_buzz_saw_blade', 'gtceu:diamond_buzz_saw_blade')
removeMaceratorRecipe(event, 'macerate_steam_input_bus')
event.recipes.gtceu.shaped('gtceu:steam_input_bus', ['A', 'B'], {
A: '#forge:chests/wooden',
B: 'gtceu:steam_machine_casing'
}).addMaterialInfo().id('gtceu:shaped/steam_input_bus')
removeMaceratorRecipe(event, 'macerate_steam_output_bus')
event.recipes.gtceu.shaped('gtceu:steam_output_bus', ['B', 'A'], {
A: '#forge:chests/wooden',
B: 'gtceu:steam_machine_casing'
}).addMaterialInfo().id('gtceu:shaped/steam_output_bus')
// the recycling fix only works if the addMaterialInfo() is on the shaped recipe, NOT the assembler
removeMaceratorRecipe(event, 'macerate_palladium_substation')
event.recipes.gtceu.shaped('gtceu:palladium_substation', [
'AAA',
' B ',
'AAA'
], {
A: ChemicalHelper.get(TagPrefix.plate, GTMaterials.Palladium, 1),
B: ChemicalHelper.get(TagPrefix.frameGt, GTMaterials.Ultimet, 1)
}).addMaterialInfo().id('tfg:shaped/casing_palladium_substation')
event.recipes.gtceu.assembler('casing_palladium_substation')
.itemInputs(
ChemicalHelper.get(TagPrefix.plate, GTMaterials.Palladium, 6),
ChemicalHelper.get(TagPrefix.frameGt, GTMaterials.Ultimet, 1)
)
.itemOutputs('gtceu:palladium_substation')
.circuit(6)
.duration(20 * 2.5)
.EUt(GTValues.VHA[GTValues.LV])
removeMaceratorRecipe(event, 'macerate_power_substation')
event.recipes.gtceu.shaped('gtceu:power_substation', [
'ABA',
'CDC',
'ABA'
], {
A: 'gtceu:lapotron_crystal',
B: 'gtceu:mpic_chip',
C: '#gtceu:circuits/ev',
D: 'gtceu:palladium_substation'
}).addMaterialInfo().id('gtceu:shaped/power_substation')
event.recipes.gtceu.shaped('2x gtceu:industrial_steam_casing', [
'ABA',
'ACA',
'ADA'
], {
A: '#forge:plates/brass',
B: '#forge:tools/hammers',
C: '#forge:frames/steel',
D: '#forge:tools/wrenches'
}).addMaterialInfo().id('tfg:shaped/industrial_steam_casing')
event.recipes.gtceu.assembler('industrial_steam_casing')
.itemInputs('6x #forge:plates/brass', '#forge:frames/steel')
.itemOutputs('2x gtceu:industrial_steam_casing')
.circuit(6)
.duration(2.5 * 20)
.EUt(GTValues.VHA[GTValues.LV])
// Steam generators
event.remove({ id: 'gtceu:shaped/steam_turbine_lv' })
removeMaceratorRecipe(event, 'macerate_lv_steam_turbine')
event.recipes.gtceu.shaped('gtceu:lv_steam_turbine', [
'BAB',
'CDC',
'EFE'
], {
A: '#gtceu:circuits/lv',
B: '#forge:huge_fluid_pipes/steel',
C: '#forge:rotors/cobalt_brass',
D: 'gtceu:lv_machine_hull',
E: 'gtceu:lv_electric_motor',
F: '#forge:single_cables/tin'
}).addMaterialInfo().id('tfg:shaped/steam_turbine_lv')
event.remove({ id: 'gtceu:shaped/steam_turbine_mv' })
removeMaceratorRecipe(event, 'macerate_mv_steam_turbine')
event.recipes.gtceu.shaped('gtceu:mv_steam_turbine', [
'BAB',
'CDC',
'EFE'
], {
A: '#gtceu:circuits/mv',
B: '#forge:huge_fluid_pipes/aluminium',
C: '#forge:rotors/magnalium',
D: 'gtceu:mv_machine_hull',
E: 'gtceu:mv_electric_motor',
F: '#forge:single_cables/copper'
}).addMaterialInfo().id('tfg:shaped/steam_turbine_mv')
event.remove({ id: 'gtceu:shaped/steam_turbine_hv' })
removeMaceratorRecipe(event, 'macerate_hv_steam_turbine')
event.recipes.gtceu.shaped('gtceu:hv_steam_turbine', [
'BAB',
'CDC',
'EFE'
], {
A: '#gtceu:circuits/hv',
B: '#forge:huge_fluid_pipes/stainless_steel',
C: '#forge:rotors/vanadium_steel',
D: 'gtceu:hv_machine_hull',
E: 'gtceu:hv_electric_motor',
F: '#forge:single_cables/gold'
}).addMaterialInfo().id('tfg:shaped/steam_turbine_hv')
}