mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
Added unarmed strike in sidebar
This commit is contained in:
parent
87f29c3bb3
commit
be625ecdc7
4 changed files with 27 additions and 4 deletions
|
|
@ -92,6 +92,9 @@
|
|||
<side-line-div></side-line-div>
|
||||
</div>
|
||||
<ul class="items-sidebar-list">
|
||||
{{#if document.system.usedUnarmed}}
|
||||
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=document.system.usedUnarmed type='attack' isSidebar=true}}
|
||||
{{/if}}
|
||||
{{#each document.items as |item|}}
|
||||
{{#if item.system.equipped}}
|
||||
{{> 'systems/daggerheart/templates/sheets/global/partials/inventory-item.hbs' item=item type=item.type isSidebar=true}}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
{{#if isCompanion}}
|
||||
<a class="item-name" data-action="attackRoll">{{item.name}}</a>
|
||||
{{else}}
|
||||
<div class="item-name">{{item.name}}</div>
|
||||
<div class="item-name">{{localize item.name}}</div>
|
||||
{{/if}}
|
||||
{{#if (eq type 'weapon')}}
|
||||
<div class="item-tags">
|
||||
|
|
@ -125,6 +125,16 @@
|
|||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if (eq type 'attack')}}
|
||||
<div class="item-tags">
|
||||
<div class="tag">
|
||||
{{localize 'DAGGERHEART.GENERAL.unarmed'}}
|
||||
</div>
|
||||
<div class="tag">
|
||||
{{localize 'DAGGERHEART.CONFIG.ActionType.action'}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if (and (not isSidebar) (eq item.system.resource.type 'simple'))}}
|
||||
{{> "systems/daggerheart/templates/sheets/global/partials/item-resource.hbs"}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue