]> git.somenet.org - factorio/some-disableenemygeneration.git/blob - data-final-fixes.lua
RELEASE 2.0.1 - No functional changes. (I am still alive and I have not abandoned...
[factorio/some-disableenemygeneration.git] / data-final-fixes.lua
1
2 for _, ent in pairs(data.raw["unit-spawner"]) do
3     if ent and ent.autoplace then
4         ent.autoplace.probability_expression = '0'
5     end
6 end
7
8 for _, ent in pairs(data.raw.turret) do
9     if ent.subgroup == "enemies" and ent and ent.autoplace then
10         ent.autoplace.probability_expression = '0'
11     end
12 end