added a bunch of plants from Better End, tags, recipes, license, credits (#1229)

This commit is contained in:
Pyritie 2025-06-29 20:10:37 +01:00 committed by GitHub
parent 39c847a561
commit 710db0a913
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
125 changed files with 1714 additions and 38 deletions

View file

@ -0,0 +1,30 @@
// priority: 0
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)
.itemInputs(element.id)
.itemOutputs(`8x ${element.id}`)
.chancedOutput(element.id, 7500, 0)
.chancedOutput(element.id, 5000, 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)
.inputFluids(Fluid.of('gtceu:helium_3', 500))
.itemOutputs(`8x ${element.id}`)
.chancedOutput(element.id, 7500, 0)
.chancedOutput(element.id, 5000, 0)
.duration(12000) // 30 mins
.circuit(2)
.EUt(GTValues.VA[GTValues.MV])
.dimension('ad_astra:moon')
});
}

View file

@ -0,0 +1,8 @@
// priority: 0
function registerBetterEndItemTags(event) {
event.add('tfg:moon_plants', 'betterend:chorus_lily')
event.add('tfg:moon_plants', 'betterend:inflexia')
event.add('tfg:moon_plants', 'betterend:chorus_grass')
}