[2.1] RecipePrototype::requires_ingredients_to_unlock_results
- BraveCaperCat
- Filter Inserter

- Posts: 520
- Joined: Mon Jan 15, 2024 10:10 pm
- Contact:
[2.1] RecipePrototype::requires_ingredients_to_unlock_results
On the 2.1 docs, for the new property requires_ingredients_to_unlock_results, the recipe prototype page says that it's of type boolean yet the page also says that it has a default value of "Value of hidden". This doesn't make sense, as the boolean and string types are generally considered to be two separate things.
Re: [2.1] RecipePrototype::requires_ingredients_to_unlock_results
Where does it say that `hidden` is a string? https://lua-api.factorio.com/2.1.7/prot ... tml#hidden clearly shows it as being boolean.
- BraveCaperCat
- Filter Inserter

- Posts: 520
- Joined: Mon Jan 15, 2024 10:10 pm
- Contact:
Re: [2.1] RecipePrototype::requires_ingredients_to_unlock_results
I'm talking about the requires_ingredients_to_unlock_results property, which is a boolean as described on the page, but with a default value of hidden.boskid wrote: Tue Jun 23, 2026 2:19 pm Where does it say that `hidden` is a string? https://lua-api.factorio.com/2.1.7/prot ... tml#hidden clearly shows it as being boolean.
The same issue appears to be present on the hidden_in_factoriopedia property right below the hidden property on the page.
Re: [2.1] RecipePrototype::requires_ingredients_to_unlock_results
"Default: Value of *hidden*" is not "Default: 'hidden'"
If you want to get ahold of me I'm almost always on Discord.
Re: [2.1] RecipePrototype::requires_ingredients_to_unlock_results
Yeah what Rsed said, if it would be the literal string hidden, it'd be written as "hidden" with the quotes around it. If it's without those, it refers to the name of another member, and its value. I'll consider this solved.
