bencbartlett / Overmind

AI for Screeps, a multiplayer programming strategy game
MIT License
545 stars 155 forks source link

Adding task to recover terminal resources on founding new room #117

Closed MatthewARoy closed 4 years ago

MatthewARoy commented 5 years ago

Pull request summary

Description:

Doesn't destroy terminal if there are resources left and creates a haul directive under it.

Untested because my test room leveled up with wrong branch active 😬

bencbartlett commented 5 years ago

This looks good, but I'm not confident enough in HaulerOverlord to want to merge this just yet -- have you tested their behavior yet? It's been a while since I've last played with them.

MatthewARoy commented 5 years ago

@bencbartlett Hauling works ok, it's got some bugs but it's better than nothing. It terminates too early right now.

MatthewARoy commented 5 years ago

Second thought: What if we just make it a check that happens at RCL 5? That way it happens once, and the room will have settled down from just making storage, an energy intensive operation.