This commit is contained in:
Pyritie 2025-05-13 10:55:31 +01:00
commit 9262133484
38 changed files with 1167 additions and 371 deletions

View file

@ -98,7 +98,6 @@ const registerGTCEURecipes = (event) => {
.outputFluids(Fluid.of('gtceu:chlorine', 500), Fluid.of('gtceu:hydrogen', 500))
.duration(720)
.EUt(30)
.circuit(2)
//#endregion
@ -1056,6 +1055,36 @@ const registerGTCEURecipes = (event) => {
//#endregion
//#region Large boilers fuel rebalance
// Balance is based on adjusting to match singeblock boiler efficiency
// High Pressure Steam Solid Boiler produces 288,000 mB steam/coke
// High Pressure Steam Liquid Boiler produces 432 mB steam/creosote
// By Defualt: Large Bronze Boiler produces 50mB steam/creosote, 32000mB steam/coke
// This is a factor of 9x for solids, 8.64x for liquids
// Large boiler fuel burn time is multiplied by 9, resulting in less fuel used over time for the same amount of steam produced per tick
event.findRecipes({ id: /^gtceu:large_boiler\/.*/, type: "gtceu:large_boiler" }).forEach(large_boiler_recipe => {
let recipe_duration = large_boiler_recipe.json.getAsJsonPrimitive("duration").asInt
large_boiler_recipe.json.remove("duration")
large_boiler_recipe.json.add("duration", recipe_duration * 9)
})
//#endregion
//#region Hopper
event.recipes.gtceu.assembler('gtceu:assembler/hopper_wrought_iron')
.itemInputs('#forge:chests', '5x #forge:plates/wrought_iron')
.itemOutputs('minecraft:hopper')
.circuit(8)
.duration(200)
.EUt(2)
//#endregion
// TODO: Greate again...
event.shapeless('gtceu:programmed_circuit', ['minecraft:stick', '#forge:tools/wrenches'])
.id('tfg:shapeless/programmed_circuit_from_stick')

View file

@ -749,4 +749,53 @@ function registerGTCEuMachineRecipes(event) {
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
})
// 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('gtceu:wood_crate')
.itemInputs('4x #minecraft:planks', '4x #forge:screws/wrought_iron')
.itemOutputs('gtceu:wood_crate')
.duration(100)
.EUt(16)
.circuit(5)
// Steam multi parts
event.shaped('gtceu:steel_machine_casing', [
' A ',
'ABA',
' A '
], {
A: '#forge:ingots/steel',
B: '#forge:tools/hammers'
}).id('gtceu:shaped/steel_hull')
event.shaped('gtceu:steam_input_hatch', [
'ACA',
' B ',
'ACA'
], {
A: '#forge:screws/wrought_iron',
B: 'gtceu:steel_machine_casing',
C: '#forge:small_fluid_pipes/steel'
}).id('gtceu:shaped/steam_hatch')
event.replaceOutput({ id: 'gtceu:macerator/macerate_steel_machine_casing'}, 'gtceu:steel_dust', '4x gtceu:steel_dust')
event.replaceOutput({ id: 'gtceu:arc_furnace/arc_steel_machine_casing'}, 'gtceu:steel_ingot', '4x gtceu:steel_ingot')
event.replaceOutput({ id: 'gtceu:macerator/macerate_steam_input_bus'}, 'gtceu:steel_dust', '4x gtceu:steel_dust')
event.replaceOutput({ id: 'gtceu:arc_furnace/arc_steam_input_bus'}, 'gtceu:steel_ingot', '4x gtceu:steel_ingot')
event.replaceOutput({ id: 'gtceu:macerator/macerate_steam_output_bus'}, 'gtceu:steel_dust', '4x gtceu:steel_dust')
event.replaceOutput({ id: 'gtceu:arc_furnace/arc_steam_output_bus'}, 'gtceu:steel_ingot', '4x gtceu:steel_ingot')
event.replaceOutput({ id: 'gtceu:macerator/macerate_steam_input_hatch'}, 'gtceu:steel_dust', '6x gtceu:steel_dust')
event.replaceOutput({ id: 'gtceu:arc_furnace/arc_steam_input_hatch'}, 'gtceu:steel_block', '6x gtceu:steel_ingot')
}

