Page 1 of 1

Missing defines.control_behavior.type in docs for v1.1.108

Posted: Sat Jun 01, 2024 4:27 am
by GlassBricks
Since v1.1.108, the documentation for defines.control_behavior.type has mysteriously disappeared.

It's still linked/used by https://lua-api.factorio.com/1.1.108/cl ... .html#type

Re: Missing defines.control_behavior.type in docs for v1.1.108

Posted: Sat Jun 01, 2024 4:39 am
by GlassBricks
It seems the define has been moved to `defines.type` (instead of `defines.control_behavior.type`).
In-game/lua, the define is still in `defines.control_behavior.type`

Re: Missing defines.control_behavior.type in docs for v1.1.108

Posted: Thu Jun 06, 2024 11:28 am
by Therenas
Hello, thanks for the heads-up, this is fixed for the next release. Turns out that particular define had a weird format in the code, which the new parser didn't account for.