screeps icon indicating copy to clipboard operation
screeps copied to clipboard

[WIP] sourcer near storage deposits directly, no carry

Open sparr opened this issue 8 years ago • 2 comments

The goal here is for a sourcer adjacent to the storage to deposit energy directly to the storage, without needing a carry. This is especially important if the carry would insist on standing in a spot that causes a traffic jam.

[WIP] pending more testing and possibly more improvements.

sparr avatar Sep 23 '17 06:09 sparr

The layout is currently. Each sourcer gets a link, which transfers the energy to the link at the storage. As long as there is no link, the sourcer simply drops the energy and the call carry mechanism drops in.

Pretty basic fits for most of the rooms. What you are describing is a special case within this logic,

We had similar cases where carries could block other creeps. I think a better approach if the carry wouldn't stand still, but flips between two positions while waiting on energy. This would allow other creeps to pass by.

TooAngel avatar Sep 23 '17 19:09 TooAngel

So far this patch just has the sourcer deposit directly to the storage and not summon/spawn a carry. Thanks for the heads up that I need to have the layout skip one of the links and the sourcer not expect it, too. I'll have to wait until I have a room with links to test that.

sparr avatar Sep 23 '17 19:09 sparr