hello, i am trying to make a script to mix terrafirmacraft liquid dyes, heres what i have so far:
onEvent('recipes', event => {
let dye_mixing = (output, input1, input2) => {
event.recipes.create.mixing(
Fluid.of(`tfc:fluid/${output}_dye`, 10),
[
Fluid.of(`tfc:fluid/${input1}_dye`, 5),
Fluid.of(`tfc:fluid/${input2}_dye`, 5)
])
}
dye_mixing("orange", "red", "yellow")
dye_mixing("magenta", "purple", "pink")
})
^ the above does not work