add machine processing for flax (#1814)

Signed-off-by: GameStar <56610486+BlueBoat29@users.noreply.github.com>
Co-authored-by: Redeix <brayden.j.m.ford@gmail.com>
This commit is contained in:
GameStar 2025-09-13 13:17:45 -05:00 committed by GitHub
parent 34139d6df8
commit dd5fa10ae1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1365,7 +1365,6 @@ function registerTFGMiscellaneousRecipes(event) {
//#endregion //#endregion
//#region flax stuff //#region flax stuff
event.recipes.tfc.scraping( event.recipes.tfc.scraping(
'tfg:flax_waste', 'tfg:flax_waste',
'tfg:flax_product', 'tfg:flax_product',
@ -1382,6 +1381,20 @@ function registerTFGMiscellaneousRecipes(event) {
'tfg:flax_tow' 'tfg:flax_tow'
).id('tfg:scraping/flax_tow') ).id('tfg:scraping/flax_tow')
event.recipes.gtceu.centrifuge('tfg:flax_product')
.itemInputs('tfg:flax_product')
.itemOutputs('2x tfg:flax_line', 'tfg:flax_tow', 'tfc:groundcover/humus')
.duration(200)
.EUt(GTValues.VA[GTValues.LV])
event.custom({
type: 'vintageimprovements:centrifugation',
ingredients: [{ item: 'tfg:flax_product' }],
results: [{ item: 'tfg:flax_line', count: 2 }, { item: 'tfg:flax_tow' }, { item: 'tfc:groundcover/humus' } ],
processingTime: 40 * 10 * global.VINTAGE_IMPROVEMENTS_DURATION_MULTIPLIER
}).id('tfg:vi_seperate_flax')
//#region flax line spining
event.recipes.tfc.damage_inputs_shapeless_crafting( event.recipes.tfc.damage_inputs_shapeless_crafting(
event.shapeless('4x tfg:linen_thread', [ event.shapeless('4x tfg:linen_thread', [
'tfg:flax_line', 'tfg:flax_line',
@ -1389,7 +1402,20 @@ function registerTFGMiscellaneousRecipes(event) {
]).id('tfg:shapeless/linen_thread') ]).id('tfg:shapeless/linen_thread')
) )
//#region looming event.custom({
type: 'vintageimprovements:coiling',
ingredients: [{ item: 'tfg:flax_line' }],
results: [{ item: 'tfg:linen_thread', count: 4 }],
processingTime: 2 * 10 * global.VINTAGE_IMPROVEMENTS_DURATION_MULTIPLIER
}).id('tfg:vi_spin_flax_line')
event.recipes.gtceu.wiremill('tfg:spin_flax_line')
.itemInputs('tfg:flax_line')
.itemOutputs('4x tfg:linen_thread')
.duration(80)
.EUt(GTValues.VA[GTValues.LV])
//#region flax looming
event.recipes.tfc.loom( event.recipes.tfc.loom(
'1x tfg:linen_cloth', '1x tfg:linen_cloth',
'16x tfg:linen_thread', '16x tfg:linen_thread',