Remove equipped flag from all loot items
This commit is contained in:
parent
96f0e34a17
commit
516c68d4af
3 changed files with 146 additions and 3 deletions
|
@ -55,7 +55,7 @@
|
|||
{{!--
|
||||
!-- Render a list row from a given item.
|
||||
!-- It is a flexbox with a child for each item value of interest.
|
||||
!-- An equipped checkbox is rendered if item.data.data.equipped is defined.
|
||||
!-- An equipped checkbox is rendered except for the case item.data.type==='loot'.
|
||||
!-- The partial assumes a variable item to be given in the context.
|
||||
!-- If the partial is called with a partial block, the partial block
|
||||
!-- content is inserted before the description.
|
||||
|
@ -66,7 +66,7 @@
|
|||
{{#*inline "itemListEntry"}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
{{!-- equipped --}}
|
||||
{{#if (ne item.data.data.equipped undefined)}}
|
||||
{{#if (ne item.data.type 'loot')}}
|
||||
<input class="flex05 item-change" type="checkbox" {{checked item.data.data.equipped}} data-dtype="Boolean"
|
||||
data-property="data.equipped" title="{{localize 'DS4.ItemEquipped'}}">
|
||||
{{/if}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue