JonathanSafer / screeps

Screeps AI
MIT License
25 stars 8 forks source link

Drop remote rooms when spawn time constrained #188

Closed JonathanSafer closed 2 years ago

JonathanSafer commented 2 years ago

Currently there are 3 reasons to drop a remote:

  1. Not enough cpu
  2. Not enough spawn time
  3. unsafe (due to player attacks or strongholds)

The not enough cpu situation is already implemented with the least profitable remote being dropped each time The not enough spawn time situation will need to be implemented, probably in runCity The safety situation should be managed by whichever function is doing the defcon #186