From 43242e652ff73ea7d02bc0c473a1c4fca4f3fdab Mon Sep 17 00:00:00 2001 From: Xtrial-01 Date: Sat, 22 Nov 2025 21:21:08 +0100 Subject: [PATCH] Missing food recipes (#2257) * Food processor and extractor chocolate recipes * food processor cheese smoking * switch chocolate melting to food processor i thought fast but ISPs thought faster --------- Co-authored-by: Redeix --- kubejs/server_scripts/tfg/recipes.food.js | 39 +++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/kubejs/server_scripts/tfg/recipes.food.js b/kubejs/server_scripts/tfg/recipes.food.js index 483029be9..3baf0f3f6 100644 --- a/kubejs/server_scripts/tfg/recipes.food.js +++ b/kubejs/server_scripts/tfg/recipes.food.js @@ -346,9 +346,38 @@ function registerTFGFoodRecipes(event) { //#endregion + //#region Chocolate + const chocolateType = ["white_chocolate", "milk_chocolate", "dark_chocolate"] + const chocolateShape = ["", "_heart", "_bell", "_knife"] //"" is firmalife chocolate bar + const chocolatemolds = ["tfc:ceramic/ingot_mold", "tfcchannelcasting:heart_mold", "tfc:ceramic/bell_mold", "tfc:ceramic/knife_blade_mold"] + + for (const ctype of chocolateType) { + for (const cshape of chocolateShape) { + processorRecipe(`${ctype}_${cshape}_melting`, 100, 16, { + circuit: 1, + itemInputs:[cshape == "" ? `firmalife:food/${ctype}` : `tfcchannelcasting:food/${ctype}${cshape}`], + fluidOutputs:[cshape == "" ? Fluid.of(`tfcchannelcasting:${ctype}`, 144) : Fluid.of(`tfcchannelcasting:${ctype}`, 100)], + }) + } + } + + for (const ctype of chocolateType) { + for (const cshape of chocolateShape) { + processorRecipe(`${ctype}_${cshape}_casting`, 100, 16, { + fluidInputs: [cshape == "" ? Fluid.of(`tfcchannelcasting:${ctype}`, 144) : Fluid.of(`tfcchannelcasting:${ctype}`, 100)], + itemOutputs: [cshape == "" ? `firmalife:food/${ctype}` : `tfcchannelcasting:food/${ctype}${cshape}`], + itemOutputProvider: TFC.isp.of(cshape == "" ? `firmalife:food/${ctype}` : `tfcchannelcasting:food/${ctype}${cshape}`).resetFood(), + notConsumable: [chocolatemolds[chocolateShape.indexOf(cshape)]] + }) + } + } + + //#endregion + //#region Food preservation const smoking_meats = Ingredient.of('#tfc:foods/raw_meats').itemIds; + const smoking_cheese = Ingredient.of('#firmalife:foods/cheeses').itemIds; const brining_veg = Ingredient.of('#firmalife:foods/pizza_ingredients').itemIds; const drying_fruits = Ingredient.of('#tfc:foods/fruits').itemIds; const drying_recipes = [ @@ -383,6 +412,16 @@ function registerTFGFoodRecipes(event) { }) }) + smoking_cheese.forEach(item => { + processorRecipeText(`${item.replace(/:/g, "/")}/smoking`, 200, 16, "tfg.food_recipe.smoking", { + circuit: 6, + itemInputs: [item], + itemOutputs: [item], + fluidInputs: [Fluid.of('gtceu:wood_gas', 5)], + itemOutputProvider: TFC.isp.copyInput().addTrait("firmalife:smoked") + }) + }) + drying_fruits.forEach(item => { processorRecipeText(`${item.replace(/:/g, "/")}/drying`, 200, 16, "tfg.food_recipe.drying", { circuit: 6,