* gt7 removed credits/coins * port gregtech additions to java * add eslint locally * add style linting * switch target ECMA standard * run linter * clean up a bunch of linter errors * remove outdated greate API calls * forgot about the TFC multi compat issue * reverted greate recipe removals * some more linting stuff * fix some issues with greenhouse recipes * fix up some material stuff * fix recipe types * - Fixed single block machine rendering (#1465) * minor fixes and changes --------- Signed-off-by: Pyritie <pyritie@gmail.com> Co-authored-by: Pyritie <pyritie@gmail.com> Co-authored-by: Redeix <59435925+Redeix@users.noreply.github.com>
31 lines
No EOL
902 B
JavaScript
31 lines
No EOL
902 B
JavaScript
// 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')
|
|
});
|
|
} |