added "requiresNaturalLog" config to afc tree tapping recipes so you can't tap your house

This commit is contained in:
Pyritie
2025-05-10 02:33:44 +01:00
parent cdef2a2884
commit 94de3037e4

View File

@@ -91,29 +91,35 @@ const registerAFCRecipes = (event) => {
event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/hevea")) event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/hevea"))
.resultFluid(Fluid.of("tfg:latex", 3)) .resultFluid(Fluid.of("tfg:latex", 3))
.minTemp(22) .minTemp(22)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/latex/hevea") .id("tfg:tree_tapping/latex/hevea")
event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/ancient_hevea")) event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/ancient_hevea"))
.resultFluid(Fluid.of("tfg:latex", 3)) .resultFluid(Fluid.of("tfg:latex", 3))
.minTemp(22) .minTemp(22)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/latex/ancient_hevea") .id("tfg:tree_tapping/latex/ancient_hevea")
event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/rubber_fig")) event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/rubber_fig"))
.resultFluid(Fluid.of("tfg:latex", 2)) .resultFluid(Fluid.of("tfg:latex", 2))
.minTemp(12) .minTemp(12)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/latex/rubber_fig") .id("tfg:tree_tapping/latex/rubber_fig")
event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/ancient_rubber_fig")) event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/ancient_rubber_fig"))
.resultFluid(Fluid.of("tfg:latex", 2)) .resultFluid(Fluid.of("tfg:latex", 2))
.minTemp(12) .minTemp(12)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/latex/ancient_rubber_fig") .id("tfg:tree_tapping/latex/ancient_rubber_fig")
//Kapok Grandfathered, least efficient but works as long as the temperature is not freezing //Kapok Grandfathered, least efficient but works as long as the temperature is not freezing
event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/kapok")) event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/kapok"))
.resultFluid(Fluid.of("tfg:latex", 1)) .resultFluid(Fluid.of("tfg:latex", 1))
.minTemp(1) .minTemp(1)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/kapok_latex") .id("tfg:tree_tapping/kapok_latex")
event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/ancient_kapok")) event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/ancient_kapok"))
.resultFluid(Fluid.of("tfg:latex", 1)) .resultFluid(Fluid.of("tfg:latex", 1))
.minTemp(1) .minTemp(1)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/ancient_kapok_latex") .id("tfg:tree_tapping/ancient_kapok_latex")
@@ -121,61 +127,47 @@ const registerAFCRecipes = (event) => {
event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/aspen")) event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/aspen"))
.resultFluid(Fluid.of('tfg:conifer_pitch', 2)) .resultFluid(Fluid.of('tfg:conifer_pitch', 2))
.minTemp(-10) .minTemp(-10)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/aspen_resin") .id("tfg:tree_tapping/aspen_resin")
event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/ancient_aspen")) event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/ancient_aspen"))
.resultFluid(Fluid.of('tfg:conifer_pitch', 2)) .resultFluid(Fluid.of('tfg:conifer_pitch', 2))
.minTemp(-10) .minTemp(-10)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/ancient_aspen_resin") .id("tfg:tree_tapping/ancient_aspen_resin")
event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/spruce")) event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/spruce"))
.resultFluid(Fluid.of('tfg:conifer_pitch', 4)) .resultFluid(Fluid.of('tfg:conifer_pitch', 4))
.minTemp(-15) .minTemp(-15)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/spruce_resin") .id("tfg:tree_tapping/spruce_resin")
event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/ancient_spruce")) event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/ancient_spruce"))
.resultFluid(Fluid.of('tfg:conifer_pitch', 4)) .resultFluid(Fluid.of('tfg:conifer_pitch', 4))
.minTemp(-15) .minTemp(-15)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/ancient_spruce_resin") .id("tfg:tree_tapping/ancient_spruce_resin")
event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/white_cedar")) event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/white_cedar"))
.resultFluid(Fluid.of('tfg:conifer_pitch', 3)) .resultFluid(Fluid.of('tfg:conifer_pitch', 3))
.minTemp(-8) .minTemp(-8)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/white_cedar_resin") .id("tfg:tree_tapping/white_cedar_resin")
event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/ancient_white_cedar")) event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/ancient_white_cedar"))
.resultFluid(Fluid.of('tfg:conifer_pitch', 3)) .resultFluid(Fluid.of('tfg:conifer_pitch', 3))
.minTemp(-8) .minTemp(-8)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/ancient_white_cedar_resin") .id("tfg:tree_tapping/ancient_white_cedar_resin")
event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/douglas_fir")) event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/douglas_fir"))
.resultFluid(Fluid.of('tfg:conifer_pitch', 2)) .resultFluid(Fluid.of('tfg:conifer_pitch', 2))
.minTemp(-8) .minTemp(-8)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/douglas_fir_resin") .id("tfg:tree_tapping/douglas_fir_resin")
event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/ancient_douglas_fir")) event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/ancient_douglas_fir"))
.resultFluid(Fluid.of('tfg:conifer_pitch', 2)) .resultFluid(Fluid.of('tfg:conifer_pitch', 2))
.minTemp(-8) .minTemp(-8)
.requiresNaturalLog(true)
.id("tfg:tree_tapping/ancient_douglas_fir_resin") .id("tfg:tree_tapping/ancient_douglas_fir_resin")
//#region Выход: Сырая резиновая пыль
// Removed in favor of making these output latex
// // Из бревна капока
// event.recipes.gtceu.extractor('raw_rubber_from_log')
// .itemInputs('#tfg:latex_logs')
// .itemOutputs('gtceu:raw_rubber_dust')
// .duration(300)
// .EUt(2)
// // Из саженца капока
// event.recipes.gtceu.extractor('raw_rubber_from_sapling')
// .itemInputs('1x #tfg:rubber_saplings')
// .itemOutputs('gtceu:raw_rubber_dust')
// .duration(300)
// .EUt(2)
// // Из листвы капока
// event.recipes.gtceu.extractor('raw_rubber_from_leaves')
// .itemInputs('16x #tfg:rubber_leaves')
// .itemOutputs('gtceu:raw_rubber_dust')
// .duration(300)
// .EUt(2)
event.recipes.gtceu.extractor('latex_from_log') event.recipes.gtceu.extractor('latex_from_log')
.itemInputs('4x #tfg:latex_logs') .itemInputs('4x #tfg:latex_logs')