Fix #71 : Display perk text
This commit is contained in:
parent
428db5e441
commit
a5e17b8276
@ -5,8 +5,8 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
<div>{{name}} has just activated the Perk: {{perk.name}}.</div>
|
<div>{{name}} has just activated the Perk: {{perk.name}}.</div>
|
||||||
|
|
||||||
{{#if (count perk.data.activatedtext)}}
|
{{#if (count perk.system.activatedtext)}}
|
||||||
<div>{{perk.data.activatedtext}}</div>
|
<div>{{perk.system.activatedtext}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
<div>{{name}} has just deactivated the Perk: {{perk.name}}, make sure to manually delete all Effects provided by this Perk from Targets.</div>
|
<div>{{name}} has just deactivated the Perk: {{perk.name}}, make sure to manually delete all Effects provided by this Perk from Targets.</div>
|
||||||
|
|
||||||
{{#if (count perk.data.deactivatedtext)}}
|
{{#if (count perk.system.deactivatedtext)}}
|
||||||
<div>{{perk.data.deactivatedtext}}</div>
|
<div>{{perk.system.deactivatedtext}}</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
<li class="item flexrow list-item" data-item-id="{{trait.id}}">
|
<li class="item flexrow list-item" data-item-id="{{trait.id}}">
|
||||||
<img class="sheet-competence-img" src="{{trait.img}}"/>
|
<img class="sheet-competence-img" src="{{trait.img}}"/>
|
||||||
<span class="competence-label">{{trait.name}}</span>
|
<span class="competence-label">{{trait.name}}</span>
|
||||||
<span class="competence-label">{{trait.data.data.type}}</span>
|
<span class="competence-label">{{trait.system.type}}</span>
|
||||||
<div class="item-controls">
|
<div class="item-controls">
|
||||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
@ -103,17 +103,17 @@
|
|||||||
<img class="sheet-competence-img" src="{{weapon.img}}"/>
|
<img class="sheet-competence-img" src="{{weapon.img}}"/>
|
||||||
<span class="stat-label">{{weapon.name}}</span>
|
<span class="stat-label">{{weapon.name}}</span>
|
||||||
<div class="item-controls">
|
<div class="item-controls">
|
||||||
<a class="item-control item-equip" title="Worn">{{#if weapon.data.data.equipped}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
<a class="item-control item-equip" title="Worn">{{#if weapon.system.equipped}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li class="item stat flexrow list-item stats-table" data-armure-id="{{weapon.id}}" data-item-id="{{weapon.id}}">
|
<li class="item stat flexrow list-item stats-table" data-armure-id="{{weapon.id}}" data-item-id="{{weapon.id}}">
|
||||||
{{#each weapon.data.data.weaponstats as |weaponstat statkey|}}
|
{{#each weapon.system.weaponstats as |weaponstat statkey|}}
|
||||||
<ul>
|
<ul>
|
||||||
<li class="item stat flexrow list-item" data-item-id="{{weapon.id}}" data-stat-id={{statkey}}><span class="stat-label weapon-label"><a name="{{weapon.name}}">Attack with {{weaponstat.name}}</a></span>
|
<li class="item stat flexrow list-item" data-item-id="{{weapon.id}}" data-stat-id={{statkey}}><span class="stat-label weapon-label"><a name="{{weapon.name}}">Attack with {{weaponstat.name}}</a></span>
|
||||||
</li>
|
</li>
|
||||||
<li>{{> "systems/fvtt-fragged-kingdom/templates/weapon-stats-section.html" stats=weaponstat.data.statstotal isfinal=false header=true}}
|
<li>{{> "systems/fvtt-fragged-kingdom/templates/weapon-stats-section.html" stats=weaponstat.system.statstotal isfinal=false header=true}}
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
@ -151,7 +151,7 @@
|
|||||||
<span class="equipement-label">{{equip.name}}</span>
|
<span class="equipement-label">{{equip.name}}</span>
|
||||||
<span class="equipement-label">{{equip.type}}</span>
|
<span class="equipement-label">{{equip.type}}</span>
|
||||||
<div class="item-controls">
|
<div class="item-controls">
|
||||||
<a class="item-control item-equip" title="Worn">{{#if equip.data.data.equipped}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
<a class="item-control item-equip" title="Worn">{{#if equip.system.equipped}}<i class="fas fa-circle"></i>{{else}}<i class="fas fa-genderless"></i>{{/if}}</a>
|
||||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
{{/if}}
|
{{/if}}
|
||||||
</span>
|
</span>
|
||||||
<span class="item-field-label-short">
|
<span class="item-field-label-short">
|
||||||
{{#if equip.data.iscontainer}}
|
{{#if equip.system.iscontainer}}
|
||||||
{{equip.system.contentsEnc}}
|
{{equip.system.contentsEnc}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{mul equip.system.weight equip.system.quantity}}
|
{{mul equip.system.weight equip.system.quantity}}
|
||||||
@ -32,7 +32,7 @@
|
|||||||
</span>
|
</span>
|
||||||
<span class="item-field-label-medium">
|
<span class="item-field-label-medium">
|
||||||
{{#if equip.system.idrDice}}
|
{{#if equip.system.idrDice}}
|
||||||
<a class="roll-idr" data-dice-value="{{equip.data.idrDice}}">{{equip.system.idrDice}}</a>
|
<a class="roll-idr" data-dice-value="{{equip.system.idrDice}}">{{equip.system.idrDice}}</a>
|
||||||
{{else}}
|
{{else}}
|
||||||
-
|
-
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
Loading…
Reference in New Issue
Block a user