From 0ecd6fbed1d2ab1b55efbfba443a1d0a5fa26372 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Tue, 28 Oct 2025 13:54:49 +0000 Subject: [PATCH] don't need recipes to use the canner, it can already do that --- kubejs/server_scripts/tfclunchbox/recipes.js | 23 -------------------- 1 file changed, 23 deletions(-) diff --git a/kubejs/server_scripts/tfclunchbox/recipes.js b/kubejs/server_scripts/tfclunchbox/recipes.js index d96eef2ea..4267488c6 100644 --- a/kubejs/server_scripts/tfclunchbox/recipes.js +++ b/kubejs/server_scripts/tfclunchbox/recipes.js @@ -2,31 +2,8 @@ "use strict"; function registerTFCLunchBoxRecipes(event) { - - const fluidCells = [ - { id: 'gtceu:universal_fluid_cell', capacity: 1000, name: 'universal' }, - { id: 'gtceu:fluid_cell', capacity: 1000, name: 'basic' }, - { id: 'gtceu:steel_fluid_cell', capacity: 8000, name: 'steel' }, - { id: 'gtceu:aluminium_fluid_cell', capacity: 32000, name: 'aluminium' }, - { id: 'gtceu:stainless_steel_fluid_cell', capacity: 64000, name: 'stainless_steel' }, - { id: 'gtceu:titanium_fluid_cell', capacity: 128000, name: 'titanium' }, - { id: 'gtceu:tungstensteel_fluid_cell', capacity: 512000, name: 'tungstensteel' }, - { id: 'gtceu:glass_vial', capacity: 1000, name: 'glass_vial' } - ]; - // Убираем оригинальные рецепты капсул // Remove original capsule recipes event.remove({ id: 'tfclunchbox:universal_capsule' }) event.remove({ id: 'tfclunchbox:fill_capsule_with_ice' }) - - // Рецепты заполнения fluid cells жидким льдом - // Recipes for filling fluid cells with liquid ice - fluidCells.forEach(cell => { - event.recipes.gtceu.canner(`tfclunchbox:fill_${cell.name}_cell_with_liquid_ice`) - .itemInputs(cell.id) - .inputFluids(Fluid.of('gtceu:ice', cell.capacity)) - .itemOutputs(Item.of(cell.id, `{Fluid:{Amount:${ cell.capacity },FluidName:"gtceu:ice"}}`)) - .duration(Math.max(16, Math.floor(cell.capacity / 64))) - .EUt(GTValues.VA[GTValues.LV]); - }); } \ No newline at end of file