Dye mixing (#2938)

* 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

* barrel recipe

barrel recipes and fix due to my colour blindness (;

---------

Signed-off-by: OLOXpl <125832723+OLOXpl@users.noreply.github.com>
This commit is contained in:
OLOXpl 2026-02-01 22:45:44 +01:00 committed by GitHub
parent 177fa41697
commit 36125f7d5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -168,7 +168,7 @@ function registerTFCDyeRecipes(event) {
],
// input 2
[
'light_gray', 'gray', 'green',
'white', 'gray', 'green',
'blue', 'green', 'red',
'pink', 'red', 'yellow',
'black', 'blue'
@ -188,6 +188,7 @@ function registerTFCDyeRecipes(event) {
!Fluid.exists(`tfc:${dyeMixes[2][i]}_dye`)
) continue
// GT mixer recipe
event.recipes.gtceu.mixer(`mixer_dye_${dyeMixes[2][i]}`)
.inputFluids(
Fluid.of(`tfc:${dyeMixes[0][i]}_dye`, 144),
@ -198,6 +199,18 @@ function registerTFCDyeRecipes(event) {
)
.duration(20)
.EUt(8)
// TFC barrel recipes (2x because 2! = 2)
event.recipes.tfc.barrel_instant_fluid(
Fluid.of(`tfc:${dyeMixes[2][i]}_dye`, 2),
TFC.fluidStackIngredient(Fluid.of(`tfc:${dyeMixes[0][i]}_dye`, 1)),
TFC.fluidStackIngredient(Fluid.of(`tfc:${dyeMixes[1][i]}_dye`, 1)),
)
event.recipes.tfc.barrel_instant_fluid(
Fluid.of(`tfc:${dyeMixes[2][i]}_dye`, 2),
TFC.fluidStackIngredient(Fluid.of(`tfc:${dyeMixes[1][i]}_dye`, 1)),
TFC.fluidStackIngredient(Fluid.of(`tfc:${dyeMixes[0][i]}_dye`, 1)),
)
}
//#endregion