https://lua-api.factorio.com/latest/Con ... cification
control :: string (optional): Control prototype name
Code: Select all
["crude-oil"] = {
autoplace = {
control = "crude-oil",
order = "c",
probability_expression = {...},
richness_expression = {...}
},
...
returns nil
My guess is that control is for peaks, but with expressions the control is baked into the expression so it is removed during a validation phase? Even so, if it is specified shouldn't it appear in the sanitized version. There are other things that do carry through even if they have no effect because other properties take precedence.