2 local zeroExpression = {
\r
3 expression_id = "literal-number:1",
\r
5 type = "literal-number"
\r
8 -- this has to be a startup option, so it makes no diffrence if you just toggle the whole mod or provide a single option, which requires a game restart anyway.
\r
9 --if not settings.startup["rso-vanilla-biter-generation"].value then
\r
10 for _, ent in pairs(data.raw["unit-spawner"]) do
\r
11 if ent and ent.autoplace then
\r
12 ent.autoplace.probability_expression = zeroExpression
\r
16 for _, ent in pairs(data.raw.turret) do
\r
17 if ent.subgroup == "enemies" and ent and ent.autoplace then
\r
18 ent.autoplace.probability_expression = zeroExpression
\r