From 6c01dde1856001f222806205a8fda93a5bc6ddf7 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Sun, 26 Oct 2025 14:38:12 +0000 Subject: [PATCH] fixed some afc wood types not having stripping recipes --- kubejs/server_scripts/afc/recipes.js | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/kubejs/server_scripts/afc/recipes.js b/kubejs/server_scripts/afc/recipes.js index fbed049eb..683c43cb6 100644 --- a/kubejs/server_scripts/afc/recipes.js +++ b/kubejs/server_scripts/afc/recipes.js @@ -101,6 +101,7 @@ const registerAFCRecipes = (event) => { .itemOutputs('afc:tree_tap') .duration(50) .EUt(7) + .addMaterialInfo(true) // TreeTap Heating event.recipes.tfc.heating('afc:tree_tap', 1080) @@ -416,4 +417,43 @@ const registerAFCRecipes = (event) => { processingTime: 50 }).id(`tfg:vi/lathe/stripping_${wood}_wood`) }) + + const MORE_STRIPPING = [ + { wood: 'black_oak', stripped: 'oak', stripped_mod: 'tfc' }, + { wood: 'rainbow_eucalyptus', stripped: 'eucalyptus', stripped_mod: 'afc' }, + { wood: 'gum_arabic', stripped: 'acacia', stripped_mod: 'tfc' }, + { wood: 'redcedar', stripped: 'cypress', stripped_mod: 'afc' }, + { wood: 'rubber_fig', stripped: 'fig', stripped_mod: 'afc' }, + { wood: 'poplar', stripped: 'aspen', stripped_mod: 'tfc' } + ]; + + MORE_STRIPPING.forEach(x => { + event.recipes.gtceu.lathe(`tfg:stripping_${x.wood}_log`) + .itemInputs(`afc:wood/log/${x.wood}`) + .itemOutputs(`${x.stripped_mod}:wood/stripped_log/${x.stripped}`) + .duration(50) + .EUt(2) + + event.recipes.gtceu.lathe(`tfg:stripping_${x.wood}_wood`) + .itemInputs(`afc:wood/wood/${x.wood}`) + .itemOutputs(`${x.stripped_mod}:wood/stripped_wood/${x.stripped}`) + .duration(50) + .EUt(2) + + event.custom({ + type: 'vintageimprovements:polishing', + ingredients: [{ item: `afc:wood/log/${x.wood}` }], + results: [{ item: `${x.stripped_mod}:wood/stripped_log/${x.stripped}` }], + speed_limits: 0, + processingTime: 50 + }).id(`tfg:vi/lathe/stripping_${x.wood}_log`) + + event.custom({ + type: 'vintageimprovements:polishing', + ingredients: [{ item: `afc:wood/wood/${x.wood}` }], + results: [{ item: `${x.stripped_mod}:wood/stripped_wood/${x.stripped}` }], + speed_limits: 0, + processingTime: 50 + }).id(`tfg:vi/lathe/stripping_${x.wood}_wood`) + }) } \ No newline at end of file