2021-12-24 16:06:26 +01:00
|
|
|
<!--ARMES-->
|
2022-02-16 09:11:49 +01:00
|
|
|
<button class="create_item">Créer un Equipement</button>
|
|
|
|
|
2022-02-23 20:39:58 +01:00
|
|
|
{{#if useBougette}}
|
2021-11-07 20:23:02 +01:00
|
|
|
<ol class="items-list">
|
2022-02-23 20:39:58 +01:00
|
|
|
<li class="item flexrow item-header">
|
|
|
|
<div class="item-name flex4 left">{{localize "BOL.ui.moneyTitle"}}</div>
|
|
|
|
<div class="item-name flex4 left"> </div>
|
|
|
|
</li>
|
|
|
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
|
|
|
<h4 class="item-name flex4 left">
|
|
|
|
<div class="item-image"><img src="icons/containers/bags/coinpouch-simple-leather-brown.webp" title="{{localize "BOL.ui.money"}}" /></div>
|
|
|
|
{{localize "BOL.ui.money"}}
|
|
|
|
</h4>
|
|
|
|
<select class="field-value" name="data.bougette.state" data-dtype="String">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#select system.bougette.state}}
|
2022-02-23 20:39:58 +01:00
|
|
|
{{#each config.bougetteState as |value id|}}
|
|
|
|
<option value="{{id}}">{{localize value}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<ol class="items-list">
|
|
|
|
<li class="item flexrow item-header">
|
|
|
|
<div class="item-name flex4 left">{{localize "BOL.ui.weapons"}}</div>
|
|
|
|
<div class="item-field flex2 center">{{localize "BOL.ui.slot"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.qty"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.price"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.equip"}}</div>
|
|
|
|
<div class="item-field flex1 right"></div>
|
|
|
|
</li>
|
|
|
|
{{#each weapons as |item id|}}
|
|
|
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
|
|
|
<h4 class="item-name flex4 left">
|
|
|
|
<div class="item-image"><img src="{{item.img}}" title="{{item.name}}" /></div>
|
|
|
|
<a class="item-edit">{{item.name}}</a>
|
|
|
|
</h4>
|
|
|
|
<div class="item-field flex2 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if item.system.properties.equipable}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field" style="font-size: smaller; font-style: italic; color:#4b4a44">{{localize (concat
|
2022-07-01 15:48:54 +02:00
|
|
|
"BOL.equipmentSlots." item.system.properties.slot)}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field group-btns flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if item.system.properties.stackable}}
|
|
|
|
<a class="inc-dec-btns" data-operator="minus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-minus-square"></i></a>
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field">{{item.data.quantity}}</span>
|
2022-07-01 15:48:54 +02:00
|
|
|
<a class="inc-dec-btns" data-operator="plus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-plus-square"></i></a>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
<span class="item-field">{{item.system.price}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if system.properties.equipable}}
|
|
|
|
{{#if system.worn}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.unequip"}}"><i
|
|
|
|
class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{else}}
|
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.equip"}}"
|
|
|
|
style="color:lightgray;"><i class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 right">
|
|
|
|
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
2021-12-24 16:06:26 +01:00
|
|
|
</ol>
|
|
|
|
|
|
|
|
<!--PROTECTIONS-->
|
|
|
|
<ol class="items-list">
|
2022-02-23 20:39:58 +01:00
|
|
|
<li class="item flexrow item-header">
|
|
|
|
<div class="item-name flex4 left">{{localize "BOL.ui.protections"}}</div>
|
|
|
|
<div class="item-field flex2 center">{{localize "BOL.ui.slot"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.protection"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.qty"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.price"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.equip"}}</div>
|
|
|
|
<div class="item-field flex1 right"></div>
|
|
|
|
</li>
|
|
|
|
{{#each protections as |item id|}}
|
|
|
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
|
|
|
<h4 class="item-name flex4 left">
|
|
|
|
<div class="item-image"><img src="{{item.img}}" title="{{item.name}}" /></div>
|
|
|
|
<a class="item-edit">{{item.name}}</a>
|
|
|
|
</h4>
|
|
|
|
<div class="item-field flex2 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if item.system.properties.equipable}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field" style="font-size: smaller; font-style: italic; color:#4b4a44">{{localize (concat
|
2022-07-01 15:48:54 +02:00
|
|
|
"BOL.equipmentSlots." item.system.properties.slot)}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex2 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if item.system.properties.equipable}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field"
|
2022-07-01 15:48:54 +02:00
|
|
|
style="font-size: smaller; font-style: italic; color:#4b4a44">{{system.properties.soak.formula}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field group-btns flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if item.system.properties.stackable}}
|
|
|
|
<a class="inc-dec-btns" data-operator="minus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-minus-square"></i></a>
|
|
|
|
<span class="item-field">{{item.system.quantity}}</span>
|
|
|
|
<a class="inc-dec-btns" data-operator="plus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-plus-square"></i></a>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
<span class="item-field">{{item.system.price}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if system.properties.equipable}}
|
|
|
|
{{#if system.worn}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.unequip"}}"><i
|
|
|
|
class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{else}}
|
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.equip"}}"
|
|
|
|
style="color:lightgray;"><i class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 right">
|
|
|
|
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
2021-12-24 16:06:26 +01:00
|
|
|
</ol>
|
|
|
|
|
|
|
|
<!--MUNITIONS-->
|
|
|
|
<ol class="items-list">
|
2022-02-23 20:39:58 +01:00
|
|
|
<li class="item flexrow item-header">
|
|
|
|
<div class="item-name flex4 left">{{localize "BOL.ui.ammos"}}</div>
|
|
|
|
<div class="item-field flex2 center">{{localize "BOL.ui.slot"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.qty"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.price"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.equip"}}</div>
|
|
|
|
<div class="item-field flex1 right"></div>
|
|
|
|
</li>
|
|
|
|
{{#each ammos as |item id|}}
|
|
|
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
|
|
|
<h4 class="item-name flex4 left">
|
|
|
|
<div class="item-image"><img src="{{item.img}}" title="{{item.name}}" /></div>
|
|
|
|
<a class="item-edit">{{item.name}}</a>
|
|
|
|
</h4>
|
|
|
|
<div class="item-field flex2 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if item.system.properties.equipable}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field" style="font-size: smaller; font-style: italic; color:#4b4a44">{{localize (concat
|
2022-07-01 15:48:54 +02:00
|
|
|
"BOL.equipmentSlots." item.system.properties.slot)}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field group-btns flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if item.system.properties.stackable}}
|
|
|
|
<a class="inc-dec-btns" data-operator="minus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-minus-square"></i></a>
|
|
|
|
<span class="item-field">{{item.system.quantity}}</span>
|
|
|
|
<a class="inc-dec-btns" data-operator="plus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-plus-square"></i></a>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
<span class="item-field">{{item.system.price}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if system.properties.equipable}}
|
|
|
|
{{#if system.worn}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.unequip"}}"><i
|
|
|
|
class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{else}}
|
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.equip"}}"
|
|
|
|
style="color:lightgray;"><i class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 right">
|
|
|
|
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
2021-12-24 16:06:26 +01:00
|
|
|
</ol>
|
|
|
|
|
|
|
|
<!--CONTENEURS-->
|
|
|
|
<ol class="items-list">
|
2022-02-23 20:39:58 +01:00
|
|
|
<li class="item flexrow item-header">
|
|
|
|
<div class="item-name flex4 left">{{localize "BOL.ui.containers"}}</div>
|
|
|
|
<div class="item-field flex2 center">{{localize "BOL.ui.slot"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.qty"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.price"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.equip"}}</div>
|
|
|
|
<div class="item-field flex1 right"></div>
|
|
|
|
</li>
|
|
|
|
{{#each containers as |item id|}}
|
|
|
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
|
|
|
<h4 class="item-name flex4 left">
|
|
|
|
<div class="item-image"><img src="{{item.img}}" title="{{item.name}}" /></div>
|
|
|
|
<a class="item-edit">{{item.name}}</a>
|
|
|
|
</h4>
|
|
|
|
<div class="item-field flex2 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if item.system.properties.equipable}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field" style="font-size: smaller; font-style: italic; color:#4b4a44">{{localize (concat
|
2022-07-01 15:48:54 +02:00
|
|
|
"BOL.equipmentSlots." item.system.properties.slot)}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field group-btns flex1 center">
|
|
|
|
{{#if item.data.properties.stackable}}
|
2022-07-01 15:48:54 +02:00
|
|
|
<a class="system-dec-btns" data-operator="minus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-minus-square"></i></a>
|
|
|
|
<span class="item-field">{{item.system.quantity}}</span>
|
|
|
|
<a class="inc-dec-btns" data-operator="plus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-plus-square"></i></a>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
<span class="item-field">{{item.system.price}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if system.properties.equipable}}
|
|
|
|
{{#if system.worn}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.unequip"}}"><i
|
|
|
|
class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{else}}
|
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.equip"}}"
|
|
|
|
style="color:lightgray;"><i class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 right">
|
|
|
|
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
2021-12-24 16:06:26 +01:00
|
|
|
</ol>
|
|
|
|
|
|
|
|
<!--TRESOR-->
|
|
|
|
<ol class="items-list">
|
2022-02-23 20:39:58 +01:00
|
|
|
<li class="item flexrow item-header">
|
|
|
|
<div class="item-name flex4 left">{{localize "BOL.ui.treasure"}}</div>
|
|
|
|
<div class="item-field flex2 center">{{localize "BOL.ui.slot"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.qty"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.price"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.equip"}}</div>
|
|
|
|
<div class="item-field flex1 right"></div>
|
|
|
|
</li>
|
|
|
|
{{#each treasure as |item id|}}
|
|
|
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
|
|
|
<h4 class="item-name flex4 left">
|
|
|
|
<div class="item-image"><img src="{{item.img}}" title="{{item.name}}" /></div>
|
|
|
|
<a class="item-edit">{{item.name}}</a>
|
|
|
|
</h4>
|
|
|
|
<div class="item-field flex2 center">
|
|
|
|
{{#if item.data.properties.equipable}}
|
|
|
|
<span class="item-field" style="font-size: smaller; font-style: italic; color:#4b4a44">{{localize (concat
|
2022-07-01 15:48:54 +02:00
|
|
|
"BOL.equipmentSlots." item.system.properties.slot)}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field group-btns flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if item.system.properties.stackable}}
|
|
|
|
<a class="inc-dec-btns" data-operator="minus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-minus-square"></i></a>
|
|
|
|
<span class="item-field">{{item.system.quantity}}</span>
|
|
|
|
<a class="inc-dec-btns" data-operator="plus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-plus-square"></i></a>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
<span class="item-field">{{item.system.price}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if system.properties.equipable}}
|
|
|
|
{{#if system.worn}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.unequip"}}"><i
|
|
|
|
class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{else}}
|
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.equip"}}"
|
|
|
|
style="color:lightgray;"><i class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 right">
|
|
|
|
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
2021-12-24 16:06:26 +01:00
|
|
|
</ol>
|
|
|
|
|
|
|
|
<!--VEHICULES-->
|
|
|
|
<ol class="items-list">
|
2022-02-23 20:39:58 +01:00
|
|
|
<li class="item flexrow item-header">
|
|
|
|
<div class="item-name flex4 left">{{localize "BOL.ui.vehicles"}}</div>
|
|
|
|
<div class="item-field flex2 center">{{localize "BOL.ui.slot"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.qty"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.price"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.equip"}}</div>
|
|
|
|
<div class="item-field flex1 right"></div>
|
|
|
|
</li>
|
|
|
|
{{#each vehicles as |item id|}}
|
|
|
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
|
|
|
<h4 class="item-name flex4 left">
|
|
|
|
<div class="item-image"><img src="{{item.img}}" title="{{item.name}}" /></div>
|
|
|
|
<a class="item-edit">{{item.name}}</a>
|
|
|
|
</h4>
|
|
|
|
<div class="item-field flex2 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if item.system.properties.equipable}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field" style="font-size: smaller; font-style: italic; color:#4b4a44">{{localize (concat
|
2022-07-01 15:48:54 +02:00
|
|
|
"BOL.equipmentSlots." item.system.properties.slot)}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field group-btns flex1 center">
|
|
|
|
{{#if item.data.properties.stackable}}
|
2022-07-01 15:48:54 +02:00
|
|
|
<a class="inc-dec-btns" data-operator="minus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-minus-square"></i></a>
|
|
|
|
<span class="item-field">{{item.system.quantity}}</span>
|
|
|
|
<a class="inc-dec-btns" data-operator="plus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-plus-square"></i></a>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
<span class="item-field">{{item.system.price}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if system.properties.equipable}}
|
|
|
|
{{#if system.worn}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.unequip"}}"><i
|
|
|
|
class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{else}}
|
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.equip"}}"
|
|
|
|
style="color:lightgray;"><i class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 right">
|
|
|
|
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
2021-12-24 16:06:26 +01:00
|
|
|
</ol>
|
|
|
|
|
|
|
|
<!--DIVERS-->
|
|
|
|
<ol class="items-list">
|
2022-02-23 20:39:58 +01:00
|
|
|
<li class="item flexrow item-header">
|
|
|
|
<div class="item-name flex4 left">{{localize "BOL.ui.misc"}}</div>
|
|
|
|
<div class="item-field flex2 center">{{localize "BOL.ui.slot"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.qty"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.price"}}</div>
|
|
|
|
<div class="item-field flex1 center">{{localize "BOL.ui.equip"}}</div>
|
|
|
|
<div class="item-field flex1 right"></div>
|
|
|
|
</li>
|
|
|
|
{{#each misc as |item id|}}
|
|
|
|
<li class="item flexrow" data-item-id="{{item._id}}">
|
|
|
|
<h4 class="item-name flex4 left">
|
|
|
|
<div class="item-image"><img src="{{item.img}}" title="{{item.name}}" /></div>
|
|
|
|
<a class="item-edit">{{item.name}}</a>
|
|
|
|
</h4>
|
|
|
|
<div class="item-field flex2 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if item.system.properties.equipable}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field" style="font-size: smaller; font-style: italic; color:#4b4a44">{{localize (concat
|
2022-07-01 15:48:54 +02:00
|
|
|
"BOL.equipmentSlots." item.system.properties.slot)}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field group-btns flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if item.system.properties.stackable}}
|
|
|
|
<a class="inc-dec-btns" data-operator="minus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-minus-square"></i></a>
|
|
|
|
<span class="item-field">{{item.system.quantity}}</span>
|
|
|
|
<a class="inc-dec-btns" data-operator="plus" data-target="system.quantity" data-incr="1" data-min="0"
|
|
|
|
data-max="{{item.system.properties.stacksize}}"><i class="fas fa-plus-square"></i></a>
|
2022-02-23 20:39:58 +01:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
<span class="item-field">{{item.system.price}}</span>
|
2022-02-23 20:39:58 +01:00
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 center">
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if system.properties.equipable}}
|
|
|
|
{{#if system.worn}}
|
2022-02-23 20:39:58 +01:00
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.unequip"}}"><i
|
|
|
|
class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{else}}
|
|
|
|
<span class="item-field"><a class="item-control item-equip" title="{{localize " BOL.ui.equip"}}"
|
|
|
|
style="color:lightgray;"><i class="fas fa-shield-alt"></i></a></span>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="item-field flex1 right">
|
|
|
|
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|