2022-03-09 18:12:40 +01:00
|
|
|
<li class="item flexrow list-item list-item-shadow" data-item-id="{{equip._id}}">
|
|
|
|
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img" src="{{equip.img}}" /></a>
|
|
|
|
{{#if (eq level 1)}}
|
|
|
|
<span class="item-name-label">{{equip.name}}</span>
|
|
|
|
{{else}}
|
|
|
|
<span class="item-name-label-level2">{{equip.name}}</span>
|
|
|
|
{{/if}}
|
2022-03-11 14:28:28 +01:00
|
|
|
|
2022-03-09 18:12:40 +01:00
|
|
|
<span class="item-field-label-long"><label>
|
|
|
|
{{equip.data.quantity}}
|
|
|
|
(<a class="quantity-minus plus-minus-button"> -</a>/<a class="quantity-plus plus-minus-button">+</a>)
|
|
|
|
</label>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span class="item-field-label-medium">
|
|
|
|
{{#if (count equip.data.effects)}}
|
|
|
|
{{#if equip.data.activated}}
|
|
|
|
<a class="equip-deactivate">Deactivate</a>
|
|
|
|
{{else}}
|
|
|
|
<a class="equip-activate">Activate</a>
|
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
|
|
|
-
|
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
<span class="item-field-label-short">
|
|
|
|
{{#if equip.data.iscontainer}}
|
|
|
|
{{equip.data.contentsEnc}}
|
|
|
|
{{else}}
|
2022-03-12 16:35:32 +01:00
|
|
|
{{mul equip.data.weight equip.data.quantity}}
|
2022-03-09 18:12:40 +01:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
<span class="item-field-label-medium">
|
|
|
|
{{#if equip.data.idrDice}}
|
|
|
|
<a class="roll-idr" data-dice-value="{{equip.data.idrDice}}">{{equip.data.idrDice}}</a>
|
|
|
|
{{else}}
|
|
|
|
-
|
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<div class="item-filler"> </div>
|
|
|
|
<div class="item-controls item-controls-fixed">
|
|
|
|
{{#if (eq level 1)}}
|
|
|
|
<a class="item-control item-equip" title="Worn">{{#if equip.data.equipped}}<i
|
|
|
|
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
|
|
|
{{/if}}
|
|
|
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
|
|
|
</div>
|
|
|
|
</li>
|