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 <brayden.j.m.ford@gmail.com>
This commit is contained in:
Xtrial-01 2025-11-22 21:21:08 +01:00 committed by GitHub
parent 00a61f8f0d
commit 43242e652f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,