Put one (two*) action cube on a warehouse you would like to replenish with resources.
Spot all hexes with your undepleted peasants, from where you can gather the chosen
resource. Gather from each mentioned hex 1 resource more than the number of your peasants there.
Gathering resources on different terrains:
Mike puts 1 action cube on the mill and gathers 4
with his peasants on two meadows.
Next, he puts another 2 action cubes on the mill and gathers 4
again.
After that, he puts 1 action cube on the sawmill and the quarry and gathers 3
and 4
.