// priority: 0 "use strict"; function registerBetterEndRecipes(event) { Ingredient.of('#tfg:moon_plants').stacks.forEach(element => { const itemId = element.id; const recipeId = `betterend:greenhouse_${itemId.replace(':', '_')}`; event.recipes.gtceu.greenhouse(recipeId) .notConsumable(element.id) .itemOutputs(`8x ${element.id}`) .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`) .notConsumable(element.id) .inputFluids(Fluid.of('gtceu:helium_3', 500)) .itemOutputs(`8x ${element.id}`) .chancedOutput(element.id, 4000, 0) .chancedOutput(element.id, 3000, 0) .duration(12000) // 30 mins .circuit(2) .EUt(GTValues.VA[GTValues.MV]) .dimension('ad_astra:moon') }); }