fvtt-pegasus-rpg/templates/partial-actor-equipment.html

52 lines
1.7 KiB
HTML
Raw Permalink Normal View History

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>
2022-09-25 15:48:11 +02:00
{{equip.system.quantity}}
2022-07-10 10:22:04 +02:00
(<a class="quantity-minus plus-minus-button">&nbsp;-</a>/<a class="quantity-plus plus-minus-button">+</a>)
2022-03-09 18:12:40 +01:00
</label>
</span>
<span class="item-field-label-medium">
2022-09-25 15:48:11 +02:00
{{#if (count equip.system.effects)}}
{{#if equip.system.activated}}
2022-03-09 18:12:40 +01:00
<a class="equip-deactivate">Deactivate</a>
{{else}}
<a class="equip-activate">Activate</a>
{{/if}}
{{else}}
&nbsp;-&nbsp;
{{/if}}
</span>
<span class="item-field-label-short">
2022-09-29 10:59:47 +02:00
{{#if equip.system.iscontainer}}
2022-09-25 15:48:11 +02:00
{{equip.system.contentsEnc}}
2022-03-09 18:12:40 +01:00
{{else}}
2022-09-25 15:48:11 +02:00
{{mul equip.system.weight equip.system.quantity}}
2022-03-09 18:12:40 +01:00
{{/if}}
</span>
<span class="item-field-label-medium">
2022-09-25 15:48:11 +02:00
{{#if equip.system.idrDice}}
2022-09-29 10:59:47 +02:00
<a class="roll-idr" data-dice-value="{{equip.system.idrDice}}">{{equip.system.idrDice}}</a>
2022-03-09 18:12:40 +01:00
{{else}}
&nbsp;-&nbsp;
{{/if}}
</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
2022-09-25 15:48:11 +02:00
{{#if canequip}}
{{#if (eq level 1)}}
<a class="item-control item-equip" title="Worn">{{#if equip.system.equipped}}<i
class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
{{/if}}
2022-03-09 18:12:40 +01:00
{{/if}}
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>