changed all fluid tags to the new format

This commit is contained in:
Pyritie 2025-07-28 15:46:18 +01:00
parent 3119919a47
commit e83833bcf5
17 changed files with 107 additions and 101 deletions

View file

@ -145,8 +145,9 @@ function registerTFGFoodRecipes(event) {
itemInputs: [`tfc:food/${grain}_flour`],
itemOutputs: [`2x tfc:food/${grain}_dough`],
circuit: 1,
fluidInputs: ['#tfg:clean_water 100'],
itemOutputProvider: TFC.isp.of(`2x tfc:food/${grain}_dough`).copyFood()
}).inputFluids(JsonIO.of({ amount: 100, value: { tag: "tfg:clean_water" }}))
})
// Firmalife dough
processorRecipe(`${grain}_dough`, 300, 16, {
@ -276,41 +277,46 @@ function registerTFGFoodRecipes(event) {
processorRecipe(`white_chocolate_blend`, 300, 16, {
circuit: 3,
itemInputs: ['2x firmalife:food/cocoa_butter', '#tfc:sweetener'],
fluidInputs: ['#tfc:milks 1000'],
itemOutputs: ['2x firmalife:food/white_chocolate_blend'],
itemOutputProvider: TFC.isp.of('2x firmalife:food/white_chocolate_blend').resetFood(),
}).inputFluids(JsonIO.of({ amount: 1000, value: { tag: "tfc:milks" }}))
})
processorRecipe(`dark_chocolate_blend`, 300, 16, {
circuit: 2,
itemInputs: ['2x firmalife:food/cocoa_powder', '#tfc:sweetener'],
fluidInputs: ['#tfc:milks 1000'],
itemOutputs: ['2x firmalife:food/dark_chocolate_blend'],
itemOutputProvider: TFC.isp.of('2x firmalife:food/dark_chocolate_blend').resetFood(),
}).inputFluids(JsonIO.of({ amount: 1000, value: { tag: "tfc:milks" }}))
})
processorRecipe(`milk_chocolate_blend`, 300, 16, {
circuit: 1,
itemInputs: ['firmalife:food/cocoa_powder', 'firmalife:food/cocoa_butter', '#tfc:sweetener'],
fluidInputs: ['#tfc:milks 1000'],
itemOutputs: ['2x firmalife:food/milk_chocolate_blend'],
itemOutputProvider: TFC.isp.of('2x firmalife:food/milk_chocolate_blend').resetFood(),
}).inputFluids(JsonIO.of({ amount: 1000, value: { tag: "tfc:milks" }}))
})
// TODO: this has nutrition dynamically set in the pot recipe, can we do that here?
processorRecipe(`egg_noodles`, 50, 8, {
circuit: 6,
itemInputs: ["#tfc:foods/flour", 'tfc:powder/salt', '#forge:eggs'],
fluidInputs: ['#tfc:milks 1000'],
itemOutputs: ['firmalife:food/raw_egg_noodles'],
itemOutputProvider: TFC.isp.of("firmalife:food/raw_egg_noodles").copyOldestFood(),
}).inputFluids(JsonIO.of({ amount: 1000, value: { tag: "tfc:milks" }}))
})
processorRecipe(`rice_noodles`, 50, 8, {
itemInputs: ["tfc:food/rice_flour", 'tfc:food/maize_flour', 'tfc:powder/salt'],
fluidInputs: ['#tfc:milks 1000'],
itemOutputs: ['2x firmalife:food/raw_rice_noodles'],
itemOutputProvider: TFC.isp.of('2x firmalife:food/raw_rice_noodles').copyOldestFood()
}).inputFluids(JsonIO.of({ amount: 1000, value: { tag: "tfc:milks" }}))
})
// No ISP needed here
event.recipes.gtceu.fermenter(`tfg:fermenter/cream`)
.inputFluids(JsonIO.of({ amount: 1000, value: { tag: "tfc:milks" }}))
.inputFluids("#tfc:milks 1000")
.outputFluids(Fluid.of('firmalife:cream'))
.circuit(6)
.duration(1200)
@ -450,30 +456,29 @@ function registerTFGFoodRecipes(event) {
processorRecipe(`${name}_jam`, 200, 8, {
circuit: 15,
itemInputs: [`4x tfc:food/${name}`, "#tfg:sugars", "4x #tfc:empty_jar_with_lid"],
fluidInputs: ['#tfg:clean_water 100'],
itemOutputs: [`4x tfc:jar/${name}`],
itemOutputProvider: TFC.isp.of(`4x tfc:jar/${name}`).copyFood()
}).inputFluids(JsonIO.of({ amount: 100, value: { tag: "tfg:clean_water" }}))
})
processorRecipe(`${name}_jam_no_seal`, 200, 8, {
circuit: 16,
itemInputs: [`4x tfc:food/${name}`, "#tfg:sugars", "4x tfc:empty_jar"],
fluidInputs: ['#tfg:clean_water 100'],
itemOutputs: [`4x tfc:jar/${name}_unsealed`],
itemOutputProvider: TFC.isp.of(`4x tfc:jar/${name}_unsealed`).copyFood()
}).inputFluids(JsonIO.of({ amount: 100, value: { tag: "tfg:clean_water" }}))
})
})
cookingRecipe("pasta", "firmalife:food/raw_egg_noodles", "firmalife:food/cooked_pasta")
.inputFluids(JsonIO.of({ amount: 100, value: { tag: "tfg:clean_water" }}))
cookingRecipe("pasta", "firmalife:food/raw_egg_noodles", "firmalife:food/cooked_pasta", "#tfg:clean_water 100")
cookingRecipe("corn_tortilla", "firmalife:food/masa", "firmalife:food/corn_tortilla")
cookingRecipe("baked_potato", "tfc:food/potato", "tfc:food/baked_potato")
cookingRecipe("boiled_egg", "#firmalife:foods/raw_eggs", "tfc:food/boiled_egg")
.inputFluids(JsonIO.of({ amount: 200, value: { tag: "tfg:clean_water" }}))
cookingRecipe("boiled_egg", "#firmalife:foods/raw_eggs", "tfc:food/boiled_egg", "#tfg:clean_water 200")
cookingRecipe("cooked_rice", "tfc:food/rice_grain", "tfc:food/cooked_rice")
.inputFluids(JsonIO.of({ amount: 200, value: { tag: "tfg:clean_water" }}))
cookingRecipe("cooked_rice", "tfc:food/rice_grain", "tfc:food/cooked_rice", "#tfg:clean_water 200")
processorRecipe("pasta_tomato_sauce", 60, 8, {
itemInputs: ["firmalife:food/cooked_pasta", "firmalife:food/tomato_sauce"],
@ -497,9 +502,10 @@ function registerTFGFoodRecipes(event) {
processorRecipe('firmalife_masa', 300, 2, {
circuit: 3,
itemInputs: ["firmalife:food/masa_flour"],
fluidInputs: ['#tfg:clean_water 100'],
itemOutputs: ["2x firmalife:food/masa"],
itemOutputProvider: TFC.isp.of("2x firmalife:food/masa").copyFood()
}).inputFluids(JsonIO.of({ amount: 100, value: { tag: "tfg:clean_water" }}))
})
processorRecipe("tortilla_chips", 40, 16, {
itemInputs: ["firmalife:food/taco_shell", "tfc:powder/salt"],
@ -515,9 +521,10 @@ function registerTFGFoodRecipes(event) {
processorRecipe("tomato_sauce_from_mix", 200, 8, {
itemInputs: ['firmalife:food/tomato_sauce_mix'],
fluidInputs: ['#tfg:clean_water 200'],
itemOutputs: ['firmalife:food/tomato_sauce'],
itemOutputProvider: TFC.isp.of('firmalife:food/tomato_sauce').copyOldestFood(),
}).inputFluids(JsonIO.of({ amount: 200, value: { tag: "tfg:clean_water" }}))
})
processorRecipe("olive_paste", 60, 8, {
itemInputs: ['tfc:food/olive'],
@ -552,14 +559,9 @@ function registerTFGFoodRecipes(event) {
processorRecipe('vinegar_alcohol', 600, 32, {
circuit: 5,
itemInputs: ['#tfc:foods/fruits'],
fluidInputs: ['#tfc:alcohols 250'],
fluidOutputs: [Fluid.of('tfc:vinegar', 250)],
})
.inputFluids(JsonIO.of({
amount: 250,
value: {
tag: "tfc:alcohols"
}
}))
processorRecipe("pizza_no_extra", 600, 16, {
itemInputs: ["firmalife:food/pizza_dough", "firmalife:food/tomato_sauce", "firmalife:food/shredded_cheese"],
@ -592,9 +594,10 @@ function registerTFGFoodRecipes(event) {
processorRecipe("pizza_dough", 300, 16, {
itemInputs: ['firmalife:spice/basil_leaves', '#tfc:foods/dough', 'tfc:powder/salt'],
fluidInputs: ['#firmalife:oils 100'],
itemOutputs: ['4x firmalife:food/pizza_dough'],
itemOutputProvider: TFC.isp.of("4x firmalife:food/pizza_dough").copyOldestFood()
}).inputFluids(JsonIO.of({ amount: 100, value: { tag: "firmalife:oils" }}))
})
processorRecipe("vanilla_ice_cream", 300, 16, {
itemInputs: ['firmalife:ice_shavings', '#tfc:sweetener', 'firmalife:spice/vanilla'],
@ -632,16 +635,18 @@ function registerTFGFoodRecipes(event) {
processorRecipe("pie_dough", 300, 16, {
circuit: 2,
itemInputs: ['#tfc:sweetener', 'firmalife:food/butter', '#tfc:foods/flour'],
fluidInputs: ['#tfg:clean_water 1000'],
itemOutputs: ['firmalife:food/pie_dough'],
itemOutputProvider: TFC.isp.of('firmalife:food/pie_dough').copyOldestFood()
}).inputFluids(JsonIO.of({ amount: 1000, value: { tag: "tfg:clean_water" }}))
})
processorRecipe("pumpkin_pie_dough", 300, 16, {
circuit: 2,
itemInputs: ['#tfc:sweetener', '#forge:eggs', '2x tfc:food/pumpkin_chunks', '#tfc:foods/flour'],
fluidInputs: ['#tfg:clean_water 1000'],
itemOutputs: ['firmalife:food/pumpkin_pie_dough'],
itemOutputProvider: TFC.isp.of('firmalife:food/pumpkin_pie_dough').copyOldestFood()
}).inputFluids(JsonIO.of({ amount: 1000, value: { tag: "tfg:clean_water" }}))
})
processorRecipe("raw_pumpkin_pie", 20, 8, {
itemInputs: ["firmalife:food/pumpkin_pie_dough", "firmalife:pie_pan"],
@ -663,9 +668,10 @@ function registerTFGFoodRecipes(event) {
processorRecipe("hardtack_dough", 300, 16, {
itemInputs: ['tfc:powder/salt', '#tfc:foods/flour'],
fluidInputs: ['#tfg:clean_water 1000'],
itemOutputs: ['4x firmalife:food/hardtack_dough'],
itemOutputProvider: TFC.isp.of('4x firmalife:food/hardtack_dough').copyOldestFood()
}).inputFluids(JsonIO.of({ amount: 1000, value: { tag: "tfg:clean_water" }}))
})
processorRecipe("yeast_starter", 1200, 8, {
circuit: 2,
@ -676,9 +682,10 @@ function registerTFGFoodRecipes(event) {
processorRecipe("yeast_starter_from_water", 7200, 8, {
circuit: 10,
fluidOutputs: [Fluid.of('firmalife:yeast_starter', 600)],
itemInputs: ['#tfc:foods/fruits'],
}).inputFluids(JsonIO.of({ amount: 100, value: { tag: "tfg:clean_water" }}))
fluidInputs: ['#tfg:clean_water 100'],
fluidOutputs: [Fluid.of('firmalife:yeast_starter', 600)],
})
processorRecipe("cocoa_dust", 100, 4, {
itemInputs: ["firmalife:food/roasted_cocoa_beans"],
@ -707,18 +714,20 @@ function registerTFGFoodRecipes(event) {
processorRecipe("soy_mixture", 300, 8, {
itemInputs: ["tfc:food/soybean", 'tfc:powder/salt'],
fluidInputs: ['#tfg:clean_water 50'],
itemOutputs: ["firmalife:food/soy_mixture"],
itemOutputProvider: TFC.isp.of('firmalife:food/soy_mixture').copyOldestFood()
}).inputFluids(JsonIO.of({ amount: 50, value: { tag: "tfg:clean_water" }}))
})
// Cakes
processorRecipe("cake_base", 300, 8, {
circuit: 4,
itemInputs: ["#forge:eggs", "2x #tfg:sugars", "2x #tfc:foods/flour"],
fluidInputs: ['#tfc:milks 1000'],
itemOutputs: ["createaddition:cake_base"],
itemOutputProvider: TFC.isp.of("createaddition:cake_base").copyOldestFood()
}).inputFluids(JsonIO.of({ amount: 1000, value: { tag: "tfc:milks" }}))
})
cookingRecipe("baked_cake_base", "createaddition:cake_base", "createaddition:cake_base_baked")
@ -775,7 +784,7 @@ function registerTFGFoodRecipes(event) {
event.recipes.gtceu.fermenter('soybean_oil')
.itemInputs('firmalife:food/soybean_paste')
.inputFluids(JsonIO.of({ amount: 100, value: { tag: "tfg:clean_water" }}))
.inputFluids("#tfg:clean_water 100")
.outputFluids(Fluid.of('firmalife:soybean_oil', 250))
.EUt(GTValues.VA[GTValues.ULV])
.duration(600)