freeage icon indicating copy to clipboard operation
freeage copied to clipboard

Villager behavior: Villagers should try to start resource gathering after finishing construction of a drop-off building

Open puzzlepaint opened this issue 4 years ago • 0 comments

After villagers finished constructing a resource drop-off building, they should attempt to start gathering the corresponding type of resource, if any of it is nearby.

Game::SimulateBuildingConstruction() might be a place to start. Some functionality will need to be added to find all villagers that are targeting a given building while it gets finished (regardless of whether they are currently next to it or not). Then they can be re-targeted to nearby resources.

puzzlepaint avatar Apr 11 '20 17:04 puzzlepaint