From 9870970c898f1b121406a9444ac4ca4ba44a1fe0 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Mon, 12 Jan 2026 13:44:45 +0000 Subject: [PATCH] fix #2714 --- CHANGELOG.md | 1 + kubejs/server_scripts/tfg/food/data.food.js | 2 +- kubejs/startup_scripts/tfg/items.food.js | 30 ++++++++++----------- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d0a2456cd..34c18a845 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,7 @@ - Fixed bismuth bronze and black bronze extractor recipes being tiered at MV (#2684) @Inceitious - Fixed fridge tooltip power usage (#2689) @Karo4a - Fixed invar crucible alloying using the wrong amounts of iron and nickel @Pyritie +- Fixed inconsistent saturation values from cooked long pig filet (#2714) @Pyritie ### Translation updates - Chinese (simplified) @jmecn - Russian @Petr211071 + @Nixieeunrare diff --git a/kubejs/server_scripts/tfg/food/data.food.js b/kubejs/server_scripts/tfg/food/data.food.js index def08ba3d..10a45d774 100644 --- a/kubejs/server_scripts/tfg/food/data.food.js +++ b/kubejs/server_scripts/tfg/food/data.food.js @@ -159,7 +159,7 @@ function registerTFGFoodData(event) { }); event.foodItem("tfg:food/cooked_long_pig_filet", (food) => { - food.hunger(2); + food.hunger(4); food.saturation(2); food.protein(2); food.decayModifier(2.25); diff --git a/kubejs/startup_scripts/tfg/items.food.js b/kubejs/startup_scripts/tfg/items.food.js index 5ecfb2b58..b2a3589d1 100644 --- a/kubejs/startup_scripts/tfg/items.food.js +++ b/kubejs/startup_scripts/tfg/items.food.js @@ -90,7 +90,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/raw_moon_rabbit') .translationKey('item.tfg.food.raw_moon_rabbit') .texture('tfg:item/food/raw_moon_rabbit') - .food(food => food.hunger(2).saturation(2) + .food(food => food.hunger(2).saturation(1) .effect('minecraft:hunger', 100, 0, 1)) .tag('tfc:foods') .tag('tfc:foods/meats') @@ -99,7 +99,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/cooked_moon_rabbit') .translationKey('item.tfg.food.cooked_moon_rabbit') .texture('tfg:item/food/cooked_moon_rabbit') - .food(food => food.hunger(4).saturation(8)) + .food(food => food.hunger(4).saturation(2)) .tag('tfc:foods') .tag('tfc:foods/meats') .tag('tfc:foods/cooked_meats') @@ -108,7 +108,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/raw_glacian_mutton') .translationKey('item.tfg.food.raw_glacian_mutton') .texture('tfg:item/food/raw_glacian_mutton') - .food(food => food.hunger(2).saturation(2) + .food(food => food.hunger(2).saturation(1) .effect('minecraft:hunger', 100, 0, 1)) .tag('tfc:foods') .tag('tfc:foods/meats') @@ -117,7 +117,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/cooked_glacian_mutton') .translationKey('item.tfg.food.cooked_glacian_mutton') .texture('tfg:item/food/cooked_glacian_mutton') - .food(food => food.hunger(5).saturation(8)) + .food(food => food.hunger(5).saturation(2)) .tag('tfc:foods') .tag('tfc:foods/meats') .tag('tfc:foods/cooked_meats') @@ -135,7 +135,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/cooked_sniffer_beef') .translationKey('item.tfg.food.cooked_sniffer_beef') .texture('tfg:item/food/cooked_sniffer_beef') - .food(food => food.hunger(8).saturation(9)) + .food(food => food.hunger(8).saturation(4)) .tag('tfc:foods') .tag('tfc:foods/meats') .tag('tfc:foods/cooked_meats') @@ -153,7 +153,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/cooked_wraptor') .translationKey('item.tfg.food.cooked_wraptor') .texture('tfg:item/food/cooked_wraptor') - .food(food => food.hunger(6).saturation(8)) + .food(food => food.hunger(6).saturation(4)) .tag('tfc:foods') .tag('tfc:foods/meats') .tag('tfc:foods/cooked_meats') @@ -189,7 +189,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/cooked_walker_steak') .translationKey('item.tfg.food.cooked_walker_steak') .texture('tfg:item/food/cooked_walker_steak') - .food(food => food.hunger(8).saturation(10)) + .food(food => food.hunger(8).saturation(4)) .tag('tfc:foods') .tag('tfc:foods/meats') .tag('tfc:foods/cooked_meats') @@ -198,7 +198,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/raw_glider_wings') .translationKey('item.tfg.food.raw_glider_wings') .texture('tfg:item/food/raw_glider_wings') - .food(food => food.hunger(1).saturation(1) + .food(food => food.hunger(1).saturation(2) .effect('minecraft:hunger', 100, 0, 1)) .tag('tfc:foods') .tag('tfc:foods/meats') @@ -207,7 +207,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/cooked_glider_wings') .translationKey('item.tfg.food.cooked_glider_wings') .texture('tfg:item/food/cooked_glider_wings') - .food(food => food.hunger(2).saturation(3)) + .food(food => food.hunger(2).saturation(4)) .tag('tfc:foods') .tag('tfc:foods/meats') .tag('tfc:foods/cooked_meats') @@ -225,7 +225,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/cooked_whole_soarer') .translationKey('item.tfg.food.cooked_whole_soarer') .texture('tfg:item/food/cooked_whole_soarer') - .food(food => food.hunger(6).saturation(6)) + .food(food => food.hunger(6).saturation(4)) .tag('tfc:foods') .tag('tfc:foods/meats') .tag('tfc:foods/cooked_meats') @@ -243,7 +243,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/cooked_crusher_meat') .translationKey('item.tfg.food.cooked_crusher_meat') .texture('tfg:item/food/cooked_crusher_meat') - .food(food => food.hunger(5).saturation(6)) + .food(food => food.hunger(5).saturation(4)) .tag('tfc:foods') .tag('tfc:foods/meats') .tag('tfc:foods/cooked_meats') @@ -261,7 +261,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/cooked_goober_meat') .translationKey('item.tfg.food.cooked_goober_meat') .texture('tfg:item/food/cooked_goober_meat') - .food(food => food.hunger(3).saturation(9)) + .food(food => food.hunger(3).saturation(4)) .tag('tfc:foods') .tag('tfc:foods/meats') .tag('tfc:foods/cooked_meats') @@ -291,7 +291,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/cooked_stickastackatick') .translationKey('item.tfg.food.cooked_stickastackatick') .parentModel('tfg:item/food/cooked_stickastackatick') - .food(food => food.hunger(2).saturation(5) + .food(food => food.hunger(2).saturation(2) .eaten(ctx => { ctx.player.give('minecraft:stick') })) @@ -312,7 +312,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/cooked_cruncher_ribs') .translationKey('item.tfg.food.cooked_cruncher_ribs') .texture('tfg:item/food/cooked_cruncher_ribs') - .food(food => food.hunger(10).saturation(14)) + .food(food => food.hunger(10).saturation(4)) .tag('tfc:foods') .tag('tfc:foods/meats') .tag('tfc:foods/cooked_meats') @@ -330,7 +330,7 @@ function registerTFGFoodItems(event) { event.create('tfg:food/cooked_surfer_steak') .translationKey('item.tfg.food.cooked_surfer_steak') .texture('tfg:item/food/cooked_surfer_steak') - .food(food => food.hunger(8).saturation(8)) + .food(food => food.hunger(8).saturation(4)) .tag('tfc:foods') .tag('tfc:foods/meats') .tag('tfc:foods/cooked_meats')