quote:
Originally posted by Tomgs:
Actually this can be modded away. The reason it happens is simple. Each world has to have some facilities and these are scripted by what is needed and the order they are scripted in. The Last scripted world type for all AI states is a mineral miner world so it is the catchall for whenever they colonize a world that doesn't fit any other catagory. So any world that is colonized and, either doesn't fit the classifications, or they have already colonized enough of the specified colony type that that world fits, then it will become a mineral miner world even if it would be perfect for something else. The "fix" is to make some other type of world the catchall. But you could have the same problems with that type of world becoming too numerous and/or being perfect for something other type that has already been built up to its current quota. I believe some mods address this area already but I don't know if a perfect fix has been made yet.
What Arralens said is correct, when AI runs out (has higher maintenance then income value) of some resource like organics, he will make next colonized world Farming colony no matter what resources the planet has and no matter what the AI files contains. In ModPack all my moded races have Last call for research compound instead of mining colony and this still happens to them. Sergetti and Xi'Chung don't have ANY Mining colony call for any planet with value below 101% and still, when they run out of minerals, they build mining colonies on mineral-poor planets.
However, it seems that since the 1.27 patch the following line is not used by AI anymore: Maximum Maintenance Percent of Revenue := 80
This line used to make AI stop building new ships and bases when it had maintenance at 80% of total income and that way AI wouldn't run out of resources and would not stop building facilities and units. However since the 1.27 (and 1.30) patch it appears that AI is simply not using this line anymore.
I don't think it is intentional since it causes AI to run out of resources and brings his production to a standstill (or worse, it makes AI scrap its existing bases and ships), so this has to be reported to Aaron to fix it.