Came across a boolean prototype property, where the example uses "true", when true is preferred (and might be enforced boolean later?)
I request that these be changed to just true in examples, because using the "right type" makes the modding simpler.
https://lua-api.factorio.com/1.1.109/pr ... ml#upgrade
Use of "true" in prototype examples
Use of "true" in prototype examples
I have mods! I guess!
Link
Link
Re: Use of "true" in prototype examples
Yes, the special type coercion is getting removed for booleans in 2.0. So, example fixed for the next doc release, thanks for the note.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.