More AI code has been added.
The NPR will design ground forces according to its theme and technology, including 'planetary defence regiments' with STO and CIWS and will start with suitable proportions of each type. Ground tech is now part of the design theme tech progression. Once a month, the NPR will assess the ground forces that should be assigned to each population and move available forces around using troop transports to meet that requirement.
Once per month, the NPR will assess shortages and excesses of mines and automated mines, according to population mining score (affected by number of minerals, accessibility, deposit size and which minerals are in demand) and available population. It will then move available mines / AM by freighter as required. Mines are made available by those populations with a falling mining score.
Once per month, the NPR will assess shortages and excesses of construction factories, depending on population mining score, available mines (needed to supply minerals for construction), colony cost and available manufacturing population. The NPR will then move available construction factories by freighter as required. Other installation types, such as research facilities or ordnance factories, are built once the number of mines and construction factories has reached the required level.
Once per month, the NPR will assess shortages and excesses of tracking stations, according to population value, and move available tracking stations by freighter as required.
Twice a year, the NPR will reassess all system bodies it has previously surveyed (but which do not have an NPR colony) and recalculate the mining score, to check if any previously low-scoring bodies are now high scoring due to resource shortages. If so, a population will be created so it can be assessed by the population AI code.
When a population is deciding what to build, it will take into account the demand for installations by colonies and the available supply.