Change "cannot be crafted in this machine" error to be more specific.
Posted: Wed Apr 08, 2026 5:37 am
As discussed in this thread.
Entities belonging to the "assembling-machine" prototype can show an unspecific error on recipes: "cannot be crafted in this machine".
I saw this error while developing a mod adding recipes with more input or output fluids than the machine in question (in this case, a foundry) had the fluidboxes for.
In other words, I had a recipe using three fluids in one direction (in or out), but a foundry only has two input and two output pipes.
I did eventually figure out the cause, entirely through trial and error by creating a set of test recipes with varying ingredients and results.
It would be helpful if the error message could be more specific: "This machine can only output two fluids. Recipe gives an output of three fluids".
It would also be helpful if hovering the uncraftable recipe properly showed the ingredients and results, as that might have helped me to figure out the cause.
Entities belonging to the "assembling-machine" prototype can show an unspecific error on recipes: "cannot be crafted in this machine".
I saw this error while developing a mod adding recipes with more input or output fluids than the machine in question (in this case, a foundry) had the fluidboxes for.
In other words, I had a recipe using three fluids in one direction (in or out), but a foundry only has two input and two output pipes.
I did eventually figure out the cause, entirely through trial and error by creating a set of test recipes with varying ingredients and results.
It would be helpful if the error message could be more specific: "This machine can only output two fluids. Recipe gives an output of three fluids".
It would also be helpful if hovering the uncraftable recipe properly showed the ingredients and results, as that might have helped me to figure out the cause.