Page 1 of 1

The meaningless value in dictionaries

Posted: Sat Jun 29, 2024 12:38 pm
by curiosity
Can it be false? If it can't, consider specifying the value type directly as true instead of boolean. If it can, mention that.

Re: The meaningless value in dictionaries

Posted: Sat Jun 29, 2024 12:48 pm
by Bilka
Hey, all the dictionaries in the runtime docs that use true as "meaningless values" should already be documented as only containing true values, e.g. https://lua-api.factorio.com/latest/cla ... categories. If there are spots where that is not the case, please let us know the specific properties/methods.

Re: The meaningless value in dictionaries

Posted: Sat Jun 29, 2024 10:00 pm
by curiosity
Hmm... Sorry, probably got confused with my coding setup, which is on 1.1.94. Could have sworn the site said "boolean" too when I checked...

Thank you, I will look forward to this change when I update.