From 9943370b28aaebe053d8ce378da234cb294af3d2 Mon Sep 17 00:00:00 2001 From: The Compendium System / The Atlassian Collective <91026414+Xaligal@users.noreply.github.com> Date: Sat, 25 Oct 2025 17:56:17 +0200 Subject: [PATCH] Flax Bundles (#2080) * yay flax bundle * yay flax recipes and scraped flax pile * more flax stuffs * yay vintage improvements isn't useless now * the one missing letter of doom --------- Co-authored-by: Pyritie Co-authored-by: GameStar <56610486+BlueBoat29@users.noreply.github.com> --- .../textures/item/bundled_scraped_flax.png | Bin 0 -> 367 bytes .../assets/tfg/textures/item/flax_bundle.png | Bin 0 -> 597 bytes .../tfg/recipes.miscellaneous.js | 56 ++++++++++++++++++ kubejs/startup_scripts/tfg/items.js | 10 ++++ 4 files changed, 66 insertions(+) create mode 100644 kubejs/assets/tfg/textures/item/bundled_scraped_flax.png create mode 100644 kubejs/assets/tfg/textures/item/flax_bundle.png diff --git a/kubejs/assets/tfg/textures/item/bundled_scraped_flax.png b/kubejs/assets/tfg/textures/item/bundled_scraped_flax.png new file mode 100644 index 0000000000000000000000000000000000000000..3fc82698a53080ab75d2f89a365c62433b7c8141 GIT binary patch literal 367 zcmV-#0g(QQP)Px$DM>^@R5*>bk}*!hKoCXWBC5E`0aB!haEcf?T@<&baE-zNklb^SC=FGPfT-Qj zg3{SiC>%s#DL#NJTcR2Yv#U6 ze$C){Iu(G)$R&~;(N;0+mt=)yMlb@t?TK!NGgrog9%){2^HpD&j9ixc_$0(ep@{(6 zcC=MIUSIM4nQ$A&Cyvb)>OGeYvJP#zkI5>lbxadt;D`w+D=d?Gnpb2+JJ|??Ggls- z-c(jt4ErU4Bj^ltuQLw6tZ#eb+n%fzb2-m!As-8MxA6o0@}J0E@eKtch+^wR8K3|F N002ovPDHLkV1gWdojw2n literal 0 HcmV?d00001 diff --git a/kubejs/assets/tfg/textures/item/flax_bundle.png b/kubejs/assets/tfg/textures/item/flax_bundle.png new file mode 100644 index 0000000000000000000000000000000000000000..122c4244623186252250aeb097a72ad5ea60e535 GIT binary patch literal 597 zcmV-b0;>IqP)Px%4@pEpR5*>Ll0Rq@VHn1LmtK=__77(lZ7XD`G^LATpvFa7P>^y25gjCSs4fZ> zI(2gDBnSmvrC@O?h7w~5M8rW&8ZCqjr2!+H5K9MRkZ8EveYwveB&~na3cl<2JU4T|P2g)NhnN9%w5_jD4M3nk{F2IYK-k-#ywK7M9(ZBb5M zKPwM4SXz!V5FFF-q$wu><}K{;Q-n3~|r*Kg>SV038k;0OSs?&69D@l={hze-`t zjt7{zIV}OyzlqO(vH^H8;GyrhpX8hO*fod9#dA#x1i|sZ9>M-*XU4|l zj^hAuq3mK+1;TdGbRY3lnvKjhvagrev$uOCwldc$bv$YpCyPG-80_u_;MGtU!fNi& zj(V|c&aWkA5}S%u6==E-fDa=_+TtC@Vbrwn_Nb_Sg}JEF76T{~mrhGf_qDgXqJgIS zu&M%AG#E84R<^elS_hUdAy4#j`^NnyK{lCFtg67Pbz^^TQq(GST+wLLwC397yUKoX zn;@IaDPbcdUD0S7)f|K+@%E@>5}O^5jo&Y^Wzve0P3GDQ4mAiHA(=^RDrY87N!72Q j={`i=<#p`cfdoGRJ)-hH0$bs400000NkvXXu0mjf2_Fm4 literal 0 HcmV?d00001 diff --git a/kubejs/server_scripts/tfg/recipes.miscellaneous.js b/kubejs/server_scripts/tfg/recipes.miscellaneous.js index dcdad331e..d17db800e 100644 --- a/kubejs/server_scripts/tfg/recipes.miscellaneous.js +++ b/kubejs/server_scripts/tfg/recipes.miscellaneous.js @@ -1308,6 +1308,21 @@ function registerTFGMiscellaneousRecipes(event) { //#endregion //#region flax stuff + + event.shapeless('1x tfg:flax_bundle', ['9x tfg:flax_product']) + event.recipes.gtceu.packer('tfg:packer/flax_bundle') + .itemInputs('9x tfg:flax_product') + .itemOutputs('tfg:flax_bundle') + .duration('100') + .EUt(GTValues.VA[GTValues.ULV]) + + event.shapeless('1x tfg:bundled_scraped_flax', ['9x tfg:flax_waste']) + event.recipes.gtceu.packer('tfg:packer/bundled_scraped_flax') + .itemInputs('9x tfg:flax_waste') + .itemOutputs('tfg:bundled_scraped_flax') + .duration('100') + .EUt(GTValues.VA[GTValues.ULV]) + event.recipes.tfc.scraping( 'tfg:flax_waste', 'tfg:flax_product', @@ -1316,6 +1331,14 @@ function registerTFGMiscellaneousRecipes(event) { '2x tfg:flax_line' ).id('tfg:scraping/flax_line') + event.recipes.tfc.scraping( + 'tfg:bundled_scraped_flax', + 'tfg:flax_bundle', + 'tfg:item/bundled_scraped_flax', + 'tfg:item/flax_bundle', + '18x tfg:flax_line' + ).id('tfg:scraping/flax_line_from_bundle') + event.recipes.tfc.scraping( 'tfc:groundcover/humus', 'tfg:flax_waste', @@ -1324,17 +1347,37 @@ function registerTFGMiscellaneousRecipes(event) { 'tfg:flax_tow' ).id('tfg:scraping/flax_tow') + event.recipes.tfc.scraping( + '9x tfc:groundcover/humus', + 'tfg:bundled_scraped_flax', + 'tfc:item/groundcover/humus', + 'tfg:item/bundled_scraped_flax', + '9x tfg:flax_tow' + ).id('tfg:scraping/flax_tow_from_pile') + event.recipes.gtceu.cutter('tfg:flax_line_in_cutter') .itemInputs('tfg:flax_product') .itemOutputs('2x tfg:flax_line', 'tfg:flax_waste') .duration(60) .EUt(2) + event.recipes.gtceu.cutter('tfg:flax_line_from_bundle_in_cutter') + .itemInputs('tfg:flax_bundle') + .itemOutputs('18x tfg:flax_line', 'tfg:bundled_scraped_flax') + .duration(540) + .EUt(2) + event.recipes.gtceu.cutter('tfg:flax_tow_in_cutter') .itemInputs('tfg:flax_waste') .itemOutputs('1x tfg:flax_tow', '1x tfc:groundcover/humus') .duration(60) .EUt(2) + + event.recipes.gtceu.cutter('tfg:flax_tow_from_bundle_in_cutter') + .itemInputs('tfg:bundled_scraped_flax') + .itemOutputs('9x tfg:flax_tow', '9x tfc:groundcover/humus') + .duration(540) + .EUt(2) event.recipes.gtceu.centrifuge('tfg:flax_product') .itemInputs('tfg:flax_product') @@ -1342,6 +1385,12 @@ function registerTFGMiscellaneousRecipes(event) { .duration(200) .EUt(GTValues.VA[GTValues.LV]) + event.recipes.gtceu.centrifuge('tfg:flax_product_from_bundle') + .itemInputs('tfg:flax_bundle') + .itemOutputs('18x tfg:flax_line', '9x tfg:flax_tow', '9x tfc:groundcover/humus') + .duration(1800) + .EUt(GTValues.VA[GTValues.LV]) + event.custom({ type: 'vintageimprovements:centrifugation', ingredients: [{ item: 'tfg:flax_product' }], @@ -1349,6 +1398,13 @@ function registerTFGMiscellaneousRecipes(event) { processingTime: 40 * 10 * global.VINTAGE_IMPROVEMENTS_DURATION_MULTIPLIER }).id('tfg:vi_seperate_flax') + event.custom({ + type: 'vintageimprovements:centrifugation', + ingredients: [{ item: 'tfg:flax_bundle' }], + results: [{ item: 'tfg:flax_line', count: 18 }, { item: 'tfg:flax_tow', count: 9 }, { item: 'tfc:groundcover/humus', count: 9 }], + processingTime: 360 * 90 * global.VINTAGE_IMPROVEMENTS_DURATION_MULTIPLIER + }).id('tfg:vi_seperate_flax_from_bundle') + //#region flax line spining event.recipes.tfc.damage_inputs_shapeless_crafting( event.shapeless('4x tfg:linen_thread', [ diff --git a/kubejs/startup_scripts/tfg/items.js b/kubejs/startup_scripts/tfg/items.js index bad26cd0f..d9111c5e1 100644 --- a/kubejs/startup_scripts/tfg/items.js +++ b/kubejs/startup_scripts/tfg/items.js @@ -456,6 +456,16 @@ const registerTFGItems = (event) => { .tag('forge:cloth') .tag('tfc:sewing_light_cloth') + event.create('tfg:flax_bundle') + .tag('tfc:scrapable') + .translationKey('item.tfg.flax_bundle') + .texture('tfg:item/flax_bundle') + + event.create('tfg:bundled_scraped_flax') + .tag('tfc:scrapable') + .translationKey('item.tfg.bundled_scraped_flax') + .texture('tfg:item/bundled_scraped_flax') + //#region Lab Equipment global.LAB_EQUIPMENT_CONTAINERS.forEach((item) => {