missing uses for clean foil packs

This commit is contained in:
Pyritie 2025-07-05 13:27:21 +01:00
parent f8693af91c
commit 8f9bbc258d
2 changed files with 9 additions and 7 deletions

View file

@ -368,7 +368,7 @@ function registerTFGFoodRecipes(event) {
global.FOOD_FRUIT.forEach(fruit => { global.FOOD_FRUIT.forEach(fruit => {
processorRecipeText(`${fruit.name}/drying`, 100, 120, "tfg.food_recipe.freeze_drying", { processorRecipeText(`${fruit.name}/drying`, 100, 120, "tfg.food_recipe.freeze_drying", {
circuit: 7, circuit: 7,
itemInputs: [fruit.id, 'tfg:foil_pack', 'tfg:dry_ice'], itemInputs: [fruit.id, '#tfg:foil_packs', 'tfg:dry_ice'],
itemOutputs: [`tfg:food/freeze_dried/${fruit.name}`], itemOutputs: [`tfg:food/freeze_dried/${fruit.name}`],
itemOutputProvider: TFC.isp.of(`tfg:food/freeze_dried/${fruit.name}`).copyOldestFood().removeTrait('firmalife:dried').addTrait('tfg:freeze_dried') itemOutputProvider: TFC.isp.of(`tfg:food/freeze_dried/${fruit.name}`).copyOldestFood().removeTrait('firmalife:dried').addTrait('tfg:freeze_dried')
}) })
@ -380,7 +380,7 @@ function registerTFGFoodRecipes(event) {
//1 Input //1 Input
processorRecipeText('meal_bag/1', 100, 120, "tfg.food_recipe.freeze_drying", { processorRecipeText('meal_bag/1', 100, 120, "tfg.food_recipe.freeze_drying", {
circuit: 10, circuit: 10,
itemInputs: ['1x #tfg:foods/usable_in_meal_bag', '2x tfg:foil_pack', 'tfg:dry_ice'], itemInputs: ['1x #tfg:foods/usable_in_meal_bag', '2x #tfg:foil_packs', 'tfg:dry_ice'],
itemOutputs: ['2x tfg:food/meal_bag'], itemOutputs: ['2x tfg:food/meal_bag'],
itemOutputProvider: TFC.isp.of('2x tfg:food/meal_bag').meal( itemOutputProvider: TFC.isp.of('2x tfg:food/meal_bag').meal(
(food => food.hunger(4).saturation(1.5).decayModifier(4.5)), [ (food => food.hunger(4).saturation(1.5).decayModifier(4.5)), [
@ -391,7 +391,7 @@ function registerTFGFoodRecipes(event) {
//2 Input //2 Input
processorRecipeText('meal_bag/2', 100, 120, "tfg.food_recipe.freeze_drying", { processorRecipeText('meal_bag/2', 100, 120, "tfg.food_recipe.freeze_drying", {
circuit: 11, circuit: 11,
itemInputs: ['2x #tfg:foods/usable_in_meal_bag', '2x tfg:foil_pack', 'tfg:dry_ice'], itemInputs: ['2x #tfg:foods/usable_in_meal_bag', '2x #tfg:foil_packs', 'tfg:dry_ice'],
itemOutputs: ['2x tfg:food/meal_bag'], itemOutputs: ['2x tfg:food/meal_bag'],
itemOutputProvider: TFC.isp.of('2x tfg:food/meal_bag').meal( itemOutputProvider: TFC.isp.of('2x tfg:food/meal_bag').meal(
(food => food.hunger(4).saturation(1.5).decayModifier(4.5)), [ (food => food.hunger(4).saturation(1.5).decayModifier(4.5)), [
@ -402,7 +402,7 @@ function registerTFGFoodRecipes(event) {
//3 Input //3 Input
processorRecipeText('meal_bag/3', 100, 120, "tfg.food_recipe.freeze_drying", { processorRecipeText('meal_bag/3', 100, 120, "tfg.food_recipe.freeze_drying", {
circuit: 12, circuit: 12,
itemInputs: ['3x #tfg:foods/usable_in_meal_bag', '2x tfg:foil_pack', 'tfg:dry_ice'], itemInputs: ['3x #tfg:foods/usable_in_meal_bag', '2x #tfg:foil_packs', 'tfg:dry_ice'],
itemOutputs: ['2x tfg:food/meal_bag'], itemOutputs: ['2x tfg:food/meal_bag'],
itemOutputProvider: TFC.isp.of('2x tfg:food/meal_bag').meal( itemOutputProvider: TFC.isp.of('2x tfg:food/meal_bag').meal(
(food => food.hunger(4).saturation(1.5).decayModifier(4.5)), [ (food => food.hunger(4).saturation(1.5).decayModifier(4.5)), [
@ -413,7 +413,7 @@ function registerTFGFoodRecipes(event) {
//4 Input //4 Input
processorRecipeText('meal_bag/4', 100, 120, "tfg.food_recipe.freeze_drying", { processorRecipeText('meal_bag/4', 100, 120, "tfg.food_recipe.freeze_drying", {
circuit: 13, circuit: 13,
itemInputs: ['4x #tfg:foods/usable_in_meal_bag', '2x tfg:foil_pack', 'tfg:dry_ice'], itemInputs: ['4x #tfg:foods/usable_in_meal_bag', '2x #tfg:foil_packs', 'tfg:dry_ice'],
itemOutputs: ['2x tfg:food/meal_bag'], itemOutputs: ['2x tfg:food/meal_bag'],
itemOutputProvider: TFC.isp.of('2x tfg:food/meal_bag').meal( itemOutputProvider: TFC.isp.of('2x tfg:food/meal_bag').meal(
(food => food.hunger(4).saturation(1.5).decayModifier(4.5)), [ (food => food.hunger(4).saturation(1.5).decayModifier(4.5)), [
@ -424,7 +424,7 @@ function registerTFGFoodRecipes(event) {
//5 Input //5 Input
processorRecipeText('meal_bag/5', 100, 120, "tfg.food_recipe.freeze_drying", { processorRecipeText('meal_bag/5', 100, 120, "tfg.food_recipe.freeze_drying", {
circuit: 14, circuit: 14,
itemInputs: ['5x #tfg:foods/usable_in_meal_bag', '2x tfg:foil_pack', 'tfg:dry_ice'], itemInputs: ['5x #tfg:foods/usable_in_meal_bag', '2x #tfg:foil_packs', 'tfg:dry_ice'],
itemOutputs: ['2x tfg:food/meal_bag'], itemOutputs: ['2x tfg:food/meal_bag'],
itemOutputProvider: TFC.isp.of('2x tfg:food/meal_bag').meal( itemOutputProvider: TFC.isp.of('2x tfg:food/meal_bag').meal(
(food => food.hunger(4).saturation(1.5).decayModifier(4.5)), [ (food => food.hunger(4).saturation(1.5).decayModifier(4.5)), [
@ -507,7 +507,7 @@ function registerTFGFoodRecipes(event) {
processorRecipeText('calorie_paste', 100, 512, "tfg.food_recipe.freeze_drying", { processorRecipeText('calorie_paste', 100, 512, "tfg.food_recipe.freeze_drying", {
circuit: 8, circuit: 8,
itemInputs: ['firmalife:food/soybean_paste', 'tfg:foil_pack', '2x gtceu:small_meat_dust', 'tfg:dry_ice'], itemInputs: ['firmalife:food/soybean_paste', '#tfg:foil_packs', '2x gtceu:small_meat_dust', 'tfg:dry_ice'],
itemOutputs: ['tfg:food/calorie_paste'], itemOutputs: ['tfg:food/calorie_paste'],
fluidInputs: [Fluid.of('gtceu:fermented_biomass', 40)], fluidInputs: [Fluid.of('gtceu:fermented_biomass', 40)],
itemOutputProvider: TFC.isp.of('tfg:food/calorie_paste').copyOldestFood().addTrait('tfg:freeze_dried'), itemOutputProvider: TFC.isp.of('tfg:food/calorie_paste').copyOldestFood().addTrait('tfg:freeze_dried'),

View file

@ -185,6 +185,8 @@ const registerTFGItemTags = (event) => {
}); });
//meal bags //meal bags
event.add('tfg:foil_packs', 'tfg:foil_pack');
event.add('tfg:foil_packs', 'tfg:clean_foil_pack')
event.add('tfg:foods/usable_in_meal_bag', '#tfc:foods/meats'); event.add('tfg:foods/usable_in_meal_bag', '#tfc:foods/meats');
event.add('tfg:foods/usable_in_meal_bag', '#tfc:foods/grains'); event.add('tfg:foods/usable_in_meal_bag', '#tfc:foods/grains');
event.add('tfg:foods/usable_in_meal_bag', '#tfc:foods/vegetables'); event.add('tfg:foods/usable_in_meal_bag', '#tfc:foods/vegetables');