Hi there mate, it would be great to add
buildable_entities= {"armoured-biter-spawner"}
to all mod units, so they would create bases of their own species when expanding.
This a new feature for 2.1 game
local armoured_original_units = {
"small-armoured-biter",
"medium-armoured-biter",
"big-armoured-biter",
"behemoth-armoured-biter",
"leviathan-armoured-biter",
}
if data.raw["unit-spawner"]["armoured-biter-spawner"] then
for _, unit_name in pairs(armoured_original_units) do
local unit = data.raw.unit[unit_name]
if unit then
unit.buildable_entities = {"armoured-biter-spawner"}
end
end
end