fvtt-hero-system-6/templates/partials/partial-actor-equipment.hbs

56 lines
2.8 KiB
Handlebars
Raw Normal View History

2022-12-15 21:44:23 +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>
2023-06-30 13:14:40 +02:00
<span class="item-field-label-short"><label>{{equip.system.quantity}}</label> </span>
2023-08-22 23:30:31 +02:00
<span class="item-field-label-long2">{{equip.name}}</span>
2023-02-21 20:22:08 +01:00
2023-08-22 23:30:31 +02:00
{{#if (eq equip.system.subtype "weapon")}}
<span class="item-field-label-very-short"><label>{{equip.system.ocv}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.omcv}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.rmod}}</label> </span>
{{/if}}
{{#if (eq equip.system.subtype "shield")}}
<span class="item-field-label-very-short"><label>{{equip.system.ocv}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.omcv}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.dcv}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.dmcv}}</label> </span>
{{/if}}
{{#if (eq equip.system.subtype "armor")}}
<span class="item-field-label-very-short"><label>{{equip.system.pd}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.ed}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.rpd}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.red}}</label> </span>
<span class="item-field-label-very-short"><label>{{equip.system.dcv}}</label> </span>
{{/if}}
<span class="item-field-label-long2"><label>{{equip.system.displayname}}
2023-02-21 20:22:08 +01:00
</label>
</span>
2023-08-22 23:30:31 +02:00
{{#if (and (ne equip.system.subtype "armor") (ne equip.system.subtype "shield"))}}
2023-05-07 14:03:14 +02:00
<span class="item-field-label-short"><label><a class="roll-damage" data-type="perk"><i class="fas fa-dice"></i>{{equip.system.damage}}</a>
2023-02-21 20:22:08 +01:00
</label>
2023-05-07 14:03:14 +02:00
</span>
2023-08-22 23:30:31 +02:00
{{/if}}
2023-02-21 20:22:08 +01:00
{{#if equip.system.hasroll}}
<span class="item-field-label-short"><a class="roll-item" data-type="perk"><i class="fas fa-dice"></i>{{equip.system.roll}}-</a></span>
2022-12-15 21:44:23 +01:00
{{else}}
2023-02-21 20:22:08 +01:00
<span class="item-field-label-short">&nbsp;</span>
2022-12-15 21:44:23 +01:00
{{/if}}
2023-08-22 23:30:31 +02:00
<span class="item-field-label-very-short"><label>{{equip.system.endurance}}</label> </span>
2023-06-30 13:14:40 +02:00
<span class="item-field-label-short"><label>{{mul equip.system.quantity equip.system.value}}</label> </span>
2023-06-30 13:14:40 +02:00
<span class="item-field-label-short"><label>{{mul equip.system.quantity equip.system.weight}}</label> </span>
2022-12-15 21:44:23 +01:00
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
</div>
</li>