added ice soup

This commit is contained in:
Pyritie 2025-07-14 20:00:44 +01:00
parent 5849b84d46
commit 8dd8d5b344
5 changed files with 24 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

View file

@ -86,4 +86,9 @@ const registerTFCFoodData = (event) => {
food.hunger(1)
food.dairy(0.5)
})
event.foodItem('firmalife:ice_shavings', food => {
food.water(5)
food.decayModifier(0)
})
}

View file

@ -158,6 +158,12 @@ const registerTFGFoodData = (event) => {
food.protein(5)
food.decayModifier(2.25)
})
event.foodItem('tfg:food/ice_soup', food => {
food.hunger(1)
food.water(20)
food.decayModifier(0)
})
}
const registerTFGFauna = (event) => {

View file

@ -796,6 +796,11 @@ function registerTFGFoodRecipes(event) {
event.recipes.tfc.quern('gtceu:cocoa_dust', 'firmalife:food/roasted_cocoa_beans')
.id('tfg:quern/cocoa_dust');
event.recipes.tfc.pot(['firmalife:ice_shavings', 'firmalife:ice_shavings', 'firmalife:ice_shavings', 'firmalife:ice_shavings', 'firmalife:ice_shavings'],
Fluid.of('minecraft:water', 1000), 20, 10)
.itemOutput('tfg:food/ice_soup')
.id('tfg:pot/ice_soup')
//#endregion
//#region Heating recipes for new foods

View file

@ -88,4 +88,12 @@ function registerTFGFoodItems(event) {
.effect('minecraft:hunger', 100, 0, 1))
.tag('tfc:foods/meats')
.tag('tfc:foods/raw_meats')
event.create('tfg:food/ice_soup')
.translationKey('item.tfg.food.ice_soup')
.texture('tfg:item/food/ice_soup')
.food(food => food.eaten(ctx => {
ctx.player.give('tfc:ceramic/bowl')
}))
// intentionally not tagged as food
}