From f6e49354880d9380a59849f152c79f5dbcfdedbe Mon Sep 17 00:00:00 2001 From: The Compendium System / The Atlassian Collective <91026414+Xaligal@users.noreply.github.com> Date: Tue, 7 Oct 2025 20:22:41 +0200 Subject: [PATCH] 144mb Chocolate Melting (#1977) * oops I might've hit space and made linux upset mb gang * > metal bar > look inside > not a metal bar * sns is a mess huh * sns is a mess huh (fixed sns and sophisticated backpack stuff) * hot potato (pun intended) * made bulbkin pie not allergic to firmalife ovens * flax cutter recipe * chocolate is now 144mb yay * accident * no more chocolate dupe --------- Co-authored-by: Redeix --- kubejs/server_scripts/firmalife/recipes.js | 24 ++++++++++++++++++++++ kubejs/server_scripts/tfg/recipes.food.js | 3 +-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/kubejs/server_scripts/firmalife/recipes.js b/kubejs/server_scripts/firmalife/recipes.js index e832d76b3..6c8238308 100644 --- a/kubejs/server_scripts/firmalife/recipes.js +++ b/kubejs/server_scripts/firmalife/recipes.js @@ -761,4 +761,28 @@ const registerFirmaLifeRecipes = (event) => { Fluid.of('tfcchannelcasting:milk_chocolate', 100)) .outputItem(TFC.isp.of('firmalife:food/chocolate_ice_cream').copyFood()) .id('tfg:mixing_bowl/chocolate_ice_cream') + + // Chocolate Melting + const setChocolateHeating = (variant) => { + const itemID = `firmalife:food/${variant}_chocolate` + const fluidID = `tfcchannelcasting:${variant}_chocolate` + const recipeID = `firmalife:heating/${variant}_chocolate` + const castingRecipeID = `tfcchannelcasting:casting/${variant}_chocolate` + + event.remove({ id: recipeID }) + event.remove({ id: castingRecipeID }) + event.remove({ id: `${castingRecipeID}_fire_ingot` }) + event.remove({ type: 'tfc:heating', ingredient: { item: itemID } }) + + event.recipes.tfc.heating(itemID, 200) + .resultFluid(Fluid.of(fluidID, 144)) + .id(recipeID) + + event.recipes.tfc.casting(`${itemID}`, 'tfc:ceramic/ingot_mold', TFC.fluidStackIngredient(`${fluidID}`, 144), 0) + event.recipes.tfc.casting(`${itemID}`, 'tfc:ceramic/fire_ingot_mold', TFC.fluidStackIngredient(`${fluidID}`, 144), 0) + } + + setChocolateHeating('white') + setChocolateHeating('milk') + setChocolateHeating('dark') } diff --git a/kubejs/server_scripts/tfg/recipes.food.js b/kubejs/server_scripts/tfg/recipes.food.js index 4848474cd..70a078e20 100644 --- a/kubejs/server_scripts/tfg/recipes.food.js +++ b/kubejs/server_scripts/tfg/recipes.food.js @@ -285,7 +285,7 @@ function registerTFGFoodRecipes(event) { }) }) - + // Milks processorRecipe(`white_chocolate_blend`, 300, 16, { @@ -912,7 +912,6 @@ function registerTFGFoodRecipes(event) { itemOutputs: ["species:birtday_cake"] }) - // These don't need the ISP handling, they're just here to keep all the food recipes together event.recipes.gtceu.mixer('tfg:tfc/olive_oil_water')