This commit is contained in:
Douwe Ravers
2025-09-21 11:37:03 +02:00
parent eea9e7d69f
commit 1859662e94
9 changed files with 379 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ void DouwcoHivemind::Spawn::loop()
int required_upgraders = 1;
int required_suppliers = 1;
int required_maintainers = 1;
int required_maintainers = spawn.room().find(Screeps::FIND_MY_STRUCTURES).size() <= 2 ? 0 : 1;;
int required_builders = spawn.room().find(Screeps::FIND_MY_CONSTRUCTION_SITES).size() == 0 ? 0 : 1;
for (auto &creep : Screeps::Game.creeps())