From 6fc1e3bbae7aa2f802f7b79f4bb022fed668d82d Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sat, 9 Dec 2023 21:24:44 +0700 Subject: [PATCH] Update recipes.js --- kubejs/server_scripts/tfc/recipes.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/kubejs/server_scripts/tfc/recipes.js b/kubejs/server_scripts/tfc/recipes.js index 7fff4b6a3..a568a8870 100644 --- a/kubejs/server_scripts/tfc/recipes.js +++ b/kubejs/server_scripts/tfc/recipes.js @@ -44,6 +44,21 @@ const registerTFCRecipes = (event) => { .resultFluid(Fluid.of(metalSpecs.fluid, 144)) .id(`tfc:heating/metal/${metal}_ingot`) } + + // Стержни + if (metalSpecs.props.includes('rod')) + { + // Декрафт стержня в жидкость + event.recipes.tfc.heating(`gtceu:${metal}_rod`, metalSpecs.melt_temp) + .resultFluid(Fluid.of(metalSpecs.fluid, 72)) + .id(`tfc:heating/metal/${metal}_rod`) + + // Слиток -> 2 Стержня + event.recipes.tfc.anvil(`2x gtceu:${metal}_rod`, `#forge:ingots/${metal}`, ['bend_last', 'draw_second_last', 'draw_third_last']) + .tier(metalSpecs.tier) + .id(`tfc:anvil/${metal}_rod`) + } + } // Двойные слитки @@ -140,6 +155,11 @@ const registerTFCRecipes = (event) => { } } + + if (metalSpecs.props.includes('double_sheet')) + { + + } }) // Bloom -> Wrought Iron Ingot