JonathanSafer / screeps

Screeps AI
MIT License
25 stars 8 forks source link

Slow down power miner creation by 10x #93

Closed jordansafer closed 4 years ago

jordansafer commented 4 years ago

when the bucket gets over 9k, we start making a lot of power miners, but it time (100s of ticks) for them to get created and start hurting the cpu. In one example, we made 8 power miners/medics before the cpu started dropping, but this many power miners can use 10 cpu/tick and will burn through our bucket & throttle our new cities & upgraders. Instead, we should place flags more gradually (only have 1-3 at this point), and throttle power mining under 6k cpu to protect city building.

We need to think about how to effectively use power mining to burn off the extra bucket because it takes a long time to turn on/off. Throttled cities are much more responsive.