1. How is time counted by the AI? If I wanted to code in the AI "don't do action X until after Peacetime minus five minutes" how would I code that? I guess it's "IF gametime > Peacetime minus five minutes then etc". But is gametime measured in ticks or seconds or minutes and seconds anywhere in the code? What is the standard for time triggers? 2. Why does the AI stop upgrading mines at 10? One of each type even stops at 5. So the gold mines, for example, end up with 35 gold miners in a 4 gold mines quadrant. I know the development rationale: the AI begins to rely on sales of wood, food and stone. But what is the technical reason? Where does the AI, in progresseconomicai or elsewhere, define that 3 gold mines get upgrades to 10 miners each (only) and 1 gold mine stays at 5?