Skip to content

Commit

Permalink
Add number of workers in Resources page
Browse files Browse the repository at this point in the history
  • Loading branch information
mfcochauxlaberge authored Dec 17, 2023
1 parent 002f6b1 commit de232aa
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/pages/island/Resources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,24 @@ const ResourcesPage = () => {
<StatStyle>
<div>
<h3>Population</h3>
<span>
{inventory.populationUsed}/{inventory.populationTotal}
</span>
<span>{inventory.populationTotal}</span>
</div>
<div>
<p>Citizens live in houses or apartments and work on the island.</p>
</div>
</StatStyle>
<StatStyle>
<div>
<h3>Workers</h3>
<span>{inventory.populationUsed}</span>
</div>
<div>
<p>
Workers are citizens with a job that is not builder. They are
assigned to buildings.
</p>
</div>
</StatStyle>
<StatStyle>
<div>
<h3>Builders</h3>
Expand Down

0 comments on commit de232aa

Please sign in to comment.