Foundry v10 version

This commit is contained in:
2022-07-01 15:48:54 +02:00
parent d27b78d1d2
commit cc1964093d
23 changed files with 320 additions and 330 deletions

View File

@@ -1,8 +1,8 @@
<div class="form-group">
<label class="property-label">{{localize "BOL.ui.category"}}</label>
<div class="form-fields">
<select class="field-value" name="data.category" value="{{data.category}}" data-dtype="String">
{{#select data.category}}
<select class="field-value" name="system.category" value="{{item.system.category}}" data-dtype="String">
{{#select item.system.category}}
{{#each config.itemCategories as |item id|}}
<option value="{{id}}">{{localize item}}</option>
{{/each}}
@@ -11,18 +11,18 @@
</div>
</div>
{{#if (eq data.category "equipment")}}
{{#if (eq item.system.category "equipment")}}
{{> "systems/bol/templates/item/parts/properties/item/equipment-properties.hbs"}}
{{/if}}
{{#if (eq data.category "capacity")}}
{{#if (eq item.system.category "capacity")}}
{{> "systems/bol/templates/item/parts/properties/item/capacity-properties.hbs"}}
{{/if}}
{{#if (eq data.category "vehicle")}}
{{#if (eq item.system.category "vehicle")}}
{{> "systems/bol/templates/item/parts/properties/item/vehicle-properties.hbs"}}
{{/if}}
{{#if (eq data.category "spell")}}
{{#if (eq item.system.category "spell")}}
{{> "systems/bol/templates/item/parts/properties/item/spell-properties.hbs"}}
{{/if}}
{{#if (eq data.category "alchemy")}}
{{#if (eq item.system.category "alchemy")}}
{{> "systems/bol/templates/item/parts/properties/item/alchemy-properties.hbs"}}
{{/if}}