forked from public/bol
Foundry v10 version
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.subtype"}}</label>
|
||||
<select name="data.subtype" value="{{data.subtype}}" data-dtype="String">
|
||||
{{#select data.subtype}}
|
||||
<select name="system.subtype" value="{{item.system.subtype}}" data-dtype="String">
|
||||
{{#select item.system.subtype}}
|
||||
{{#each config.featureSubtypes as |item id|}}
|
||||
<option value="{{id}}">{{localize item}}</option>
|
||||
{{/each}}
|
||||
@ -9,18 +9,18 @@
|
||||
</select>
|
||||
</div>
|
||||
|
||||
{{#if (equals data.subtype "career")}}
|
||||
{{#if (equals item.system.subtype "career")}}
|
||||
{{> "systems/bol/templates/item/parts/properties/feature/career-properties.hbs"}}
|
||||
{{/if}}
|
||||
{{#if (equals data.subtype "fightoption")}}
|
||||
{{#if (equals item.system.subtype "fightoption")}}
|
||||
{{> "systems/bol/templates/item/parts/properties/feature/fightoption-properties.hbs"}}
|
||||
{{/if}}
|
||||
{{!#if (equals data.subtype "race")}}
|
||||
{{!> "systems/bol/templates/item/parts/properties/feature/race-properties.hbs"}}
|
||||
{{!/if}}
|
||||
{{#if (equals data.subtype "boon")}}
|
||||
{{#if (equals item.system.subtype "boon")}}
|
||||
{{> "systems/bol/templates/item/parts/properties/feature/boon-properties.hbs"}}
|
||||
{{/if}}
|
||||
{{#if (equals data.subtype "flaw")}}
|
||||
{{#if (equals item.system.subtype "flaw")}}
|
||||
{{> "systems/bol/templates/item/parts/properties/feature/flaw-properties.hbs"}}
|
||||
{{/if}}
|
||||
|
@ -1,5 +1,5 @@
|
||||
<h3 class="form-header">{{localize 'BOL.featureSubtypes.boon'}}</h3>
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.isbonusdice"}}</label>
|
||||
<input class="field-value" type="checkbox" name="data.properties.isbonusdice" {{checked data.properties.isbonusdice}}>
|
||||
<input class="field-value" type="checkbox" name="system.properties.isbonusdice" {{checked item.system.properties.isbonusdice}}>
|
||||
</div>
|
||||
|
@ -1,17 +1,17 @@
|
||||
<h3 class="form-header">{{localize 'BOL.featureSubtypes.career'}}</h3>
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.rank"}}</label>
|
||||
<input type="text" name="data.rank" value="{{data.rank}}" data-dtype="Number"/>
|
||||
<input type="text" name="system.rank" value="{{item.system.rank}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.isSorcerer"}}</label>
|
||||
<input class="field-value" type="checkbox" name="data.properties.sorcerer" {{checked data.properties.sorcerer}}>
|
||||
<input class="field-value" type="checkbox" name="item.system.properties.sorcerer" {{checked item.system.properties.sorcerer}}>
|
||||
</div>
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.isAlchemist"}}</label>
|
||||
<input class="field-value" type="checkbox" name="data.properties.alchemist" {{checked data.properties.alchemist}}>
|
||||
<input class="field-value" type="checkbox" name="item.system.properties.alchemist" {{checked item.system.properties.alchemist}}>
|
||||
</div>
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.isPriest"}}</label>
|
||||
<input class="field-value" type="checkbox" name="data.properties.priest" {{checked data.properties.priest}}>
|
||||
<input class="field-value" type="checkbox" name="item.system.properties.priest" {{checked item.system.properties.priest}}>
|
||||
</div>
|
||||
|
@ -3,8 +3,8 @@
|
||||
<div class="form-group">
|
||||
<label class="property-label">{{localize "BOL.ui.fightOptionType"}}</label>
|
||||
<div class="form-fields">
|
||||
<select name="data.properties.fightoptiontype" data-dtype="String">
|
||||
{{#select data.properties.fightoptiontype}}
|
||||
<select name="item.system.properties.fightoptiontype" data-dtype="String">
|
||||
{{#select item.system.properties.fightoptiontype}}
|
||||
{{#each config.fightOptionTypes as |item id|}}
|
||||
<option value="{{id}}">{{localize item}}</option>
|
||||
{{/each}}
|
||||
@ -14,6 +14,6 @@
|
||||
</div>
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.activated"}}</label>
|
||||
<input class="field-value" type="checkbox" name="data.properties.activated" {{checked data.properties.activated}}>
|
||||
<input class="field-value" type="checkbox" name="system.properties.activated" {{checked item.system.properties.activated}}>
|
||||
</div>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<h3 class="form-header">{{localize 'BOL.featureSubtypes.flaw'}}</h3>
|
||||
<div class="property flexrow">
|
||||
<label class="property-label">{{localize "BOL.ui.ismalusdice"}}</label>
|
||||
<input class="field-value" type="checkbox" name="data.properties.ismalusdice" {{checked data.properties.ismalusdice}}>
|
||||
<input class="field-value" type="checkbox" name="system.properties.ismalusdice" {{checked item.system.properties.ismalusdice}}>
|
||||
</div>
|
||||
|
@ -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}}
|
||||
|
Reference in New Issue
Block a user