2021-11-08 14:40:29 +01:00
|
|
|
<!--<div class="property flexrow">-->
|
|
|
|
<!-- <label class="property-label">{{localize "BOL.ui.category"}}</label>-->
|
|
|
|
<!-- <select name="data.subtype" value="{{data.category}}" data-dtype="String">-->
|
|
|
|
<!-- {{#select data.category}}-->
|
|
|
|
<!-- {{#each config.itemCategories as |item id|}}-->
|
|
|
|
<!-- <option value="{{id}}">{{localize item}}</option>-->
|
|
|
|
<!-- {{/each}}-->
|
|
|
|
<!-- {{/select}}-->
|
|
|
|
<!-- </select>-->
|
|
|
|
<!--</div>-->
|
|
|
|
|
2021-11-07 20:23:02 +01:00
|
|
|
<div class="property flexrow">
|
2021-11-08 14:40:29 +01:00
|
|
|
<label class="property-label">{{localize "BOL.ui.subtype"}}</label>
|
2021-11-07 20:23:02 +01:00
|
|
|
<select name="data.subtype" value="{{data.subtype}}" data-dtype="String">
|
|
|
|
{{#select data.subtype}}
|
2021-11-08 14:40:29 +01:00
|
|
|
{{#each config.equipmentCategories as |item id|}}
|
|
|
|
<option value="{{id}}">{{localize item}}</option>
|
|
|
|
{{/each}}
|
2021-11-07 20:23:02 +01:00
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
|
2021-11-08 14:40:29 +01:00
|
|
|
<hr/>
|
|
|
|
|
2021-11-07 20:23:02 +01:00
|
|
|
<div class="property flexrow">
|
2021-11-08 14:40:29 +01:00
|
|
|
<label class="property-label">{{localize "BOL.ui.quantity"}}</label>
|
2021-11-07 20:23:02 +01:00
|
|
|
<input type="text" name="data.quantity" value="{{data.quantity}}" data-dtype="Number"/>
|
|
|
|
</div>
|
|
|
|
<div class="property flexrow">
|
2021-11-08 14:40:29 +01:00
|
|
|
<label class="property-label">{{localize "BOL.ui.weight"}}</label>
|
2021-11-07 20:23:02 +01:00
|
|
|
<input type="text" name="data.weight" value="{{data.weight}}" data-dtype="Number"/>
|
|
|
|
</div>
|
2021-11-08 14:40:29 +01:00
|
|
|
<div class="property flexrow">
|
|
|
|
<label class="property-label">{{localize "BOL.ui.price"}}</label>
|
|
|
|
<input type="text" name="data.price" value="{{data.price}}" data-dtype="Number"/>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<hr/>
|
|
|
|
|
|
|
|
<div class="form-group stacked">
|
|
|
|
<!-- <label>Propriétés</label>-->
|
|
|
|
<div class="form-fields">
|
|
|
|
{{#each data.properties as |property key|}}
|
|
|
|
<label class="checkbox">
|
|
|
|
<input type="checkbox" name="data.properties.{{key}}" {{checked property}}> {{localize key}} ({{key}})
|
|
|
|
</label>
|
|
|
|
{{/each}}
|
2021-11-07 20:23:02 +01:00
|
|
|
</div>
|
2021-11-08 14:40:29 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#if data.properties.equipable}}
|
2021-12-22 05:12:40 +01:00
|
|
|
{{> "systems/bol/templates/item/parts/properties/item/equipment-properties.hbs"}}
|
2021-11-08 14:40:29 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#if data.properties.weapon}}
|
2021-12-22 05:12:40 +01:00
|
|
|
{{> "systems/bol/templates/item/parts/properties/item/weapon-properties.hbs"}}
|
2021-11-08 14:40:29 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#if (equals data.properties.protection)}}
|
2021-12-22 05:12:40 +01:00
|
|
|
{{> "systems/bol/templates/item/parts/properties/item/protection-properties.hbs"}}
|
2021-11-08 14:40:29 +01:00
|
|
|
{{/if}}
|
|
|
|
{{#if data.properties.shield}}
|
2021-12-22 05:12:40 +01:00
|
|
|
{{> "systems/bol/templates/item/parts/properties/item/shield-properties.hbs"}}
|
2021-11-08 14:40:29 +01:00
|
|
|
{{/if}}
|