From cc26bf9fca15408b1a12625525297640aebe16e0 Mon Sep 17 00:00:00 2001 From: Pyritie Date: Wed, 11 Jun 2025 20:30:22 +0100 Subject: [PATCH] latex balance changes --- CHANGELOG.md | 2 + .../arborfirmacraft/tapping_index.json | 6 +-- kubejs/server_scripts/afc/recipes.js | 41 +++++++++---------- .../vintage_improvements/recipes.js | 6 +-- 4 files changed, 27 insertions(+), 28 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index abc029763..ca77157fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ - Added lunch boxes! They keep your food cool and you can even eat right out of them! @Thomasx0 ### Changes - Added cinnabar to piglin bartering and changed the deep cave enderman loot table to raw gold instead of coal @Pyritie +- Nerfed extraction of latex from logs to encourage tree taps instead @Pyritie +- Adjusted temperature tolerance of latex trees, check the field guide for specifics @Pyritie ### Bug fixes - Fixed trowel being consumed on use (#1143) @Redeix - Fixed glass dust dupe with unfinished lamps (#1134) @Pyritie diff --git a/kubejs/assets/tfc/patchouli_books/field_guide/en_us/entries/arborfirmacraft/tapping_index.json b/kubejs/assets/tfc/patchouli_books/field_guide/en_us/entries/arborfirmacraft/tapping_index.json index cfcd8d059..aaa416ef1 100644 --- a/kubejs/assets/tfc/patchouli_books/field_guide/en_us/entries/arborfirmacraft/tapping_index.json +++ b/kubejs/assets/tfc/patchouli_books/field_guide/en_us/entries/arborfirmacraft/tapping_index.json @@ -47,7 +47,7 @@ "title": "Hevea", "item": "afc:wood/log/hevea,afc:wood/wood/hevea,afc:wood/leaves/hevea,afc:wood/sapling/hevea", "link_recipe": false, - "text": "$(bold)Climate Data$()$(br)$(thing)Minimum Temperature$(): 17.1°C$(br)$(thing)Maximum Temperature$(): 26.2°C$(br)$(thing)Minimum Rainfall$(): 390$(br)$(thing)Maximum Rainfall$(): 500$(br2)$(bold)Tapping Data$()$(br)$(thing)Min Temp for Production$(): 22°C$(br)$(thing)Max Temp for Production$(): N/A$(br)$(thing)Spring Exclusive$(): No$(br)$(thing)Flow Rate$(): 3mb" + "text": "$(bold)Climate Data$()$(br)$(thing)Minimum Temperature$(): 17.1°C$(br)$(thing)Maximum Temperature$(): 26.2°C$(br)$(thing)Minimum Rainfall$(): 390$(br)$(thing)Maximum Rainfall$(): 500$(br2)$(bold)Tapping Data$()$(br)$(thing)Min Temp for Production$(): 8°C$(br)$(thing)Max Temp for Production$(): N/A$(br)$(thing)Spring Exclusive$(): No$(br)$(thing)Flow Rate$(): 2mb" }, { "type": "patchouli:image", @@ -61,7 +61,7 @@ "title": "Rubber Fig", "item": "afc:wood/log/rubber_fig,afc:wood/wood/rubber_fig,afc:wood/leaves/rubber_fig,afc:wood/sapling/rubber_fig", "link_recipe": false, - "text": "$(bold)Climate Data$()$(br)$(thing)Minimum Temperature$(): 9.8°C$(br)$(thing)Maximum Temperature$(): 20.7°C$(br)$(thing)Minimum Rainfall$(): 290$(br)$(thing)Maximum Rainfall$(): 400$(br2)$(bold)Tapping Data$()$(br)$(thing)Min Temp for Production$(): 12°C$(br)$(thing)Max Temp for Production$(): N/A$(br)$(thing)Spring Exclusive$(): No$(br)$(thing)Flow Rate$(): 2mb" + "text": "$(bold)Climate Data$()$(br)$(thing)Minimum Temperature$(): 9.8°C$(br)$(thing)Maximum Temperature$(): 20.7°C$(br)$(thing)Minimum Rainfall$(): 290$(br)$(thing)Maximum Rainfall$(): 400$(br2)$(bold)Tapping Data$()$(br)$(thing)Min Temp for Production$(): 4°C$(br)$(thing)Max Temp for Production$(): N/A$(br)$(thing)Spring Exclusive$(): No$(br)$(thing)Flow Rate$(): 1mb" }, { "type": "patchouli:image", @@ -75,7 +75,7 @@ "title": "Kapok", "item": "tfc:wood/log/kapok,tfc:wood/wood/kapok,tfc:wood/leaves/kapok,tfc:wood/sapling/kapok", "link_recipe": false, - "text": "$(bold)Climate Data$()$(br)$(thing)Minimum Temperature$(): 17.1°C$(br)$(thing)Maximum Temperature$(): 38°C$(br)$(thing)Minimum Rainfall$(): 320$(br)$(thing)Maximum Rainfall$(): 500$(br2)$(bold)Tapping Data$()$(br)$(thing)Min Temp for Production$(): 1°C$(br)$(thing)Max Temp for Production$(): N/A$(br)$(thing)Spring Exclusive$(): No$(br)$(thing)Flow Rate$(): 1mb" + "text": "$(bold)Climate Data$()$(br)$(thing)Minimum Temperature$(): 17.1°C$(br)$(thing)Maximum Temperature$(): 38°C$(br)$(thing)Minimum Rainfall$(): 320$(br)$(thing)Maximum Rainfall$(): 500$(br2)$(bold)Tapping Data$()$(br)$(thing)Min Temp for Production$(): 12°C$(br)$(thing)Max Temp for Production$(): N/A$(br)$(thing)Spring Exclusive$(): No$(br)$(thing)Flow Rate$(): 3mb" }, { "type": "patchouli:image", diff --git a/kubejs/server_scripts/afc/recipes.js b/kubejs/server_scripts/afc/recipes.js index 33701789a..c42ac322b 100644 --- a/kubejs/server_scripts/afc/recipes.js +++ b/kubejs/server_scripts/afc/recipes.js @@ -86,39 +86,36 @@ const registerAFCRecipes = (event) => { .id('tfg:heating/tree_tap') //Custom rubber and hevea tappings - //Hevea is the most efficient but requires the warmest temperatures - //Rubber fig requires average temperatures and its mildly efficient - event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/hevea")) - .resultFluid(Fluid.of("tfg:latex", 3)) - .minTemp(22) - .requiresNaturalLog(true) - .id("tfg:tree_tapping/latex/hevea") - event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/ancient_hevea")) - .resultFluid(Fluid.of("tfg:latex", 3)) - .minTemp(22) - .requiresNaturalLog(true) - .id("tfg:tree_tapping/latex/ancient_hevea") - event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/rubber_fig")) - .resultFluid(Fluid.of("tfg:latex", 2)) - .minTemp(12) + .resultFluid(Fluid.of("tfg:latex", 1)) + .minTemp(4) .requiresNaturalLog(true) .id("tfg:tree_tapping/latex/rubber_fig") event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/ancient_rubber_fig")) - .resultFluid(Fluid.of("tfg:latex", 2)) - .minTemp(12) + .resultFluid(Fluid.of("tfg:latex", 1)) + .minTemp(4) .requiresNaturalLog(true) .id("tfg:tree_tapping/latex/ancient_rubber_fig") - //Kapok Grandfathered, least efficient but works as long as the temperature is not freezing + event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/hevea")) + .resultFluid(Fluid.of("tfg:latex", 2)) + .minTemp(8) + .requiresNaturalLog(true) + .id("tfg:tree_tapping/latex/hevea") + event.recipes.afc.tree_tapping(TFC.blockIngredient("afc:wood/log/ancient_hevea")) + .resultFluid(Fluid.of("tfg:latex", 2)) + .minTemp(8) + .requiresNaturalLog(true) + .id("tfg:tree_tapping/latex/ancient_hevea") + event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/kapok")) - .resultFluid(Fluid.of("tfg:latex", 1)) - .minTemp(1) + .resultFluid(Fluid.of("tfg:latex", 3)) + .minTemp(12) .requiresNaturalLog(true) .id("tfg:tree_tapping/kapok_latex") event.recipes.afc.tree_tapping(TFC.blockIngredient("tfc:wood/log/ancient_kapok")) - .resultFluid(Fluid.of("tfg:latex", 1)) - .minTemp(1) + .resultFluid(Fluid.of("tfg:latex", 3)) + .minTemp(12) .requiresNaturalLog(true) .id("tfg:tree_tapping/ancient_kapok_latex") diff --git a/kubejs/server_scripts/vintage_improvements/recipes.js b/kubejs/server_scripts/vintage_improvements/recipes.js index 2aa7f2704..14ef74306 100644 --- a/kubejs/server_scripts/vintage_improvements/recipes.js +++ b/kubejs/server_scripts/vintage_improvements/recipes.js @@ -575,21 +575,21 @@ function registerVintageImprovementsRecipes(event) { event.custom({ type: 'vintageimprovements:vacuumizing', ingredients: [{ tag: 'tfg:latex_logs' }], - results: [{ fluid: 'tfg:latex', amount: 250 }], + results: [{ fluid: 'tfg:latex', amount: 100 }], processingTime: 600 }).id('tfg:vi/vacuumizing/latex_from_rubber_logs') event.custom({ type: 'vintageimprovements:vacuumizing', ingredients: [{ tag: 'tfg:rubber_saplings' }], - results: [{ fluid: 'tfg:latex', amount: 100 }], + results: [{ fluid: 'tfg:latex', amount: 25 }], processingTime: 300 }).id('tfg:vi/vacuumizing/latex_from_rubber_sapling') event.custom({ type: 'vintageimprovements:vacuumizing', ingredients: [{ tag: 'tfg:rubber_leaves' }], - results: [{ fluid: 'tfg:latex', amount: 50 }], + results: [{ fluid: 'tfg:latex', amount: 10 }], processingTime: 150 }).id('tfg:vi/vacuumizing/latex_from_rubber_leaves')