Skip to content

Commit

Permalink
Remove carry-type menu from PC sheet actions tab (foundryvtt#2421)
Browse files Browse the repository at this point in the history
  • Loading branch information
stwlam authored Jun 11, 2022
1 parent f1323b9 commit 7dc9959
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions static/templates/actors/character/tabs/actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,13 @@ <h3>{{localize "PF2E.StrikesLabel"}}</h3>
<div class="actions-title">
<div class="action-name">
<h4>{{action.name}}</h4>
{{#if action.origin}}
<div class="action-options" data-item-id="{{action.origin.id}}">
{{#with action.origin.ammo.charges}}
{{#if action.item}}
<div class="action-options" data-item-id="{{action.item.id}}">
{{#with action.item.ammo.charges}}
{{#if (gt max 1)}}
<span class="ammo-remaining"><i class="ammo-icon"></i> {{current}}</span>
{{/if}}
{{/with}}

{{#if (eq action.origin.type "weapon")}}
{{> "systems/pf2e/templates/actors/partials/carry-type.html" item=action.weapon.data}}
{{/if}}
</div>
{{/if}}
</div>
Expand Down

0 comments on commit 7dc9959

Please sign in to comment.