forked from GitHub-Mirrors/foundry-sw5e
Update Core to 1.4.1
Update Core to 1.4.1 and internal Version to 1.4.1.R1-A8
This commit is contained in:
parent
f16383841b
commit
5bb253d9c3
56 changed files with 5440 additions and 3827 deletions
|
@ -15,10 +15,11 @@
|
|||
</div>
|
||||
|
||||
<ul class="summary flexrow">
|
||||
<li></li>
|
||||
<li>
|
||||
<input type="text" name="data.rarity" value="{{data.rarity}}" placeholder="{{ localize 'SW5E.Rarity' }}"/>
|
||||
</li>
|
||||
<select name="data.rarity">
|
||||
{{selectOptions config.itemRarity selected=data.rarity blank=" "}}
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.source" value="{{data.source}}" placeholder="{{ localize 'SW5E.Source' }}"/>
|
||||
</li>
|
||||
|
@ -53,11 +54,7 @@
|
|||
<div class="form-group">
|
||||
<label>{{localize 'SW5E.ItemContainerCapacityType'}}</label>
|
||||
<select name="data.capacity.type">
|
||||
{{#select data.capacity.type}}
|
||||
{{#each config.itemCapacityTypes}}
|
||||
<option value="{{@key}}">{{localize this}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions config.itemCapacityTypes selected=data.capacity.type localize=true}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -128,12 +128,31 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>
|
||||
{{localize "SW5E.ClassSkillsEligible"}}
|
||||
{{#if editable }}
|
||||
<a class="trait-selector class-skills" data-target="data.skills.choices" data-options="skills.choices">
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
</label>
|
||||
<div class="form-fields">
|
||||
<ul class="traits-list">
|
||||
{{#each data.skills.choices}}
|
||||
<li class="tag {{this}}">{{lookup ../config.skills this}}</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>
|
||||
{{localize "SW5E.ClassSkillsChosen"}}
|
||||
{{#if editable }}
|
||||
<a class="trait-selector class-skills" data-target="data.skills" data-options="skills">
|
||||
<i class="fas fa-edit"></i></a>
|
||||
<i class="fas fa-edit"></i>
|
||||
</a>
|
||||
{{/if}}
|
||||
</label>
|
||||
<div class="form-fields">
|
||||
|
|
|
@ -19,7 +19,9 @@
|
|||
{{lookup config.consumableTypes data.consumableType }}
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.rarity" value="{{data.rarity}}" placeholder="{{ localize 'SW5E.Rarity' }}"/>
|
||||
<select name="data.rarity">
|
||||
{{selectOptions config.itemRarity selected=data.rarity blank=" "}}
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.source" value="{{data.source}}" placeholder="{{ localize 'SW5E.Source' }}"/>
|
||||
|
@ -49,11 +51,7 @@
|
|||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.ItemConsumableType" }}</label>
|
||||
<select name="data.consumableType">
|
||||
{{#select data.consumableType}}
|
||||
{{#each config.consumableTypes as |name type|}}
|
||||
<option value="{{type}}">{{name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions config.consumableTypes selected=data.consumableType}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -19,7 +19,9 @@
|
|||
{{lookup config.equipmentTypes data.armor.type }}
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.rarity" value="{{data.rarity}}" placeholder="{{ localize 'SW5E.Rarity' }}"/>
|
||||
<select name="data.rarity">
|
||||
{{selectOptions config.itemRarity selected=data.rarity blank=" "}}
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.source" value="{{data.source}}" placeholder="{{ localize 'SW5E.Source' }}"/>
|
||||
|
@ -49,12 +51,7 @@
|
|||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.ItemEquipmentType" }}</label>
|
||||
<select name="data.armor.type">
|
||||
{{#select data.armor.type}}
|
||||
<option value=""></option>
|
||||
{{#each config.equipmentTypes as |name type|}}
|
||||
<option value="{{type}}">{{localize name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions config.equipmentTypes selected=data.armor.type blank=""}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
|
||||
<ul class="summary flexrow">
|
||||
<li>
|
||||
<input type="text" name="data.rarity" value="{{data.rarity}}" placeholder="{{ localize 'SW5E.Rarity' }}"/>
|
||||
<select name="data.rarity">
|
||||
{{selectOptions config.itemRarity selected=data.rarity blank=" "}}
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.source" value="{{data.source}}" placeholder="{{ localize 'SW5E.Source' }}"/>
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
|
||||
<ul class="summary flexrow">
|
||||
<li>
|
||||
<input type="text" name="data.rarity" value="{{data.rarity}}" placeholder="{{ localize 'SW5E.Rarity' }}"/>
|
||||
<select name="data.rarity">
|
||||
{{selectOptions config.itemRarity selected=data.rarity blank=" "}}
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.source" value="{{data.source}}" placeholder="{{ localize 'SW5E.Source' }}"/>
|
||||
|
@ -40,27 +42,27 @@
|
|||
{{!-- Details Tab --}}
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
{{!-- Tool Type --}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.ItemToolType" }}</label>
|
||||
<select name="data.toolType">
|
||||
{{selectOptions config.toolTypes selected=data.toolType blank=""}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
{{!-- Tool Proficiency --}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.ItemToolProficiency" }}</label>
|
||||
<select name="data.proficient" data-dtype="Number">
|
||||
{{#select data.proficient}}
|
||||
{{#each config.proficiencyLevels as |label p|}}
|
||||
<option value="{{p}}">{{label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
{{selectOptions config.proficiencyLevels selected=data.proficient}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
{{!-- Ability Check --}}
|
||||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.DefaultAbilityCheck" }}</label>
|
||||
<select name="data.ability">
|
||||
{{#select data.ability}}
|
||||
{{#each config.abilities as |name a|}}
|
||||
<option value="{{a}}">{{name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions config.abilities selected=data.ability}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -19,7 +19,9 @@
|
|||
{{lookup config.weaponTypes data.weaponType }}
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.rarity" value="{{data.rarity}}" placeholder="{{ localize 'SW5E.Rarity' }}"/>
|
||||
<select name="data.rarity">
|
||||
{{selectOptions config.itemRarity selected=data.rarity blank=" "}}
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="data.source" value="{{data.source}}" placeholder="{{ localize 'SW5E.Source' }}"/>
|
||||
|
@ -49,11 +51,7 @@
|
|||
<div class="form-group">
|
||||
<label>{{ localize "SW5E.ItemWeaponType" }}</label>
|
||||
<select name="data.weaponType">
|
||||
{{#select data.weaponType}}
|
||||
{{#each config.weaponTypes as |name type|}}
|
||||
<option value="{{type}}">{{name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
{{selectOptions config.weaponTypes selected=data.weaponType}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue