TooAngel / screeps

TooAngel NPC / bot / source code for screeps
https://screeps.com
GNU Affero General Public License v3.0
591 stars 154 forks source link

Introduce `spawnIdle` #711

Closed TooAngel closed 1 year ago

TooAngel commented 1 year ago

Store for each of myRooms the time a spawn is idle. Include this in the reserver logic and restrict new reservation on a spawnIdle threshold.

Currently too many rooms are tried to be reservered, while the actual reserver creeps are queue due to busy spawns. The spawnIdle check tackles this issue.

TooAngel commented 1 year ago

This pull request was merged by worlddriven.