Skip to content

Commit

Permalink
Add max carry weight to inventory table footer
Browse files Browse the repository at this point in the history
Closes #239
  • Loading branch information
kmoschcau committed Mar 29, 2022
1 parent d372b64 commit 1c315fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- maximum carry weight display in inventory table footer
([#239](https://github.com/Wasteland-Ventures-Group/WV-VTT-module/issues/239))

### Fixed

- weapon attacks not working on an actor sheet's equipment tab
Expand Down
2 changes: 1 addition & 1 deletion src/main/handlebars/actors/parts/inventory.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<tr>
<th scope="row" colspan="5" class="align-right">{{localize "wv.system.values.total"}}</th>
<td class="align-right">{{sheet.inventory.totalValue}}</td>
<td class="align-right">{{sheet.inventory.totalWeight}}</td>
<td class="align-right">{{sheet.inventory.totalWeight}}/{{data.data.secondary.maxCarryWeight}}</td>
<td></td>
</tr>
</tfoot>
Expand Down

0 comments on commit 1c315fb

Please sign in to comment.