Various items fixes and enhancements
This commit is contained in:
@@ -13,6 +13,67 @@
|
||||
{{formField systemFields.cost value=system.cost localize=true}}
|
||||
{{formField systemFields.money value=system.money localize=true}}
|
||||
|
||||
{{formField systemFields.isKit value=system.isKit localize=true label="PRISMRPG.Label.isKit"}}
|
||||
|
||||
{{#if system.isKit}}
|
||||
{{! Kit Passive }}
|
||||
<fieldset class="kit-passive">
|
||||
<legend>{{localize "PRISMRPG.Label.kitPassive"}}</legend>
|
||||
{{formField
|
||||
systemFields.passive
|
||||
value=system.passive
|
||||
localize=true
|
||||
label="PRISMRPG.Label.passiveName"
|
||||
}}
|
||||
<label>{{localize "PRISMRPG.Label.passiveDescription"}}</label>
|
||||
{{formInput
|
||||
systemFields.passiveDescription
|
||||
enriched=enrichedPassiveDescription
|
||||
value=system.passiveDescription
|
||||
name="system.passiveDescription"
|
||||
toggled=true
|
||||
}}
|
||||
</fieldset>
|
||||
|
||||
{{! Special Activations }}
|
||||
<fieldset class="special-activations">
|
||||
<legend>
|
||||
{{localize "PRISMRPG.Label.specialActivations"}}
|
||||
<button type="button" data-action="add-special-activation" data-tooltip="{{localize 'PRISMRPG.Label.addSpecialActivation'}}">
|
||||
<i class="fas fa-plus"></i>
|
||||
</button>
|
||||
</legend>
|
||||
|
||||
{{#each enrichedSpecialActivations}}
|
||||
<div class="activation-item" data-activation-index="{{@index}}">
|
||||
<div class="activation-header">
|
||||
{{formInput
|
||||
../systemFields.specialActivations.element.fields.name
|
||||
value=this.name
|
||||
name=(concat "system.specialActivations." @index ".name")
|
||||
placeholder=(localize "PRISMRPG.Label.activationName")
|
||||
}}
|
||||
<button type="button" data-action="delete-special-activation" data-tooltip="{{localize 'PRISMRPG.Label.deleteSpecialActivation'}}">
|
||||
<i class="fas fa-trash"></i>
|
||||
</button>
|
||||
</div>
|
||||
<label>{{localize "PRISMRPG.Label.activationDescription"}}</label>
|
||||
{{formInput
|
||||
../systemFields.specialActivations.element.fields.description
|
||||
enriched=this.enrichedDescription
|
||||
value=this.description
|
||||
name=(concat "system.specialActivations." @index ".description")
|
||||
toggled=true
|
||||
}}
|
||||
</div>
|
||||
{{/each}}
|
||||
|
||||
{{#unless enrichedSpecialActivations.length}}
|
||||
<p class="hint">{{localize "PRISMRPG.Hint.noSpecialActivations"}}</p>
|
||||
{{/unless}}
|
||||
</fieldset>
|
||||
{{/if}}
|
||||
|
||||
<fieldset>
|
||||
<legend>{{localize "PRISMRPG.Label.description"}}</legend>
|
||||
{{formInput
|
||||
|
||||
+43
-17
@@ -52,6 +52,13 @@
|
||||
label="PRISMRPG.Label.equipped"
|
||||
}}
|
||||
|
||||
{{formField
|
||||
systemFields.isImplement
|
||||
value=system.isImplement
|
||||
localize=true
|
||||
label="PRISMRPG.Label.isImplement"
|
||||
}}
|
||||
|
||||
</div>
|
||||
<div class="align-top">
|
||||
|
||||
@@ -94,23 +101,42 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{! Prism RPG: Weapon Passive }}
|
||||
<fieldset class="weapon-passive">
|
||||
<legend>{{localize "PRISMRPG.Label.weaponPassive"}}</legend>
|
||||
{{formField
|
||||
systemFields.passive
|
||||
value=system.passive
|
||||
localize=true
|
||||
label="PRISMRPG.Label.passiveName"
|
||||
}}
|
||||
<label>{{localize "PRISMRPG.Label.passiveDescription"}}</label>
|
||||
{{formInput
|
||||
systemFields.passiveDescription
|
||||
enriched=enrichedPassiveDescription
|
||||
value=system.passiveDescription
|
||||
name="system.passiveDescription"
|
||||
toggled=true
|
||||
}}
|
||||
{{! Prism RPG: Weapon Passives }}
|
||||
<fieldset class="weapon-passives">
|
||||
<legend>
|
||||
{{localize "PRISMRPG.Label.weaponPassives"}}
|
||||
<button type="button" data-action="add-passive" data-tooltip="{{localize 'PRISMRPG.Label.addPassive'}}">
|
||||
<i class="fas fa-plus"></i>
|
||||
</button>
|
||||
</legend>
|
||||
|
||||
{{#each enrichedPassives}}
|
||||
<div class="passive-item" data-passive-index="{{@index}}">
|
||||
<div class="passive-header">
|
||||
{{formInput
|
||||
../systemFields.passives.element.fields.name
|
||||
value=this.name
|
||||
name=(concat "system.passives." @index ".name")
|
||||
placeholder=(localize "PRISMRPG.Label.passiveName")
|
||||
}}
|
||||
<button type="button" data-action="delete-passive" data-tooltip="{{localize 'PRISMRPG.Label.deletePassive'}}">
|
||||
<i class="fas fa-trash"></i>
|
||||
</button>
|
||||
</div>
|
||||
<label>{{localize "PRISMRPG.Label.passiveDescription"}}</label>
|
||||
{{formInput
|
||||
../systemFields.passives.element.fields.description
|
||||
enriched=this.enrichedDescription
|
||||
value=this.description
|
||||
name=(concat "system.passives." @index ".description")
|
||||
toggled=true
|
||||
}}
|
||||
</div>
|
||||
{{/each}}
|
||||
|
||||
{{#unless enrichedPassives.length}}
|
||||
<p class="hint">{{localize "PRISMRPG.Hint.noPassives"}}</p>
|
||||
{{/unless}}
|
||||
</fieldset>
|
||||
|
||||
{{! Prism RPG: Weapon Maneuvers }}
|
||||
|
||||
Reference in New Issue
Block a user