Fix EHG for Logs and reduce cost by half (#1564)

Signed-off-by: TomPlop <tomdidome@gmail.com>
This commit is contained in:
TomPlop 2025-08-08 15:23:38 -04:00 committed by GitHub
parent feec2487ef
commit d29c254dc4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,30 +58,30 @@ const registerTFCRecipes = (event) => {
// Дерево // Дерево
global.TFC_WOOD_TYPES.forEach(wood => { global.TFC_WOOD_TYPES.forEach(wood => {
generateGreenHouseRecipe(event, `8x tfc:wood/sapling/${wood}`, '#tfg:clean_water', 16000, `64x tfc:wood/log/${wood}`, generateGreenHouseRecipe(event, `8x tfc:wood/sapling/${wood}`, '#tfg:clean_water', 16000, `64x tfc:wood/log/${wood}`,
`tfg:greenhouse/${wood}`, 'minecraft:overworld', 16, null, GTValues.VA[GTValues.MV]) `tfg:greenhouse/${wood}`, 'minecraft:overworld', 16, null, GTValues.VH[GTValues.LV])
}) })
global.AFC_SAPLINGS.forEach(x => { global.AFC_SAPLINGS.forEach(x => {
generateGreenHouseRecipe(event, `8x afc:wood/sapling/${x.sapling}`, '#tfg:clean_water', 16000, `64x ${x.log}`, generateGreenHouseRecipe(event, `8x afc:wood/sapling/${x.sapling}`, '#tfg:clean_water', 16000, `64x ${x.log}`,
`tfg:greenhouse/${x.sapling}`, 'minecraft:overworld', 16, null, GTValues.VA[GTValues.MV]) `tfg:greenhouse/${x.sapling}`, 'minecraft:overworld', 16, null, GTValues.VH[GTValues.LV])
}) })
// Семена фруктов // Семена фруктов
global.TFC_GREENHOUSE_FRUIT_RECIPE_COMPONENTS.forEach(element => { global.TFC_GREENHOUSE_FRUIT_RECIPE_COMPONENTS.forEach(element => {
generateGreenHouseRecipe(event, element.input, '#tfg:clean_water', element.fluid_amount, element.output, generateGreenHouseRecipe(event, element.input, '#tfg:clean_water', element.fluid_amount, element.output,
element.name, 'minecraft:overworld', 8, null, GTValues.VA[GTValues.LV]) element.name, 'minecraft:overworld', 8, null, GTValues.VH[GTValues.LV])
}) })
// Семена овощей // Семена овощей
global.TFC_GREENHOUSE_VEGETABLE_RECIPE_COMPONENTS.forEach(element => { global.TFC_GREENHOUSE_VEGETABLE_RECIPE_COMPONENTS.forEach(element => {
generateGreenHouseRecipe(event, element.input, '#tfg:clean_water', element.fluid_amount, element.output, generateGreenHouseRecipe(event, element.input, '#tfg:clean_water', element.fluid_amount, element.output,
element.name, null, 8, null, GTValues.VA[GTValues.LV]) element.name, null, 8, null, GTValues.VH[GTValues.LV])
}) })
// Семена ягод // Семена ягод
global.TFC_GREENHOUSE_BERRY_RECIPE_COMPONENTS.forEach(element => { global.TFC_GREENHOUSE_BERRY_RECIPE_COMPONENTS.forEach(element => {
generateGreenHouseRecipe(event, element.input, '#tfg:clean_water', element.fluid_amount, element.output, generateGreenHouseRecipe(event, element.input, '#tfg:clean_water', element.fluid_amount, element.output,
element.name, null, 8, null, GTValues.VA[GTValues.LV]) element.name, null, 8, null, GTValues.VH[GTValues.LV])
}) })
// Растения // Растения
@ -90,7 +90,7 @@ const registerTFCRecipes = (event) => {
const recipeId = `greenhouse_${itemId.replace(':', '_')}`; const recipeId = `greenhouse_${itemId.replace(':', '_')}`;
generateGreenHouseRecipe(event, itemId, '#tfg:clean_water', 8000, `8x ${itemId}`, generateGreenHouseRecipe(event, itemId, '#tfg:clean_water', 8000, `8x ${itemId}`,
recipeId, null, 8, null, GTValues.VA[GTValues.LV]); recipeId, null, 8, null, GTValues.VH[GTValues.LV]);
}); });
//#endregion //#endregion