Update recipes.dyes.js (#2925)

* Update recipes.dyes.js

added base 9 dye mixing as fluids + 2 custom ones as stated in the issue #2818

* Revert "Update recipes.dyes.js"

This reverts commit b06ed24bf42fafc4233c6c6278fa5199e5542bfd.

* Update recipes.dyes.js

added base 9 dye mixing as fluids + 2 custom ones as stated in the issue #2818
attempt nr 2
This commit is contained in:
OLOXpl 2026-02-01 18:43:07 +01:00 committed by GitHub
parent 849f6409d5
commit 9e0c303438
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -156,4 +156,49 @@ function registerTFCDyeRecipes(event) {
})
//#endregion
//#region Dye mixing
const dyeMixes = [
// input 1
[
'black', 'white', 'white',
'white', 'blue', 'blue',
'purple', 'white', 'red',
'orange', 'yellow'
],
// input 2
[
'light_gray', 'gray', 'green',
'blue', 'green', 'red',
'pink', 'red', 'yellow',
'black', 'blue'
],
// output
[
'gray', 'light_gray', 'light_green',
'light_blue', 'cyan', 'purple',
'magenta', 'pink', 'orange',
'brown', 'green'
]
]
for (let i = 0; i < dyeMixes[2].length; i++) {
if (!Fluid.exists(`tfc:${dyeMixes[0][i]}_dye`) ||
!Fluid.exists(`tfc:${dyeMixes[1][i]}_dye`) ||
!Fluid.exists(`tfc:${dyeMixes[2][i]}_dye`)
) continue
event.recipes.gtceu.mixer(`mixer_dye_${dyeMixes[2][i]}`)
.inputFluids(
Fluid.of(`tfc:${dyeMixes[0][i]}_dye`, 144),
Fluid.of(`tfc:${dyeMixes[1][i]}_dye`, 144)
)
.outputFluids(
Fluid.of(`tfc:${dyeMixes[2][i]}_dye`, 288)
)
.duration(20)
.EUt(8)
}
//#endregion
}