TooAngel/screeps

Pathfinding

Awaii123 opened this issue · 1 comments

  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

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.