fvtt-rolemaster-frp/rmss/templates/sheets/actors/parts/actor-weapons.html

33 lines
2.0 KiB
HTML
Raw Normal View History

<div class="weapons-grid-container">
<!-- LOCALIZE THE LAST STRINGS IN THIS PAGE. ALSO SKILLS AND SKILL CATEGORIES-->
<div class="weapons-grid-heading">{{ localize "rmss.pc_sheet_items.item_name" }}</div>
<div class="weapons-grid-heading">{{ localize "rmss.pc_sheet_items.equipped" }}</div>
<div class="weapons-grid-heading">{{ localize "rmss.weapon.breakage_range" }}</div>
<div class="weapons-grid-heading">{{ localize "rmss.weapon.fumble_range" }}</div>
<div class="weapons-grid-heading">{{ localize "rmss.weapon.strength" }}</div>
<div class="weapons-grid-heading">{{ localize "rmss.pc_sheet_items.quantity" }}</div>
<div class="weapons-grid-heading">{{ localize "rmss.pc_sheet_items.weight" }}</div>
<div class="weapons-grid-heading">{{ localize "rmss.pc_sheet_items.cost" }}</div>
<div class="weapons-grid-heading">
<a class="item-control item-create" title="Create Item" data-type="weapon"><i class="fas fa-plus"></i>{{ localize "rmss.pc_sheet_items.add_item" }}</a>
</div>
{{#each weapons as |weapon id|}}
<div>{{weapon.name}}</div>
{{#if weapon.system.equipped}}
<div><a class="equippable" data-item-id="{{weapon._id}}"><i class="fa-regular fa-square-check"></i></a></div>
{{else}}
<div><a class="equippable" data-item-id="{{weapon._id}}"><i class="fa-regular fa-square"></i></a></div>
{{/if}}
<div>{{weapon.system.breakage_range}}</div>
<div>{{weapon.system.fumble_range}}</div>
<div>{{weapon.system.strength}}</div>
<div>{{weapon.system.quantity}}</div>
<div>{{weapon.system.weight}}</div>
<div>{{weapon.system.cost}}</div>
<div class="item-controls">
<a class="item-control item-edit" title="Edit Item" data-item-id="{{weapon._id}}"><i class="fas fa-edit"></i></a>
<a class="item-control item-delete" title="Delete Item" data-item-id="{{weapon._id}}"><i class="fas fa-trash"></i></a>
</div>
{{/each}}
</div>