feat: update for v10
This commit is contained in:
parent
6277e27056
commit
f25b46a226
63 changed files with 41349 additions and 24332 deletions
|
@ -7,29 +7,29 @@ SPDX-License-Identifier: MIT
|
|||
<div class="ds4-item-properties ds4-item-properties--spell">
|
||||
<h4 class="ds4-item-properties__title">{{localize 'DS4.ItemPropertiesSpell'}}</h4>
|
||||
<div class="form-group">
|
||||
<label for="data.spellModifier.numerical-{{data._id}}"
|
||||
<label for="system.spellModifier.numerical-{{data._id}}"
|
||||
title="{{localize 'DS4.SpellModifierNumericalDescription'}}">{{localize
|
||||
"DS4.SpellModifierNumerical"}}</label>
|
||||
<div class="form-fields">
|
||||
<input id="data.spellModifier.numerical-{{data._id}}" data-dtype="Number" type="number"
|
||||
name="data.spellModifier.numerical" placeholder="0" value="{{data.data.spellModifier.numerical}}" />
|
||||
<input id="system.spellModifier.numerical-{{data._id}}" data-dtype="Number" type="number"
|
||||
name="system.spellModifier.numerical" placeholder="0" value="{{data.system.spellModifier.numerical}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="data.spellModifier.complex-{{data._id}}"
|
||||
<label for="system.spellModifier.complex-{{data._id}}"
|
||||
title="{{localize 'DS4.SpellModifierComplexDescription'}}">{{localize
|
||||
"DS4.SpellModifierComplex"}}</label>
|
||||
<div class="form-fields">
|
||||
<input id="data.spellModifier.complex-{{data._id}}" data-dtype="String" type="text"
|
||||
name="data.spellModifier.complex" value="{{data.data.spellModifier.complex}}" />
|
||||
<input id="system.spellModifier.complex-{{data._id}}" data-dtype="String" type="text"
|
||||
name="system.spellModifier.complex" value="{{data.system.spellModifier.complex}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="data.spellType-{{data._id}}" title="{{localize 'DS4.SpellTypeDescription'}}">{{localize
|
||||
<label for="system.spellType-{{data._id}}" title="{{localize 'DS4.SpellTypeDescription'}}">{{localize
|
||||
"DS4.SpellType"}}</label>
|
||||
<div class="form-fields">
|
||||
<select id="data.spellType-{{data._id}}" name="data.spellType" data-dtype="String">
|
||||
{{#select data.data.spellType}}
|
||||
<select id="system.spellType-{{data._id}}" name="system.spellType" data-dtype="String">
|
||||
{{#select data.system.spellType}}
|
||||
{{#each config.i18n.spellTypes as |value key|}}
|
||||
<option value="{{key}}">{{value}}</option>
|
||||
{{/each}}
|
||||
|
@ -40,10 +40,10 @@ SPDX-License-Identifier: MIT
|
|||
<div class="form-group slim">
|
||||
<label title="{{localize 'DS4.SpellDistanceDescription'}}">{{localize "DS4.SpellDistance"}}</label>
|
||||
<div class="form-fields">
|
||||
<input data-dtype="String" type="text" name="data.maxDistance.value"
|
||||
value="{{data.data.maxDistance.value}}" />
|
||||
<select name="data.maxDistance.unit" data-dtype="String">
|
||||
{{#select data.data.maxDistance.unit}}
|
||||
<input data-dtype="String" type="text" name="system.maxDistance.value"
|
||||
value="{{data.system.maxDistance.value}}" />
|
||||
<select name="system.maxDistance.unit" data-dtype="String">
|
||||
{{#select data.system.maxDistance.unit}}
|
||||
{{#each config.i18n.distanceUnits as |value key|}}
|
||||
<option value="{{key}}">{{value}}</option>
|
||||
{{/each}}
|
||||
|
@ -54,10 +54,10 @@ SPDX-License-Identifier: MIT
|
|||
<div class="form-group slim">
|
||||
<label title="{{localize 'DS4.SpellEffectRadiusDescription'}}">{{localize "DS4.SpellEffectRadius"}}</label>
|
||||
<div class="form-fields">
|
||||
<input data-dtype="String" type="text" name="data.effectRadius.value"
|
||||
value="{{data.data.effectRadius.value}}" />
|
||||
<select name="data.effectRadius.unit" data-dtype="String">
|
||||
{{#select data.data.effectRadius.unit}}
|
||||
<input data-dtype="String" type="text" name="system.effectRadius.value"
|
||||
value="{{data.system.effectRadius.value}}" />
|
||||
<select name="system.effectRadius.unit" data-dtype="String">
|
||||
{{#select data.system.effectRadius.unit}}
|
||||
{{#each config.i18n.distanceUnits as |value key|}}
|
||||
<option value="{{key}}">{{value}}</option>
|
||||
{{/each}}
|
||||
|
@ -68,9 +68,9 @@ SPDX-License-Identifier: MIT
|
|||
<div class="form-group slim">
|
||||
<label title="{{localize 'DS4.SpellDurationDescription'}}">{{localize "DS4.SpellDuration"}}</label>
|
||||
<div class="form-fields">
|
||||
<input data-dtype="String" type="text" name="data.duration.value" value="{{data.data.duration.value}}" />
|
||||
<select name="data.duration.unit" data-dtype="String">
|
||||
{{#select data.data.duration.unit}}
|
||||
<input data-dtype="String" type="text" name="system.duration.value" value="{{data.system.duration.value}}" />
|
||||
<select name="system.duration.unit" data-dtype="String">
|
||||
{{#select data.system.duration.unit}}
|
||||
{{#each config.i18n.temporalUnits as |value key|}}
|
||||
<option value="{{key}}">{{value}}</option>
|
||||
{{/each}}
|
||||
|
@ -79,11 +79,11 @@ SPDX-License-Identifier: MIT
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="data.cooldownDuration-{{data._id}}"
|
||||
<label for="system.cooldownDuration-{{data._id}}"
|
||||
title="{{localize 'DS4.CooldownDurationDescription'}}">{{localize "DS4.CooldownDuration"}}</label>
|
||||
<div class="form-fields">
|
||||
<select id="data.cooldownDuration-{{data._id}}" name="data.cooldownDuration" data-dtype="String">
|
||||
{{#select data.data.cooldownDuration}}
|
||||
<select id="system.cooldownDuration-{{data._id}}" name="system.cooldownDuration" data-dtype="String">
|
||||
{{#select data.system.cooldownDuration}}
|
||||
{{#each config.i18n.cooldownDurations as |value key|}}
|
||||
<option value="{{key}}">{{value}}</option>
|
||||
{{/each}}
|
||||
|
@ -97,42 +97,42 @@ SPDX-License-Identifier: MIT
|
|||
<div class="ds4-checkbox-grid">
|
||||
{{#each config.i18n.spellGroups as |value key|}}
|
||||
<div class="ds4-checkbox-grid__item">
|
||||
<input class="ds4-checkbox-grid__checkbox" id="data.spellGroups.{{key}}-{{../data._id}}"
|
||||
name="data.spellGroups.{{key}}" data-dtype="Boolean" type="checkbox" {{checked (lookup
|
||||
../data.data.spellGroups key)}} />
|
||||
<label for="data.spellGroups.{{key}}-{{../data._id}}">{{value}}</label>
|
||||
<input class="ds4-checkbox-grid__checkbox" id="system.spellGroups.{{key}}-{{../data._id}}"
|
||||
name="system.spellGroups.{{key}}" data-dtype="Boolean" type="checkbox" {{checked (lookup
|
||||
../data.system.spellGroups key)}} />
|
||||
<label for="system.spellGroups.{{key}}-{{../data._id}}">{{value}}</label>
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="data.allowsDefense-{{data._id}}" title="{{localize 'DS4.SpellAllowsDefenseDescription'}}">{{localize
|
||||
<label for="system.allowsDefense-{{data._id}}" title="{{localize 'DS4.SpellAllowsDefenseDescription'}}">{{localize
|
||||
"DS4.SpellAllowsDefense"}}</label>
|
||||
<div class="form-fields">
|
||||
<input id="data.allowsDefense-{{data._id}}" data-dtype="Boolean" type="checkbox" name="data.allowsDefense"
|
||||
{{checked data.data.allowsDefense}} />
|
||||
<input id="system.allowsDefense-{{data._id}}" data-dtype="Boolean" type="checkbox" name="system.allowsDefense"
|
||||
{{checked data.system.allowsDefense}} />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group slim">
|
||||
<label title="{{localize 'DS4.SpellMinimumLevelDescription'}}">{{localize "DS4.SpellMinimumLevel"}}</label>
|
||||
<div class="form-fields">
|
||||
<label for="data.minimumLevels.healer-{{data._id}}">{{localize "DS4.SpellCasterClassHealer"}}</label>
|
||||
<input id="data.minimumLevels.healer-{{data._id}}" data-dtype="Number" type="number" min="0" step="1"
|
||||
name="data.minimumLevels.healer" placeholder="–" value="{{data.data.minimumLevels.healer}}" />
|
||||
<label for="data.minimumLevels.wizard-{{data._id}}">{{localize "DS4.SpellCasterClassWizard"}}</label>
|
||||
<input id="data.minimumLevels.wizard-{{data._id}}" data-dtype="Number" type="number" min="0" step="1"
|
||||
name="data.minimumLevels.wizard" placeholder="–" value="{{data.data.minimumLevels.wizard}}" />
|
||||
<label for="data.minimumLevels.sorcerer-{{data._id}}">{{localize
|
||||
<label for="system.minimumLevels.healer-{{data._id}}">{{localize "DS4.SpellCasterClassHealer"}}</label>
|
||||
<input id="system.minimumLevels.healer-{{data._id}}" data-dtype="Number" type="number" min="0" step="1"
|
||||
name="system.minimumLevels.healer" placeholder="–" value="{{data.system.minimumLevels.healer}}" />
|
||||
<label for="system.minimumLevels.wizard-{{data._id}}">{{localize "DS4.SpellCasterClassWizard"}}</label>
|
||||
<input id="system.minimumLevels.wizard-{{data._id}}" data-dtype="Number" type="number" min="0" step="1"
|
||||
name="system.minimumLevels.wizard" placeholder="–" value="{{data.system.minimumLevels.wizard}}" />
|
||||
<label for="system.minimumLevels.sorcerer-{{data._id}}">{{localize
|
||||
"DS4.SpellCasterClassSorcerer"}}</label>
|
||||
<input id="data.minimumLevels.sorcerer-{{data._id}}" data-dtype="Number" type="number" min="0" step="1"
|
||||
name="data.minimumLevels.sorcerer" placeholder="–" value="{{data.data.minimumLevels.sorcerer}}" />
|
||||
<input id="system.minimumLevels.sorcerer-{{data._id}}" data-dtype="Number" type="number" min="0" step="1"
|
||||
name="system.minimumLevels.sorcerer" placeholder="–" value="{{data.system.minimumLevels.sorcerer}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="data.price-{{data._id}}" title="{{localize 'DS4.SpellPriceDescription'}}">{{localize
|
||||
<label for="system.price-{{data._id}}" title="{{localize 'DS4.SpellPriceDescription'}}">{{localize
|
||||
"DS4.SpellPrice"}}</label>
|
||||
<div class="form-fields">
|
||||
<span id="data.price-{{data._id}}">{{data.data.price}}</span>
|
||||
<span id="system.price-{{data._id}}">{{data.system.price}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue