Added a visual indicator for equipped / readied

Now only equipped armor / weapon will show in conflict tab, and all armors/weapons now show in inventory tab
This commit is contained in:
Vlyan
2021-01-17 17:47:42 +01:00
parent f6a91ab564
commit cbd5af8d02
7 changed files with 49 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
</legend>
<ul class="item-list">
{{#each actor.items as |item id|}}
{{#ifCond item.type '==' 'weapon'}}
{{#ifCond (ifCond item.type '==' 'weapon') '&&' (ifCond item.data.equipped '==' true)}}
{{> 'systems/l5r5e/templates/items/weapon/weapon-entry.html' item=item id=id editable=../editable }}
{{/ifCond}}
{{/each}}