Page 1 of 1

Recipe ingredient count limitation

Posted: Sun May 17, 2026 8:04 pm
by PennyJim
The ingredients list the limitation for the "amount" of ingredients.

This is confusing because the ItemIngredientPrototype themselves list that limitation by value of their types being listed as uint16. So I assumed it was referring to the number of *different* ingredients (albeit a little poorly worded)

I feel there is no need to list individual ingredient amount limitations on the ingredients array, and it should instead be on the individual ingredient prototype, if at all considering it's already covered.
I would also request the lack of limit on the number of ingredients be mentioned with "there is no limitation on number of different ingredients". There was a memory of the limit being 255, which seems to not be the case at all.

Re: Recipe ingredient count limitation

Posted: Sun May 17, 2026 8:22 pm
by PennyJim
After some sleuthing (and someone actually looking at the rest of the documentation), we found the two smoking guns

1. The wiki edit that added this field that's clearly about individual ingredient amounts:
https://wiki.factorio.com/index.php?tit ... did=150595
Credit goes to justarandomgeek

2. What the *actual* limitation is:
https://lua-api.factorio.com/latest/pro ... ient_count
which *was* a uint8 in 1.1 so the limit was in fact functionally 255

So that field should probably be linked (and maybe the loading of the field should also enforce that limitation? That's not a doc issue though)

Re: Recipe ingredient count limitation

Posted: Mon May 18, 2026 2:28 pm
by Bilka
Thanks for digging into this and posting here! Docs fixed for the next release.