diff --git a/kubejs/assets/tfg/textures/item/food/ice_soup.png b/kubejs/assets/tfg/textures/item/food/ice_soup.png new file mode 100644 index 000000000..078153731 Binary files /dev/null and b/kubejs/assets/tfg/textures/item/food/ice_soup.png differ diff --git a/kubejs/server_scripts/tfc/data.js b/kubejs/server_scripts/tfc/data.js index e96563470..bcf69105c 100644 --- a/kubejs/server_scripts/tfc/data.js +++ b/kubejs/server_scripts/tfc/data.js @@ -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) + }) } diff --git a/kubejs/server_scripts/tfg/data.js b/kubejs/server_scripts/tfg/data.js index defb35343..ece0ec8e7 100644 --- a/kubejs/server_scripts/tfg/data.js +++ b/kubejs/server_scripts/tfg/data.js @@ -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) => { diff --git a/kubejs/server_scripts/tfg/recipes.food.js b/kubejs/server_scripts/tfg/recipes.food.js index 12969d535..103c57f38 100644 --- a/kubejs/server_scripts/tfg/recipes.food.js +++ b/kubejs/server_scripts/tfg/recipes.food.js @@ -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 diff --git a/kubejs/startup_scripts/tfg/items.food.js b/kubejs/startup_scripts/tfg/items.food.js index 0fafc8028..67992fe7b 100644 --- a/kubejs/startup_scripts/tfg/items.food.js +++ b/kubejs/startup_scripts/tfg/items.food.js @@ -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 } \ No newline at end of file