The expansion count does not matter for the factory count. (only for my AI)
At the moment the AI decides by the max unit cap how many naval factories can be built.
1 factory for every 41 units, or 2.4% of all units can be naval factories.
So, if you play with 125 units, you can have 3 factories.
And if you play with an AI unitcap of 2000, then the AI will build up to 48 factories for every layer.
I had a graphing function (pathing with markers) to scan if we have a 2 or more lake situation, to decide the expansion count for every lake.
And i tested a function with water square meters. 1 factory for every 128 mapunits²
(platoon attack functions already can deal with 2 lake situations)
There are many ways to decide the "right" factory count automatically.
Maybe i will add a "Auto" expansion count to the normal numeric expansion count option.
But the user must still be able to change this for its own needs.
I guess we also need a post with AI options explained