View file

@ -119,4 +119,68 @@ function registerGTCEURecyclingRecipes(event) {
.duration(GTMaterials.Neutronium.getMass() * 6)
.category(GTRecipeCategories.EXTRACTOR_RECYCLING)
.EUt(GTValues.VA[GTValues.LV])
// Iron Door
event.recipes.gtceu.macerator('gtceu:macerator/macerate_iron_door')
.itemInputs('minecraft:iron_door')
.itemOutputs('2x #forge:dusts/wrought_iron')
.duration(GTMaterials.WroughtIron.getMass() * 2)
.category(GTRecipeCategories.MACERATOR_RECYCLING)
.EUt(GTValues.VA[GTValues.ULV])
event.recipes.gtceu.arc_furnace('gtceu:arc_furnace/arc_iron_door')
.itemInputs('minecraft:iron_door')
.itemOutputs('2x #forge:ingots/wrought_iron')
.duration(GTMaterials.WroughtIron.getMass() * 2)
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
.EUt(GTValues.VA[GTValues.LV])
// Redstone lamp
event.recipes.gtceu.macerator('gtceu:macerator/macerate_redstone_lamp')
.itemInputs('minecraft:redstone_lamp')
.itemOutputs('2x #forge:small_dusts/red_alloy', '21x #forge:tiny_dusts/glass', '4x #forge:dusts/glowstone')
.duration(GTMaterials.RedAlloy.getMass() * 2)
.category(GTRecipeCategories.MACERATOR_RECYCLING)
.EUt(GTValues.VA[GTValues.ULV])
event.recipes.gtceu.arc_furnace('gtceu:arc_furnace/arc_redstone_lamp')
.itemInputs('minecraft:redstone_lamp')
.itemOutputs('4x #forge:nuggets/red_alloy')
.duration(GTMaterials.RedAlloy.getMass() * 2)
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
.EUt(GTValues.VA[GTValues.LV])
// Dispenser
event.recipes.gtceu.macerator('gtceu:macerator/macerate_dispenser')
.itemInputs('minecraft:dispenser')
.itemOutputs('6x #forge:dusts/stone', '1x #forge:dusts/redstone', '1x #forge:dusts/brass')
.duration(GTMaterials.Brass.getMass() * 2)
.category(GTRecipeCategories.MACERATOR_RECYCLING)
.EUt(GTValues.VA[GTValues.ULV])
event.recipes.gtceu.arc_furnace('gtceu:arc_furnace/arc_dispenser')
.itemInputs('minecraft:dispenser')
.itemOutputs('1x #forge:ingots/brass')
.duration(GTMaterials.Brass.getMass() * 2)
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
.EUt(GTValues.VA[GTValues.LV])
// Dropper
event.recipes.gtceu.macerator('gtceu:macerator/macerate_dropper')
.itemInputs('minecraft:dropper')
.itemOutputs('7x #forge:dusts/stone', '1x #forge:dusts/redstone', '1x #forge:dusts/brass')
.duration(GTMaterials.Brass.getMass() * 2)
.category(GTRecipeCategories.MACERATOR_RECYCLING)
.EUt(GTValues.VA[GTValues.ULV])
event.recipes.gtceu.arc_furnace('gtceu:arc_furnace/arc_dropper')
.itemInputs('minecraft:dropper')
.itemOutputs('1x #forge:ingots/brass')
.duration(GTMaterials.Brass.getMass() * 2)
.category(GTRecipeCategories.ARC_FURNACE_RECYCLING)
.EUt(GTValues.VA[GTValues.LV])
}