Villager Logic in Real-Time Strategy Games