NPCs want to eat!
Lumberjacks use the Sawmill
Ancient Warfare 3: Powerful distributed pathfinding for the workers
Farmers use Millstones