From 671d2af43ed8a6ee6848228b46d92aad53f9a650 Mon Sep 17 00:00:00 2001 From: TomPlop Date: Sun, 13 Jul 2025 18:53:25 -0400 Subject: [PATCH] Changing input for notConsumable (#1307) --- kubejs/server_scripts/betterend/recipes.js | 12 ++++----- kubejs/server_scripts/gregtech/utility.js | 12 ++++----- kubejs/server_scripts/tfg/recipes.space.js | 30 +++++++++++----------- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/kubejs/server_scripts/betterend/recipes.js b/kubejs/server_scripts/betterend/recipes.js index c84bdf38f..62e00407e 100644 --- a/kubejs/server_scripts/betterend/recipes.js +++ b/kubejs/server_scripts/betterend/recipes.js @@ -7,21 +7,21 @@ function registerBetterEndRecipes(event) { const recipeId = `betterend:greenhouse_${itemId.replace(':', '_')}`; event.recipes.gtceu.greenhouse(recipeId) - .itemInputs(element.id) + .notConsumable(element.id) .itemOutputs(`8x ${element.id}`) - .chancedOutput(element.id, 7500, 1000) - .chancedOutput(element.id, 5000, 1000) + .chancedOutput(element.id, 750, 0) + .chancedOutput(element.id, 500, 0) .duration(36000) // 30 mins .circuit(1) .EUt(GTValues.VA[GTValues.MV]) .dimension('ad_astra:moon') event.recipes.gtceu.greenhouse(recipeId + "_helium") - .itemInputs(element.id) + .notConsumable(element.id) .inputFluids(Fluid.of('gtceu:helium_3', 500)) .itemOutputs(`8x ${element.id}`) - .chancedOutput(element.id, 8500, 1000) - .chancedOutput(element.id, 6000, 1000) + .chancedOutput(element.id, 4000, 0) + .chancedOutput(element.id, 3000, 0) .duration(12000) // 30 mins .circuit(2) .EUt(GTValues.VA[GTValues.MV]) diff --git a/kubejs/server_scripts/gregtech/utility.js b/kubejs/server_scripts/gregtech/utility.js index 2c8c484a3..d876578f6 100644 --- a/kubejs/server_scripts/gregtech/utility.js +++ b/kubejs/server_scripts/gregtech/utility.js @@ -27,12 +27,12 @@ const generateGreenHouseRecipe = (event, input, fluid_amount, output, id, dimens // Без удобрения let r = event.recipes.gtceu.greenhouse(id) - .itemInputs(input) + .notConsumable(input) .circuit(1) .inputFluids(JsonIO.of({ amount: fluid_amount, value: { tag: "tfg:clean_water" }})) .itemOutputs(output) - .chancedOutput(input, 7500, 1000) - .chancedOutput(input, 5000, 1000) + .chancedOutput(input, 750, 0) + .chancedOutput(input, 500, 0) .duration(36000) // 30 mins .EUt(GTValues.VA[GTValues.LV]) @@ -41,13 +41,13 @@ const generateGreenHouseRecipe = (event, input, fluid_amount, output, id, dimens // С удобрением r = event.recipes.gtceu.greenhouse(`${id}_fertilized`) - .itemInputs(input) + .notConsumable(input) .itemInputs(Item.of('gtceu:fertilizer', fertiliser_count)) .circuit(2) .inputFluids(JsonIO.of({ amount: fluid_amount, value: { tag: "tfg:clean_water" }})) .itemOutputs(output) - .chancedOutput(input, 8500, 1000) - .chancedOutput(input, 6000, 1000) + .chancedOutput(input, 4000, 0) + .chancedOutput(input, 3000, 0) .duration(12000) // 10 mins .EUt(GTValues.VA[GTValues.LV]) diff --git a/kubejs/server_scripts/tfg/recipes.space.js b/kubejs/server_scripts/tfg/recipes.space.js index 780572b5c..4819c8e91 100644 --- a/kubejs/server_scripts/tfg/recipes.space.js +++ b/kubejs/server_scripts/tfg/recipes.space.js @@ -140,21 +140,21 @@ function registerTFGSpaceRecipes(event) { // Chorus event.recipes.gtceu.greenhouse('tfg:chorus') - .itemInputs('8x tfg:lunar_chorus_flower') + .notConsumable('8x tfg:lunar_chorus_flower') .itemOutputs('64x minecraft:chorus_fruit') - .chancedOutput('8x tfg:lunar_chorus_flower', 7500, 1000) - .chancedOutput('8x tfg:lunar_chorus_flower', 5000, 1000) + .chancedOutput('8x tfg:lunar_chorus_flower', 750, 0) + .chancedOutput('8x tfg:lunar_chorus_flower', 500, 0) .duration(36000) // 30 mins .circuit(1) .EUt(GTValues.VA[GTValues.MV]) .dimension('ad_astra:moon') event.recipes.gtceu.greenhouse('tfg:chorus_helium') - .itemInputs('8x tfg:lunar_chorus_flower') + .notConsumable('8x tfg:lunar_chorus_flower') .inputFluids(Fluid.of('gtceu:helium_3', 2000)) .itemOutputs('64x minecraft:chorus_fruit') - .chancedOutput('8x tfg:lunar_chorus_flower', 8500, 1000) - .chancedOutput('8x tfg:lunar_chorus_flower', 6000, 1000) + .chancedOutput('8x tfg:lunar_chorus_flower', 4000, 0) + .chancedOutput('8x tfg:lunar_chorus_flower', 3000, 0) .duration(12000) // 10 mins .circuit(2) .EUt(GTValues.VA[GTValues.MV]) @@ -171,7 +171,7 @@ function registerTFGSpaceRecipes(event) { event.recipes.gtceu.fermenter('tfg:chorus') .itemInputs('minecraft:chorus_fruit') .inputFluids(Fluid.of('gtceu:biomass', 20)) - .chancedOutput('ae2:ender_dust', 100, 100) + .chancedOutput('ae2:ender_dust', 100, 0) .outputFluids(Fluid.of('gtceu:nitrogen', 1000)) .circuit(2) .duration(5 * 20) @@ -180,23 +180,23 @@ function registerTFGSpaceRecipes(event) { // Lightblooms event.recipes.gtceu.greenhouse('tfg:lightbloom') - .itemInputs('8x minecraft:twisting_vines') + .notConsumable('8x minecraft:twisting_vines') .itemOutputs('16x minecraft:twisting_vines') - .chancedOutput('minecraft:pearlescent_froglight', 2500, 1000) - .chancedOutput('minecraft:verdant_froglight', 2500, 1000) - .chancedOutput('minecraft:ochre_froglight', 2500, 1000) + .chancedOutput('minecraft:pearlescent_froglight', 2500, 0) + .chancedOutput('minecraft:verdant_froglight', 2500, 0) + .chancedOutput('minecraft:ochre_froglight', 2500, 0) .duration(36000) // 30 mins .circuit(1) .EUt(GTValues.VA[GTValues.LV]) .dimension('ad_astra:moon') event.recipes.gtceu.greenhouse('tfg:lightbloom_helium') - .itemInputs('8x minecraft:twisting_vines') + .notConsumable('8x minecraft:twisting_vines') .inputFluids(Fluid.of('gtceu:helium_3', 2000)) .itemOutputs('16x minecraft:twisting_vines') - .chancedOutput('minecraft:pearlescent_froglight', 3500, 1000) - .chancedOutput('minecraft:verdant_froglight', 3500, 1000) - .chancedOutput('minecraft:ochre_froglight', 3500, 1000) + .chancedOutput('minecraft:pearlescent_froglight', 3500, 0) + .chancedOutput('minecraft:verdant_froglight', 3500, 0) + .chancedOutput('minecraft:ochre_froglight', 3500, 0) .duration(12000) // 30 mins .circuit(2) .EUt(GTValues.VA[GTValues.LV])