fixed soup for realsies

This commit is contained in:
Pyritie 2025-11-07 00:30:47 +00:00
parent 4d12585cb2
commit e9f775791d
3 changed files with 39 additions and 19 deletions

View file

@ -11,10 +11,12 @@
- Added more automatable mud brick recipes, ensured all dirt types are renewable (#2169) @Pyritie
- Added a sky stone block recipe to the rock breaker (#2159) @Pyritie
- Improved the tag for cleanroom doors @Pyritie
- The food oven and refrigerator now emit heat (for TFC ambiental) @Pyritie
### Bug fixes
- Fixed TFC bug where paths and roads can collapse on themselves when creating a staircase shape. (#2144) @Redeix
- Fixed the HV aqueous accumulator water recipe so the amount of water can actually fit in the HV machine @Pyritie
- Fixed not being able to make brown universal compost with a mortar if the item is both green and brown (#2091) @Pyritie
- Fixed soup made in the food processor not returning bowls when eaten (#2053) @Pyritie
### Translation updates
- Brazilian Portuguese @Redeix
- Chinese (simplified) @jmecn

View file

@ -756,7 +756,7 @@ function registerTFGFoodRecipes(event) {
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()
itemOutputProvider: TFC.isp.of('4x firmalife:food/hardtack_dough').copyFood()
})
processorRecipe("yeast_starter", 1200, 8, {
@ -782,13 +782,13 @@ function registerTFGFoodRecipes(event) {
processorRecipe("red_grapes", 50, 8, {
itemInputs: ["firmalife:food/red_grapes"],
itemOutputs: ["firmalife:food/smashed_red_grapes"],
itemOutputProvider: TFC.isp.of('firmalife:food/smashed_red_grapes').copyOldestFood()
itemOutputProvider: TFC.isp.of('firmalife:food/smashed_red_grapes').copyFood()
})
processorRecipe("white_grapes", 50, 8, {
itemInputs: ["firmalife:food/white_grapes"],
itemOutputs: ["firmalife:food/smashed_white_grapes"],
itemOutputProvider: TFC.isp.of('firmalife:food/smashed_white_grapes').copyOldestFood()
itemOutputProvider: TFC.isp.of('firmalife:food/smashed_white_grapes').copyFood()
})
processorRecipe("cured_maize", 300, 8, {
@ -796,7 +796,7 @@ function registerTFGFoodRecipes(event) {
itemInputs: ["tfc:food/maize_grain"],
inputFluids: [Fluid.of('tfc:limewater', 100)],
itemOutputs: ["firmalife:food/cured_maize"],
itemOutputProvider: TFC.isp.of('firmalife:food/cured_maize').copyOldestFood()
itemOutputProvider: TFC.isp.of('firmalife:food/cured_maize').copyFood()
})
processorRecipe("soy_mixture", 300, 8, {
@ -804,7 +804,7 @@ function registerTFGFoodRecipes(event) {
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()
itemOutputProvider: TFC.isp.of('firmalife:food/soy_mixture').copyFood()
})
processorRecipe("brown_mushroom", 100, 8, {
@ -825,35 +825,35 @@ function registerTFGFoodRecipes(event) {
circuit: 30,
itemInputs: ["tfc:pumpkin"],
itemOutputs: ["4x tfc:food/pumpkin_chunks"],
itemOutputProvider: TFC.isp.of("4x tfc:food/pumpkin_chunks").copyOldestFood()
itemOutputProvider: TFC.isp.of("4x tfc:food/pumpkin_chunks").copyFood()
})
processorRecipe("cut_melon", 100, 8, {
circuit: 30,
itemInputs: ["tfc:melon"],
itemOutputs: ["4x tfc:food/melon_slice"],
itemOutputProvider: TFC.isp.of("4x tfc:food/melon_slice").copyOldestFood()
itemOutputProvider: TFC.isp.of("4x tfc:food/melon_slice").copyFood()
})
processorRecipe("salsa", 300, 8, {
circuit: 1,
itemInputs: ['tfc:food/tomato', 'tfc:powder/salt', 'firmalife:plant/cilantro'],
itemOutputs: ['5x firmalife:food/salsa'],
itemOutputProvider: TFC.isp.of('5x firmalife:food/salsa').copyOldestFood()
itemOutputProvider: TFC.isp.of('5x firmalife:food/salsa').copyFood()
})
processorRecipe("bacon", 300, 8, {
circuit: 1,
itemInputs: [/*TFC.ingredient.hasTrait(*/'tfc:food/pork'/*, 'firmalife:smoked')*/, 'tfc:powder/salt'],
itemInputs: ['tfc:food/pork', 'tfc:powder/salt'],
itemOutputs: ['4x firmalife:food/bacon'],
itemOutputProvider: TFC.isp.of('4x firmalife:food/bacon').copyOldestFood()
itemOutputProvider: TFC.isp.of('4x firmalife:food/bacon').copyFood()
})
processorRecipe("picked_egg", 1000, 8, {
circuit: 1,
itemInputs: ['minecraft:clay_ball', 'tfc:powder/wood_ash', 'tfc:powder/salt', 'tfc:food/boiled_egg'],
itemOutputs: ['firmalife:food/pickled_egg'],
itemOutputProvider: TFC.isp.of('firmalife:food/pickled_egg').copyOldestFood()
itemOutputProvider: TFC.isp.of('firmalife:food/pickled_egg').copyFood()
})
processorRecipe("garlic_bread", 300, 8, {
@ -933,7 +933,7 @@ function registerTFGFoodRecipes(event) {
],
fluidInputs: [Fluid.of('minecraft:water', 100)],
itemOutputs: ['3x tfc:food/grain_soup'],
itemOutputProvider: TFC.isp.of('3x tfc:food/grain_soup').meal(
itemOutputProvider: TFC.isp.of('3x tfc:food/grain_soup').simpleModifier('tfg:add_bowl').meal(
(food) => food.hunger(5).water(1).saturation(1).decayModifier(4.5),
[
(portion) => portion
@ -954,7 +954,7 @@ function registerTFGFoodRecipes(event) {
],
fluidInputs: [Fluid.of('minecraft:water', 100)],
itemOutputs: ['3x tfc:food/fruit_soup'],
itemOutputProvider: TFC.isp.of('3x tfc:food/fruit_soup').meal(
itemOutputProvider: TFC.isp.of('3x tfc:food/fruit_soup').simpleModifier('tfg:add_bowl').meal(
(food) => food.hunger(5).water(1).saturation(1).decayModifier(4.5),
[
(portion) => portion
@ -975,7 +975,7 @@ function registerTFGFoodRecipes(event) {
],
fluidInputs: [Fluid.of('minecraft:water', 100)],
itemOutputs: ['3x tfc:food/vegetables_soup'],
itemOutputProvider: TFC.isp.of('3x tfc:food/vegetables_soup').meal(
itemOutputProvider: TFC.isp.of('3x tfc:food/vegetables_soup').simpleModifier('tfg:add_bowl').meal(
(food) => food.hunger(5).water(1).saturation(1).decayModifier(4.5),
[
(portion) => portion
@ -996,7 +996,7 @@ function registerTFGFoodRecipes(event) {
],
fluidInputs: [Fluid.of('minecraft:water', 100)],
itemOutputs: ['3x tfc:food/protein_soup'],
itemOutputProvider: TFC.isp.of('3x tfc:food/protein_soup').meal(
itemOutputProvider: TFC.isp.of('3x tfc:food/protein_soup').simpleModifier('tfg:add_bowl').meal(
(food) => food.hunger(5).water(1).saturation(1).decayModifier(4.5),
[
(portion) => portion
@ -1017,7 +1017,7 @@ function registerTFGFoodRecipes(event) {
],
fluidInputs: [Fluid.of('minecraft:water', 100)],
itemOutputs: ['3x tfc:food/dairy_soup'],
itemOutputProvider: TFC.isp.of('3x tfc:food/dairy_soup').meal(
itemOutputProvider: TFC.isp.of('3x tfc:food/dairy_soup').simpleModifier('tfg:add_bowl').meal(
(food) => food.hunger(5).water(1).saturation(1).decayModifier(4.5),
[
(portion) => portion
@ -1085,11 +1085,19 @@ function registerTFGFoodRecipes(event) {
event.recipes.tfc.quern('gtceu:cocoa_dust', 'firmalife:food/roasted_cocoa_beans')
.id('tfg:quern/cocoa_dust');
event.recipes.tfc.pot(['#tfc:bowls', 'firmalife:ice_shavings', 'firmalife:ice_shavings', 'firmalife:ice_shavings', 'firmalife:ice_shavings'],
// These don't seem to work with the set_bowl ISP modifier
event.recipes.tfc.pot(['#tfc:bowls', 'firmalife:ice_shavings', 'firmalife:ice_shavings', 'firmalife:ice_shavings', 'firmalife:ice_shavings'],
Fluid.of('minecraft:water', 1000), 20, 10)
.itemOutput('tfg:food/ice_soup')
.itemOutput(TFC.isp.of('tfg:food/ice_soup'))
.id('tfg:pot/ice_soup')
event.recipes.gtceu.food_processor('ice_soup')
.itemInputs('#tfc:bowls', '4x firmalife:ice_shavings')
.inputFluids(Fluid.of('minecraft:water', 1000))
.itemOutputs('tfg:food/ice_soup')
.duration(60)
.EUt(16)
event.shaped('4x tfc:powder/salt', ['A', 'B'], {A: '#forge:dusts/salt', B: '#forge:tools/mortars'})
.id(`tfg:mortar/salt`)
@ -1200,7 +1208,7 @@ function registerTFGFoodRecipes(event) {
circuit: 30,
itemInputs: ["betterend:cave_pumpkin"],
itemOutputs: ["4x betterend:cave_pumpkin_chunks"],
itemOutputProvider: TFC.isp.of("4x betterend:cave_pumpkin_chunks").copyOldestFood()
itemOutputProvider: TFC.isp.of("4x betterend:cave_pumpkin_chunks").copyFood()
})
processorRecipe("cave_pumpkin_pie_dough", 300, GTValues.VA[GTValues.HV], {

View file

@ -0,0 +1,10 @@
// priority: 0
"use strict";
TFCEvents.registerItemStackModifier(event => {
event.withInput('tfg:add_bowl', (output, input) => {
TFC.misc.getFood(output).setBowl(input)
return output;
});
})