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

33 lines
2.0 KiB
HTML
Raw Normal View History

2024-07-26 09:20:48 +02:00
<div class="weapons-grid-container">
<!-- LOCALIZE THE LAST STRINGS IN THIS PAGE. ALSO SKILLS AND SKILL CATEGORIES-->
<div class="weapons-grid-heading">{{ localize "rmfrp.pc_sheet_items.item_name" }}</div>
<div class="weapons-grid-heading">{{ localize "rmfrp.pc_sheet_items.equipped" }}</div>
<div class="weapons-grid-heading">{{ localize "rmfrp.weapon.breakage_range" }}</div>
<div class="weapons-grid-heading">{{ localize "rmfrp.weapon.fumble_range" }}</div>
<div class="weapons-grid-heading">{{ localize "rmfrp.weapon.strength" }}</div>
<div class="weapons-grid-heading">{{ localize "rmfrp.pc_sheet_items.quantity" }}</div>
<div class="weapons-grid-heading">{{ localize "rmfrp.pc_sheet_items.weight" }}</div>
<div class="weapons-grid-heading">{{ localize "rmfrp.pc_sheet_items.cost" }}</div>
2024-07-26 09:20:48 +02:00
<div class="weapons-grid-heading">
<a class="item-control item-create" title="Create Item" data-type="weapon"><i class="fas fa-plus"></i>{{ localize "rmfrp.pc_sheet_items.add_item" }}</a>
2024-07-26 09:20:48 +02:00
</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>