Various items fixes and enhancements
This commit is contained in:
+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