2021-12-24 04:51:14 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="property-label">{{localize "BOL.ui.category"}}</label>
|
|
|
|
<div class="form-fields">
|
2022-07-01 15:48:54 +02:00
|
|
|
<select class="field-value" name="system.category" value="{{item.system.category}}" data-dtype="String">
|
|
|
|
{{#select item.system.category}}
|
2021-12-24 04:51:14 +01:00
|
|
|
{{#each config.itemCategories as |item id|}}
|
|
|
|
<option value="{{id}}">{{localize item}}</option>
|
|
|
|
{{/each}}
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
|
|
|
</div>
|
2021-11-08 14:40:29 +01:00
|
|
|
</div>
|
|
|
|
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if (eq item.system.category "equipment")}}
|
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}}
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if (eq item.system.category "capacity")}}
|
2022-01-05 22:46:26 +01:00
|
|
|
{{> "systems/bol/templates/item/parts/properties/item/capacity-properties.hbs"}}
|
|
|
|
{{/if}}
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if (eq item.system.category "vehicle")}}
|
2021-12-24 16:06:26 +01:00
|
|
|
{{> "systems/bol/templates/item/parts/properties/item/vehicle-properties.hbs"}}
|
2021-11-08 14:40:29 +01:00
|
|
|
{{/if}}
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if (eq item.system.category "spell")}}
|
2022-01-09 14:34:19 +01:00
|
|
|
{{> "systems/bol/templates/item/parts/properties/item/spell-properties.hbs"}}
|
|
|
|
{{/if}}
|
2022-07-01 15:48:54 +02:00
|
|
|
{{#if (eq item.system.category "alchemy")}}
|
2022-01-23 09:25:09 +01:00
|
|
|
{{> "systems/bol/templates/item/parts/properties/item/alchemy-properties.hbs"}}
|
|
|
|
{{/if}}
|