Changing input for notConsumable (#1307)

This commit is contained in:
TomPlop 2025-07-13 18:53:25 -04:00 committed by GitHub
parent a608c8955c
commit 671d2af43e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 27 additions and 27 deletions

View file

@ -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])

View file

@ -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])

View file

@ -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])