screeps
screeps copied to clipboard
Detect if we are CPU-constrained
If a certain number of missions in the last N ticks have failed to start due to insufficient CPU, we are CPU-constrained. This might drive logic around spawning larger harvesters or other CPU-saving measures.