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

[LOGIC REFINE] suggest spawn creeps at TOP, but not force it. #674

Closed XenoAmess closed 1 year ago

XenoAmess commented 1 year ago

is there any reason to force the position we spawn creeps at top? I do wonder because sometimes when I get severe stuck, I think maybe it be better for sometime allow it spawn from other sides any ideas?

XenoAmess commented 1 year ago

Well I did a change commit about it and during one whole day in 4 rooms, I don't see it make any trouble. think should pr it here.

XenoAmess commented 1 year ago

also agreed by @mschultheiss83 in discord, so I think we can try it at least..

mschultheiss83 commented 1 year ago

sure, let's test

TooAngel commented 1 year ago

The planing of the base puts spawns below (bottom) of the path. That is the reason that it always spawns to the top. Without this it can happen, that the creep will be on a position which can not reach the main path, because the extensions are blocking the way.