Add icons and background
This commit is contained in:
parent
4f04a3c97b
commit
ad5f91fbb2
@ -43,7 +43,7 @@ export class HawkmoonActorSheet extends ActorSheet {
|
||||
protections: duplicate(this.actor.getArmors()),
|
||||
historique: duplicate(this.actor.getHistorique() || {}),
|
||||
talents: duplicate(this.actor.getTalents() || {}),
|
||||
profils: duplicate(this.actor.getProfil() || {}),
|
||||
profils: duplicate(this.actor.getProfils() || {}),
|
||||
combat: this.actor.getCombatValues(),
|
||||
equipements: duplicate(this.actor.getEquipments()),
|
||||
description: await TextEditor.enrichHTML(this.object.system.biodata.description, {async: true}),
|
||||
|
@ -94,8 +94,8 @@ export class HawkmoonActor extends Actor {
|
||||
getHistorique() {
|
||||
return this.items.find(item => item.type == "historique")
|
||||
}
|
||||
getProfil() {
|
||||
return this.items.find(item => item.type == "profil")
|
||||
getProfils() {
|
||||
return this.items.filter(item => item.type == "profil")
|
||||
}
|
||||
getTalents() {
|
||||
return this.items.filter(item => item.type == "talent")
|
||||
|
@ -78,6 +78,24 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<h4 class="item-name-label competence-name">Adversité</h4>
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<label class="label-name item-field-label-short">Bleue</label>
|
||||
<label class="label-name item-field-label-short">{{system.adversite.bleue}}</label>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="label-name item-field-label-short">Rouge</label>
|
||||
<label class="label-name item-field-label-short">{{system.adversite.rouge}}</label>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="label-name item-field-label-short">Noire</label>
|
||||
<label class="label-name item-field-label-short">{{system.adversite.noire}}</label>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<h4 class="item-name-label competence-name">Santé</h4>
|
||||
<ul class="item-list alternate-list">
|
||||
@ -332,35 +350,24 @@
|
||||
<div class="grid grid-3col">
|
||||
<div>
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow" data-item-id="{{origine._id}}">
|
||||
<label class="generic-label">Origine : </label>
|
||||
<label class="generic-label">{{origine.name}}</label>
|
||||
<li class="item flexrow" data-item-id="{{historique._id}}">
|
||||
<label class="generic-label">Historique : </label>
|
||||
<label class="generic-label">{{historique.name}}</label>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<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>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item flexrow" data-item-id="{{heritage._id}}">
|
||||
<label class="generic-label">Héritage : </label>
|
||||
<label class="generic-label">{{heritage.name}}</label>
|
||||
{{#each profils as |profil key|}}
|
||||
<li class="item flexrow" data-item-id="{{profil._id}}">
|
||||
<label class="generic-label">Profil : </label>
|
||||
<label class="generic-label">{{profil.name}}</label>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<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>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item flexrow" data-item-id="{{metier._id}}">
|
||||
<label class="generic-label">Métier : </label>
|
||||
<label class="generic-label">{{metier.name}}</label>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<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>
|
||||
</div>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Multiplicateur d'âme</label>
|
||||
<input type="text" class="" name="system.biosystem.amemultiplier"
|
||||
value="{{system.biosystem.amemultiplier}}" data-dtype="Number" />
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user