TooAngel / screeps

TooAngel NPC / bot / source code for screeps
https://screeps.com
GNU Affero General Public License v3.0
600 stars 154 forks source link

Pathfinding #644

Open Awaii123 opened 2 years ago

Awaii123 commented 2 years ago
  1. Creeps are going straight to swamps
  2. Creeps cant cross to rooms with blocked one enter (by walls) even if there is other free entrace
TooAngel commented 2 years ago

Paths are precalculated and cached and reused by most of the creeps.

  1. Swamps are ignored because roads will be built automatically over time.
  2. Yes, that's true :-) The creeps only move on the precalculated paths (to reduce complexity). Instead, blockers are recognized and structurer are sent to destroy the structure, carry creeps try it as well.

So thx for the feedback, but it is expected behavior.