bencbartlett / Overmind

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

Overmind aggressively claims outposts, removes avoid:true #70

Open AlinaNova21 opened 5 years ago

AlinaNova21 commented 5 years ago

Issue summary

Overmind aggressively claims outposts

Description of issue:

I've been attempting to keep friendly with the big neighbors by not taking their outposts, going as far to set avoid: true in the room memory to prevent pathing, which in turn, should prevent the outpost from being created based on the code. However, it seems to clear that after a while and reclaims the room as an outpost. One of the room's I'm having this issue with is shard2 E2N46

Steps to reproduce:

Set Memory.rooms.<room>.avoid = true, check later and see it cleared. Overmind chooses the room as an outpost, and ends up fighting for it.

Suggested fix (optional):

Allow blacklisting a room from being used as an outpost

Other information:

Evanito commented 5 years ago

Don't want to use semiautomatic mode?