Initial import
This commit is contained in:
561
templates/actor-sheet.html
Normal file
561
templates/actor-sheet.html
Normal file
@@ -0,0 +1,561 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
|
||||
{{!-- Sheet Header --}}
|
||||
<header class="sheet-header">
|
||||
<div class="header-fields background-sheet-header">
|
||||
<div class="flexrow">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
|
||||
<div class="flexcol">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
|
||||
<div class="flexrow">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
|
||||
<li class="item flexrow ">
|
||||
<h4 class="item-name-label competence-name">Bonne Aventure</h4>
|
||||
<label class="item-name-label competence-name item-field-label-short">Base</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.bonneaventure.base" value="{{system.bonneaventure.base}}" data-dtype="Number" />
|
||||
<label class="item-name-label competence-name item-field-label-short">Actuelle</label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.bonneaventure.actuelle" value="{{system.bonneaventure.actuelle}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
<li class="item flexrow ">
|
||||
<h4 class="item-name-label competence-name item-field-label-medium">Expérience</h4>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.experience.value" value="{{system.experience.value}}" data-dtype="Number" />
|
||||
|
||||
<h4 class="item-name-label competence-name item-field-label-medium">Eclat</h4>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.eclat.value" value="{{system.eclat.value}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
<li class="item flexrow">
|
||||
<h4 class="item-name-label competence-name item-field-label-medium">Vigueur</h4>
|
||||
<label class="status-small-label color-class-common item-field-label-short">{{system.sante.vigueur}}</label>
|
||||
<h4 class="item-name-label competence-name item-field-label-medium">Etat</h4>
|
||||
<select class="status-small-label color-class-common item-field-label-medium" type="text" name="system.sante.etat"
|
||||
value="{{system.sante.etat}}" data-dtype="Number">
|
||||
{{#select system.sante.etat}}
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-sante-etat.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="principal">Attributs</a>
|
||||
<a class="item" data-tab="competences">Compétences</a>
|
||||
<a class="item" data-tab="combat">Combat</a>
|
||||
<a class="item" data-tab="equipement">Equipement</a>
|
||||
<a class="item" data-tab="biodata">Bio&Notes</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{!-- Main Tab --}}
|
||||
<div class="tab principal" data-group="primary" data-tab="principal">
|
||||
|
||||
<div class="flexcol">
|
||||
|
||||
<div class="grid grid-2col">
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each system.attributs as |attr key|}}
|
||||
<li class="item flexrow " data-attr-key="{{key}}">
|
||||
<img class="item-name-img" src="systems/fvtt-les-heritiers/assets/icons/{{attr.labelnorm}}.webp">
|
||||
<span class="item-name-label competence-name item-field-label-medium"><a
|
||||
class="roll-attribut">{{attr.label}}</a></span>
|
||||
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
|
||||
name="system.attributs.{{key}}.value" value="{{attr.value}}" data-dtype="Number">
|
||||
{{#select attr.value}}
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
<li class="item flexrow">
|
||||
<img class="item-name-img" src="systems/fvtt-les-heritiers/assets/icons/vitesse.webp">
|
||||
<span class="item-name-label competence-name item-field-label-medium">Vitesse</span>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.vitesse.value"
|
||||
value="{{system.vitesse.value}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
|
||||
<h4 class="item-name-label competence-name">Adversités</h4>
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each system.adversite as |adv key|}}
|
||||
<li class="item flexrow" data-adversite="{{key}}">
|
||||
<a class="adversite-modify plus-minus-button" data-adversite-value="-1">-</a>
|
||||
<div class="icon-adversite-container">
|
||||
<img class="icon-adversite" src="systems/fvtt-les-heritiers/assets/icons/gemme_{{key}}.webp">
|
||||
<div class="adversite-text">{{adv}}</div>
|
||||
</div>
|
||||
<a class="adversite-modify plus-minus-button" data-adversite-value="1">+</a>
|
||||
<div class=""> </div>
|
||||
<div class=""> </div>
|
||||
<div class=""> </div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Talents</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Résumé</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
</li>
|
||||
{{#each talents as |talent key|}}
|
||||
<li class="item flexrow " data-item-id="{{talent._id}}" data-item-type="competence">
|
||||
<img class="item-name-img" src="{{talent.img}}" />
|
||||
<span class="item-name-label competence-name">{{talent.name}}</span>
|
||||
<span class="item-name-label item-field-label-long2">{{talent.system.resumebonus}}</span>
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="flexrow">
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Talents de Cellule</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Résumé</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
</li>
|
||||
{{#each talentsCell as |talent key|}}
|
||||
<li class="item flexrow " data-item-id="{{talent._id}}" data-item-type="competence">
|
||||
<img class="item-name-img" src="{{talent.img}}" />
|
||||
<span class="item-name-label competence-name">{{talent.name}}</span>
|
||||
<span class="item-name-label item-field-label-long2">{{talent.system.resumebonus}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- Competence Tab --}}
|
||||
<div class="tab competences" data-group="primary" data-tab="competences">
|
||||
|
||||
<div class="flexrow">
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Compétences</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Niveau</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
</li>
|
||||
{{#each skills as |skill key|}}
|
||||
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
|
||||
<img class="item-name-img" src="{{skill.img}}" />
|
||||
<span class="item-name-label competence-name"><a class="roll-competence item-field-label-short"
|
||||
data-attr-key="tochoose">{{skill.name}}</a></span>
|
||||
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
|
||||
data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number">
|
||||
{{#select skill.system.niveau}}
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
{{#if (ne skill.system.attribut1 "none")}}
|
||||
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut1}}">{{upper
|
||||
skill.system.attribut1}} : {{skill.system.attribut1total}}</button>
|
||||
{{/if}}
|
||||
{{#if (ne skill.system.attribut2 "none")}}
|
||||
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut2}}">{{upper
|
||||
skill.system.attribut2}} : {{skill.system.attribut2total}}</button>
|
||||
{{/if}}
|
||||
{{#if (ne skill.system.attribut3 "none")}}
|
||||
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut3}}">{{upper
|
||||
skill.system.attribut3}} : {{skill.system.attribut3total}}</button>
|
||||
{{/if}}
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- Equipement Tab --}}
|
||||
<div class="tab combat" data-group="primary" data-tab="combat">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<button class="chat-card-button roll-initiative">Initiative (actuelle : {{initiative}} )</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="flexcol">
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Armes</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Attaque</label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Défense</label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Dégats</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
|
||||
class="fas fa-plus"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{#each armes as |arme key|}}
|
||||
<li class="item flexrow " data-item-id="{{arme._id}}" data-item-type="arme">
|
||||
<img class="item-name-img" src="{{arme.img}}" />
|
||||
<span class="item-name-label competence-name">{{arme.name}}</span>
|
||||
|
||||
<span class="item-field-label-short">
|
||||
{{#if arme.system.equipped}}
|
||||
<button class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
|
||||
{{else}}
|
||||
<button disabled class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
|
||||
{{/if}}
|
||||
</span>
|
||||
|
||||
{{#if arme.system.isdefense}}
|
||||
<span class="item-field-label-short arme-defensif item-field-label-short"><label
|
||||
class="arme-defensif item-field-label-short defense-sheet">{{arme.system.totalDefensif}}</label></span>
|
||||
{{else}}
|
||||
<span class="item-field-label-short arme-defensif item-field-label-short"><label
|
||||
class="arme-defensif item-field-label-short defense-sheet">N/A</label></span>
|
||||
{{/if}}
|
||||
|
||||
<span class="item-field-label-short">
|
||||
{{#if arme.system.equipped}}
|
||||
<button class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
|
||||
{{else}}
|
||||
<button disabled class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
|
||||
{{/if}}
|
||||
</span>
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-equip" title="Worn">{{#if arme.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-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Protections</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Protection</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
|
||||
class="fas fa-plus"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{#each protections as |protection key|}}
|
||||
<li class="item flexrow " data-item-id="{{protection._id}}" data-item-type="protection">
|
||||
<img class="item-name-img" src="{{protection.img}}" />
|
||||
<span class="item-name-label competence-name">{{protection.name}}</span>
|
||||
<span class="item-field-label-short arme-defensif"><label
|
||||
class="arme-defensif">{{protection.system.protection}}</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{{!-- Equipement Tab --}}
|
||||
<div class="tab equipement" data-group="primary" data-tab="equipement">
|
||||
|
||||
<div class="flexcol">
|
||||
|
||||
<hr>
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<h4>
|
||||
<label class="argent-total-text">
|
||||
Argent Total : {{richesse.po}} PO - {{richesse.pa}} PA - {{richesse.sc}} SC (total {{richesse.valueSC}} SC)
|
||||
</label>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Richesses et Argent</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Quantité</label>
|
||||
</span>
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-add" data-type="monnaie" title="Ajouter une monnaie"><i
|
||||
class="fas fa-plus"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{#each monnaies as |monnaie key|}}
|
||||
<li class="item flexrow " data-item-id="{{monnaie._id}}" data-item-type="monnaie">
|
||||
<img class="item-name-img" src="{{monnaie.img}}" />
|
||||
<span class="item-name-label competence-name">{{monnaie.name}}</span>
|
||||
<span class="item-name-label competence-name item-field-label-medium">{{monnaie.system.quantite}}
|
||||
<a class="quantity-modify plus-minus-button" data-quantite-value="-1">-</a>
|
||||
<a class="quantity-modify plus-minus-button" data-quantite-value="+1">+</a>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<h4>
|
||||
<label class="argent-total-text">
|
||||
Valeur Total Equipement : {{valeurEquipement.po}} PO - {{valeurEquipement.pa}} PA - {{valeurEquipement.sc}} SC (total {{valeurEquipement.valueSC}} SC)
|
||||
</label>
|
||||
</h4>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Equipements</label></h3>
|
||||
</span>
|
||||
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Quantité</label>
|
||||
</span>
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-add" data-type="equipement" title="Ajouter un équipement"><i
|
||||
class="fas fa-plus"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{#each equipements as |equipement key|}}
|
||||
<li class="item flexrow " data-item-id="{{equipement._id}}" data-item-type="equipement">
|
||||
<img class="item-name-img" src="{{equipement.img}}" />
|
||||
<span class="item-name-label competence-name">{{equipement.name}}</span>
|
||||
<span class="item-name-label competence-name item-field-label-medium">{{equipement.system.quantite}}
|
||||
<a class="quantity-modify plus-minus-button" data-quantite-value="-1">-</a>
|
||||
<a class="quantity-modify plus-minus-button" data-quantite-value="+1">+</a>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Artefacts</label></h3>
|
||||
</span>
|
||||
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Quantité</label>
|
||||
</span>
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-add" data-type="artefact" title="Ajouter un artefact"><i
|
||||
class="fas fa-plus"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{#each artefacts as |artefact key|}}
|
||||
<li class="item flexrow " data-item-id="{{artefact._id}}" data-item-type="artefact">
|
||||
<img class="item-name-img" src="{{artefact.img}}" />
|
||||
<span class="item-name-label competence-name">{{artefact.name}}</span>
|
||||
<span class="item-name-label competence-name item-field-label-medium">{{artefact.system.quantite}}
|
||||
<a class="quantity-modify plus-minus-button" data-quantite-value="-1">-</a>
|
||||
<a class="quantity-modify plus-minus-button" data-quantite-value="+1">+</a>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab biodata" data-group="primary" data-tab="biodata">
|
||||
|
||||
<div>
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each historiques as |historique key|}}
|
||||
<li class="item flexrow" data-item-id="{{historique._id}}">
|
||||
<label class="generic-label">Historique : </label>
|
||||
<label class="generic-label">{{historique.name}}</label>
|
||||
<label></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>
|
||||
{{/each}}
|
||||
{{#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>
|
||||
<label></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>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="grid grid-3col">
|
||||
<div>
|
||||
<ul>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Sexe</label>
|
||||
<input type="text" class="" name="system.biodata.sex" value="{{system.biodata.sex}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Age</label>
|
||||
<input type="text" class="" name="system.biodata.age" value="{{system.biodata.age}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<ul>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Taille</label>
|
||||
<input type="text" class="" name="system.biodata.size" value="{{system.biodata.size}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Cheveux</label>
|
||||
<input type="text" class="" name="system.biodata.hair" value="{{system.biodata.hair}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<li class="item flexrow">
|
||||
<label class="generic-label">Yeux</label>
|
||||
<input type="text" class="" name="system.biodata.eyes" value="{{system.biodata.eyes}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Main préférée</label>
|
||||
<input type="text" class="" name="system.biodata.preferredhand" value="{{system.biodata.preferredhand}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Poids</label>
|
||||
<input type="text" class="" name="system.biodata.weight" value="{{system.biodata.weight}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<span>
|
||||
<h3>Description</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor description target="system.biodata.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
28
templates/chat-degats-result.html
Normal file
28
templates/chat-degats-result.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<div class="chat-message-header">
|
||||
{{#if actorImg}}
|
||||
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
|
||||
{{/if}}
|
||||
<h4 class=chat-actor-name>{{alias}}</h4>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
{{#if actionImg}}
|
||||
<div>
|
||||
<img class="chat-icon" src="{{actionImg}}" alt="{{name}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="flexcol">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<li>Arme : {{arme.name}} (+{{arme.system.totalDegats}})</li>
|
||||
<li>Dégats : {{finalResult}}</li>
|
||||
{{#if targetVigueur}}
|
||||
<li>Vigueur de la cible : {{targetVigueur}}</li>
|
||||
<li>Etats Combativité supplémentaires perdus (manuel): {{nbEtatPerdus}} </li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</div>
|
||||
84
templates/chat-generic-result.html
Normal file
84
templates/chat-generic-result.html
Normal file
@@ -0,0 +1,84 @@
|
||||
<div class="chat-message-header">
|
||||
{{#if actorImg}}
|
||||
<img class="actor-icon" src="{{actorImg}}" alt="{{alias}}" />
|
||||
{{/if}}
|
||||
<h4 class=chat-actor-name>{{alias}}</h4>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
{{#if actionImg}}
|
||||
<div>
|
||||
<img class="chat-icon" src="{{actionImg}}" alt="{{name}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="flexcol">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
<li class="hawkmoon-roll">Attribut : {{attr.label}} ({{attr.value}})</li>
|
||||
|
||||
{{#if competence}}
|
||||
<li>Compétence : {{competence.name}} ({{competence.system.niveau}})</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if selectedMaitrise}}
|
||||
<li>Maitrise : {{selectedMaitrise.name}}</li>
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{#if arme}}
|
||||
<li>Arme : {{arme.name}} (+{{arme.system.bonusmaniementoff}})</li>
|
||||
{{/if}}
|
||||
|
||||
<li>Formule : {{diceFormula}}</li>
|
||||
<li>Résultat du dé : {{diceResult}}</li>
|
||||
|
||||
{{#if bonusRoll}}
|
||||
<li>{{textBonus}} : +{{bonusRoll.total}}</li>
|
||||
{{/if}}
|
||||
|
||||
<li>Total : {{finalResult}}</li>
|
||||
|
||||
{{#if difficulte}}
|
||||
{{#if isSuccess}}
|
||||
<li class="chat-success">Succés...
|
||||
</li>
|
||||
{{else}}
|
||||
<li class="chat-failure">Echec...</li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if isHeroique}}
|
||||
<li class="chat-success">Héroïque !!!</li>
|
||||
{{/if}}
|
||||
{{#if isDramatique}}
|
||||
<li class="chat-failure">Dramatique !!!</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if isInit}}
|
||||
<li>Initiative stockée ! </li>
|
||||
{{/if}}
|
||||
|
||||
{{#if isSuccess}}
|
||||
{{#if arme}}
|
||||
<li>Votre adversaire perd 1 Etat de Combativité (manuel) </li>
|
||||
{{#if (not arme.system.onlevelonly)}}
|
||||
<button class="chat-card-button roll-chat-degat">Dégats de l'arme</button>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
|
||||
{{#each predilections as |pred key|}}
|
||||
<li>
|
||||
<button class="chat-card-button predilection-reroll" data-predilection-index="{{key}}">Predilection :
|
||||
{{pred.name}}</button>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
356
templates/creature-sheet.html
Normal file
356
templates/creature-sheet.html
Normal file
@@ -0,0 +1,356 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
|
||||
{{!-- Sheet Header --}}
|
||||
<header class="sheet-header">
|
||||
<div class="header-fields background-sheet-header">
|
||||
<div class="flexrow">
|
||||
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
|
||||
<div class="flexcol">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
|
||||
<div class="flexrow">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
|
||||
<li class="item flexrow ">
|
||||
<h4 class="item-name-label competence-name">Ressources</h4>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.ressources.value" value="{{system.ressources.value}}" data-dtype="Number" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="principal">Technique</a>
|
||||
<a class="item" data-tab="competences">Compétences</a>
|
||||
<a class="item" data-tab="talents">Talents</a>
|
||||
<a class="item" data-tab="armes">Armes</a>
|
||||
<a class="item" data-tab="biodata">Bio&Notes</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{!-- Main Tab --}}
|
||||
<div class="tab principal" data-group="primary" data-tab="principal">
|
||||
|
||||
<div class="grid grid-2col">
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each system.attributs as |attr key|}}
|
||||
<li class="item flexrow " data-attr-key="{{key}}">
|
||||
<img class="item-name-img" src="systems/fvtt-les-heritiers/assets/icons/{{attr.labelnorm}}.webp">
|
||||
<span class="item-name-label competence-name item-field-label-medium"><a
|
||||
class="roll-attribut">{{attr.label}}</a></span>
|
||||
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
|
||||
name="system.attributs.{{key}}.value" value="{{attr.value}}" data-dtype="Number">
|
||||
{{#select attr.value}}
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
{{/each}}
|
||||
<li class="item flexrow">
|
||||
<img class="item-name-img" src="systems/fvtt-les-heritiers/assets/icons/vitesse.webp">
|
||||
<span class="item-name-label competence-name item-field-label-medium">Vitesse</span>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.vitesse.value"
|
||||
value="{{system.vitesse.value}}" data-dtype="Number" />
|
||||
</li>
|
||||
</ul>
|
||||
<h4 class="item-name-label competence-name">Santé</h4>
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<label class="label-name item-field-label-short">Vigueur</label>
|
||||
<label class="label-name item-field-label-short">{{system.sante.vigueur}}</label>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<label class="label-name item-field-label-short">Etat</label>
|
||||
<select class="label-name item-field-label-medium" type="text" name="system.sante.etat" value="{{system.sante.etat}}" data-dtype="Number">
|
||||
{{#select system.sante.etat}}
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-sante-etat.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h4 class="item-name-label competence-name">Combat</h4>
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<button class="chat-card-button roll-initiative">Initiative</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<h4 class="item-name-label competence-name">Adversité</h4>
|
||||
<ul class="item-list alternate-list">
|
||||
{{#each system.adversite as |adv key|}}
|
||||
<li class="item flexrow" data-adversite="{{key}}">
|
||||
<a class="adversite-modify plus-minus-button" data-adversite-value="-1">-</a>
|
||||
<div class="icon-adversite-container">
|
||||
<img class="icon-adversite" src="systems/fvtt-les-heritiers/assets/icons/gemme_{{key}}.webp">
|
||||
<div class="adversite-text">{{adv}}</div>
|
||||
</div>
|
||||
<a class="adversite-modify plus-minus-button" data-adversite-value="1">+</a>
|
||||
<div class=""> </div>
|
||||
<div class=""> </div>
|
||||
<div class=""> </div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- Competence Tab --}}
|
||||
<div class="tab competences" data-group="primary" data-tab="competences">
|
||||
|
||||
<div class="flexrow">
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Compétences</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Niveau</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
</li>
|
||||
{{#each skills as |skill key|}}
|
||||
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
|
||||
<img class="item-name-img" src="{{skill.img}}" />
|
||||
<span class="item-name-label competence-name"><a class="roll-competence item-field-label-short"
|
||||
data-attr-key="tochoose">{{skill.name}}</a></span>
|
||||
<select class="status-small-label color-class-common edit-item-data competence-niveau" type="text"
|
||||
data-item-field="niveau" value="{{skill.system.niveau}}" data-dtype="Number">
|
||||
{{#select skill.system.niveau}}
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-list-niveau.html}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
{{#if (ne skill.system.attribut1 "none")}}
|
||||
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut1}}">{{upper
|
||||
skill.system.attribut1}} : {{skill.system.attribut1total}}</button>
|
||||
{{/if}}
|
||||
{{#if (ne skill.system.attribut2 "none")}}
|
||||
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut2}}">{{upper
|
||||
skill.system.attribut2}} : {{skill.system.attribut2total}}</button>
|
||||
{{/if}}
|
||||
{{#if (ne skill.system.attribut3 "none")}}
|
||||
<button class="roll-competence button-sheet-roll" data-attr-key="{{skill.system.attribut3}}">{{upper
|
||||
skill.system.attribut3}} : {{skill.system.attribut3total}}</button>
|
||||
{{/if}}
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- Talents Tab --}}
|
||||
<div class="tab talents" data-group="primary" data-tab="talents">
|
||||
|
||||
<div class="flexrow">
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Talents</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Résumé</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
</li>
|
||||
{{#each talents as |talent key|}}
|
||||
<li class="item flexrow " data-item-id="{{talent._id}}" data-item-type="competence">
|
||||
<img class="item-name-img" src="{{talent.img}}" />
|
||||
<span class="item-name-label competence-name">{{talent.name}}</span>
|
||||
<span class="item-name-label item-field-label-long2">{{talent.system.resumebonus}}</span>
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flexrow">
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Talents de Cellule</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Résumé</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
</li>
|
||||
{{#each talentsCell as |talent key|}}
|
||||
<li class="item flexrow " data-item-id="{{talent._id}}" data-item-type="competence">
|
||||
<img class="item-name-img" src="{{talent.img}}" />
|
||||
<span class="item-name-label competence-name">{{talent.name}}</span>
|
||||
<span class="item-name-label item-field-label-long2">{{talent.system.resumebonus}}</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- Equipement Tab --}}
|
||||
<div class="tab armes" data-group="primary" data-tab="armes">
|
||||
|
||||
<div class="flexcol">
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Armes</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Attaque</label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Défense</label>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Dégats</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
|
||||
class="fas fa-plus"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{#each armes as |arme key|}}
|
||||
<li class="item flexrow " data-item-id="{{arme._id}}" data-item-type="arme">
|
||||
<img class="item-name-img" src="{{arme.img}}" />
|
||||
<span class="item-name-label competence-name">{{arme.name}}</span>
|
||||
|
||||
<span class="item-field-label-short">
|
||||
{{#if arme.system.equipped}}
|
||||
<button class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
|
||||
{{else}}
|
||||
<button disabled class="roll-arme-offensif button-sheet-roll">{{arme.system.totalOffensif}}</button>
|
||||
{{/if}}
|
||||
</span>
|
||||
|
||||
{{#if arme.system.isdefense}}
|
||||
<span class="item-field-label-short arme-defensif item-field-label-short"><label
|
||||
class="arme-defensif item-field-label-short defense-sheet">{{arme.system.totalDefensif}}</label></span>
|
||||
{{else}}
|
||||
<span class="item-field-label-short arme-defensif item-field-label-short"><label
|
||||
class="arme-defensif item-field-label-short defense-sheet">N/A</label></span>
|
||||
{{/if}}
|
||||
|
||||
<span class="item-field-label-short">
|
||||
{{#if arme.system.equipped}}
|
||||
<button class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
|
||||
{{else}}
|
||||
<button disabled class="roll-arme-degats button-sheet-roll">{{arme.system.totalDegats}}</button>
|
||||
{{/if}}
|
||||
</span>
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-equip" title="Worn">{{#if arme.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-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">Protections</label></h3>
|
||||
</span>
|
||||
<span class="item-field-label-short">
|
||||
<label class="short-label">Protection</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control item-add" data-type="arme" title="Ajouter une arme"><i
|
||||
class="fas fa-plus"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{#each protections as |protection key|}}
|
||||
<li class="item flexrow " data-item-id="{{protection._id}}" data-item-type="protection">
|
||||
<img class="item-name-img" src="{{protection.img}}" />
|
||||
<span class="item-name-label competence-name">{{protection.name}}</span>
|
||||
<span class="item-field-label-short arme-defensif"><label
|
||||
class="arme-defensif">{{protection.system.protection}}</label>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
<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>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab biodata" data-group="primary" data-tab="biodata">
|
||||
|
||||
<span>
|
||||
<h3>Description</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor description target="system.biodata.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
||||
<span>
|
||||
<h3>Habitat</h3>
|
||||
</span>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor habitat target="system.biodata.habitat" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
6
templates/editor-notes-gm.html
Normal file
6
templates/editor-notes-gm.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{#if data.isGM}}
|
||||
<h3>GM Notes : </h3>
|
||||
<div class="form-group editor">
|
||||
{{editor data.biodata.gmnotes target="system.biodata.gmnotes" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
{{/if}}
|
||||
48
templates/hud-adversites.html
Normal file
48
templates/hud-adversites.html
Normal file
@@ -0,0 +1,48 @@
|
||||
<div class="control-icon hawkmoon-adversite ">
|
||||
<img class="hawkmoon-hud-togglebutton" src="icons/svg/sword.svg" width="36" height="36" title="Action" />
|
||||
<div class="hawkmoon-hud-list tokenhudext right">
|
||||
|
||||
<div class="flexrow tokenhudicon">
|
||||
<div class="hawkmoon-hud-adversite hud-adversite-container" data-action-value="-1"
|
||||
data-action-index="bleue" title="Adversite Bleue">
|
||||
<img class="icon-adversite" src="systems/fvtt-les-heritiers/assets/icons/gemme_bleue.webp">
|
||||
<div class="hud-adversite-text"> -1</div>
|
||||
</div>
|
||||
|
||||
<div class="hawkmoon-hud-adversite hud-adversite-container" data-action-value="+1"
|
||||
data-action-index="bleue" title="Adversite Bleue">
|
||||
<img class="icon-adversite" src="systems/fvtt-les-heritiers/assets/icons/gemme_bleue.webp">
|
||||
<div class="hud-adversite-text"> +1</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flexrow tokenhudicon">
|
||||
<div class="hawkmoon-hud-adversite hud-adversite-container" data-action-value="-1"
|
||||
data-action-index="rouge" title="Adversite Rouge">
|
||||
<img class="icon-adversite" src="systems/fvtt-les-heritiers/assets/icons/gemme_rouge.webp">
|
||||
<div class="hud-adversite-text"> -1</div>
|
||||
</div>
|
||||
|
||||
<div class="hawkmoon-hud-adversite hud-adversite-container" data-action-value="+1"
|
||||
data-action-index="rouge" title="Adversite Rouge">
|
||||
<img class="icon-adversite" src="systems/fvtt-les-heritiers/assets/icons/gemme_rouge.webp">
|
||||
<div class="hud-adversite-text"> +1</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flexrow tokenhudicon">
|
||||
<div class="hawkmoon-hud-adversite hud-adversite-container" data-action-value="-1"
|
||||
data-action-index="noire" title="Adversite Noire">
|
||||
<img class="icon-adversite" src="systems/fvtt-les-heritiers/assets/icons/gemme_noire.webp">
|
||||
<div class="hud-adversite-text"> -1</div>
|
||||
</div>
|
||||
|
||||
<div class="hawkmoon-hud-adversite hud-adversite-container" data-action-value="+1"
|
||||
data-action-index="noire" title="Adversite Noire">
|
||||
<img class="icon-adversite" src="systems/fvtt-les-heritiers/assets/icons/gemme_noire.webp">
|
||||
<div class="hud-adversite-text"> +1</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
89
templates/item-arme-sheet.html
Normal file
89
templates/item-arme-sheet.html
Normal file
@@ -0,0 +1,89 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Type d'arme : </label>
|
||||
<select class="item-field-label-long" type="text" name="system.typearme"
|
||||
value="{{system.typearme}}" data-dtype="string">
|
||||
{{#select system.typearme}}
|
||||
<option value="contact">Arme de contact</option>
|
||||
<option value="contactjet">Arme de contact et de Jet</option>
|
||||
<option value="jet">Arme de Jet</option>
|
||||
<option value="tir">Arme de Tir</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Bonus offensif : </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.bonusmaniementoff"
|
||||
value="{{system.bonusmaniementoff}}" data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Seuil de Défense : </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.seuildefense"
|
||||
value="{{system.seuildefense}}" data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">1 niveau de Combativité au maximum ? </label>
|
||||
<input type="checkbox" name="system.onlevelonly" {{checked system.onlevelonly}} />
|
||||
</li>
|
||||
{{#if system.onlevelonly}}
|
||||
{{else}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Dégâts : </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.degats"
|
||||
value="{{system.degats}}" data-dtype="String" />
|
||||
</li>
|
||||
{{/if}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">A deux mains ? </label>
|
||||
<input type="checkbox" name="system.deuxmains" {{checked system.deuxmains}} />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Perce Armure ? </label>
|
||||
<input type="checkbox" name="system.percearmure" {{checked system.percearmure}} />
|
||||
</li>
|
||||
{{#if system.percearmure}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Valeur de Perce Armure : </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.percearmurevalue"
|
||||
value="{{system.percearmurevalue}}" data-dtype="Number" />
|
||||
</li>
|
||||
{{/if}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Portée courte </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.courte"
|
||||
value="{{system.courte}}" data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Portée moyenne </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.moyenne"
|
||||
value="{{system.moyenne}}" data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Portée longue </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.longue"
|
||||
value="{{system.longue}}" data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Temps de rechargement </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.tr" value="{{system.tr}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-prix.html}}
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
117
templates/item-artefact-sheet.html
Normal file
117
templates/item-artefact-sheet.html
Normal file
@@ -0,0 +1,117 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Complexité : </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.complexite"
|
||||
value="{{system.complexite}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Branche : </label>
|
||||
<select class="item-field-label-long" type="text" name="system.branche" value="{{system.branche}}"
|
||||
data-dtype="string">
|
||||
{{#select system.branche}}
|
||||
<option value="alchimie">Alchimie</option>
|
||||
<option value="biologie">Biologie</option>
|
||||
<option value="electricite">Electricité</option>
|
||||
<option value="mecanique">Mécanique</option>
|
||||
<option value="scienceesprit">Science de l'Esprit</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Branche secondaire : </label>
|
||||
<select class="item-field-label-long" type="text" name="system.branche2" value="{{system.branche2}}"
|
||||
data-dtype="string">
|
||||
<option value="none">Aucune</option>
|
||||
{{#select system.branche2}}
|
||||
<option value="alchimie">Alchimie</option>
|
||||
<option value="biologie">Biologie</option>
|
||||
<option value="electricite">Electricité</option>
|
||||
<option value="mecanique">Mécanique</option>
|
||||
<option value="scienceesprit">Science de l'Esprit</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Durée de réalisation : </label>
|
||||
<input type="text" class="padd-right item-field-label-long" name="system.dureerealisation"
|
||||
value="{{system.dureerealisation}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Temps de mise en route : </label>
|
||||
<input type="text" class="padd-right item-field-label-long" name="system.tempsroute"
|
||||
value="{{system.tempsroute}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Effet de jeu : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea row="8" type="text" class="padd-right color-class-common" name="system.effetdejeu"
|
||||
data-dtype="String">{{system.effetdejeu}}</textarea>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Défaut courant : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea row="4" type="text" class="padd-right color-class-common" name="system.defautcourant"
|
||||
data-dtype="String">{{system.defautcourant}}</textarea>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Autres caractéristiques : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea row="4" type="text" class="padd-right color-class-common" name="system.autrescarac"
|
||||
data-dtype="String">{{system.autrescarac}}</textarea>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Avantages possibles : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea row="4" type="text" class="padd-right color-class-common" name="system.avantagespossibles"
|
||||
data-dtype="String">{{system.avantagespossibles}}</textarea>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Avantages disponibles : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea row="4" type="text" class="padd-right color-class-common" name="system.avantages"
|
||||
data-dtype="String">{{system.avantages}}</textarea>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Compétence associée : </label>
|
||||
<input type="text" class="padd-right item-field-label-long" name="system.competences"
|
||||
value="{{system.competences}}" data-dtype="String" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Equipé ? </label>
|
||||
<input type="checkbox" name="system.equipped" {{checked system.equipped}} />
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
91
templates/item-competence-sheet.html
Normal file
91
templates/item-competence-sheet.html
Normal file
@@ -0,0 +1,91 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Niveau </label>
|
||||
<input type="text" class="padd-right status-small-label color-class-common item-field-label-short"
|
||||
name="system.niveau" value="{{system.niveau}}" data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Attribut 1 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.attribut1" value="{{system.attribut1}}" data-dtype="string">
|
||||
{{#select system.attribut1}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Attribut 2 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.attribut2" value="{{system.attribut2}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select system.attribut2}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Attribut 3 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.attribut3" value="{{system.attribut3}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select system.attribut3}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<h3>Prédilections</h3>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<ul>
|
||||
{{#each system.predilections as |predilection key|}}
|
||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||
<input type="text" class="padd-right color-class-common edit-predilection" value="{{predilection.name}}"
|
||||
data-dtype="String" />
|
||||
</li>
|
||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||
<textarea row="4" type="text" class="padd-right color-class-common edit-predilection-description"
|
||||
data-dtype="String">{{predilection.description}}</textarea>
|
||||
</li>
|
||||
<li class="prediction-item item flexrow" data-prediction-index="{{key}}">
|
||||
<label class="generic-label">Acquise ? <input class="predilection-acquise" type="checkbox" {{checked
|
||||
predilection.acquise}} /></label>
|
||||
|
||||
<label class="generic-label">Maitrise ? <input class="predilection-maitrise" type="checkbox" {{checked
|
||||
predilection.maitrise}} /></label>
|
||||
|
||||
<label class="generic-label">Utilisée ? <input class="predilection-used" type="checkbox" {{checked
|
||||
predilection.used}} /></label>
|
||||
<a class="item-control delete-prediction" title="Supprimer une predilection"><i
|
||||
class="fas fa-trash"></i></a>
|
||||
</li>
|
||||
<hr>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<li class="flexrow item">
|
||||
<button id="add-predilection" class="chat-card-button">Ajouter une prédilection</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
45
templates/item-contact-sheet.html
Normal file
45
templates/item-contact-sheet.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
|
||||
<label class="generic-label item-field-label-long">Type : </label>
|
||||
<select class="item-field-label-long" type="text" name="system.contacttype" value="{{system.contacttype}}" data-dtype="String">
|
||||
{{#select system.contacttype}}
|
||||
<option value="contact">Contact</option>
|
||||
<option value="allie">Allié</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
<label class="generic-label item-field-label-long">Niveau : </label>
|
||||
<select class="item-field-label-long" type="text" name="system.niveau" value="{{system.niveau}}" data-dtype="Number">
|
||||
{{#select system.niveau}}
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Développement : </label>
|
||||
<input type="text" class="padd-right item-field-label-long" name="system.pointdev"
|
||||
value="{{system.pointdev}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
22
templates/item-equipement-sheet.html
Normal file
22
templates/item-equipement-sheet.html
Normal file
@@ -0,0 +1,22 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-prix.html}}
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
24
templates/item-historique-sheet.html
Normal file
24
templates/item-historique-sheet.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Bonus/Malus </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.bonusmalus"
|
||||
value="{{system.bonusmalus}}" data-dtype="String" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
34
templates/item-monnaie-sheet.html
Normal file
34
templates/item-monnaie-sheet.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
|
||||
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Quantite </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.quantite"
|
||||
value="{{system.quantite}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Valeur en Sous de Cuivre (SC)</label>
|
||||
<input type="text" class="numeric-input item-field-label-short" name="system.prixsc" value="{{system.prixsc}}"
|
||||
data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
119
templates/item-profil-sheet.html
Normal file
119
templates/item-profil-sheet.html
Normal file
@@ -0,0 +1,119 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Exemples : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.exemples"
|
||||
value="{{system.exemples}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow items">
|
||||
<label class="generic-label item-field-label-long">Attribut principal 1 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long"" type=" text"
|
||||
name="system.attribut1" value="{{system.attribut1}}" data-dtype="string">
|
||||
{{#select system.attribut1}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow item ">
|
||||
<label class="generic-label item-field-label-long">Attribut principal 2 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long"" type=" text"
|
||||
name="system.attribut2" value="{{system.attribut2}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select system.attribut2}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="flexrow item ">
|
||||
<label class="generic-label item-field-label-long">Attribut principal 3 </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long"" type=" text"
|
||||
name="system.attribut3" value="{{system.attribut3}}" data-dtype="string">
|
||||
<option value="none">Aucun</option>
|
||||
{{#select system.attribut3}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Compétences exercées : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea type="text" rows="3" class="padd-right status-small-label color-class-common"
|
||||
name="system.compétences" data-dtype="String">{{system.compétences}}</textarea>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Talents Initié : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea type="text" rows="3" class="padd-right status-small-label color-class-common"
|
||||
name="system.talentsinitie" data-dtype="String">{{system.talentsinitie}}</textarea>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Prérequis Aguerri : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea type="text" rows="3" class="padd-right status-small-label color-class-common"
|
||||
name="system.prerequisaguerri" data-dtype="String">{{system.prerequisaguerri}}</textarea>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Talents Aguerri : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea rows="3" type="text" class="padd-right status-small-label color-class-common"
|
||||
name="system.talentsaguerri" data-dtype="String">{{system.talentsaguerri}}</textarea>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Prérequis Maître : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea rows="3" type="text" class="padd-right status-small-label color-class-common"
|
||||
name="system.prerequismaitre" data-dtype="String">{{system.prerequismaitre}}</textarea>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Talents Maître : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea rows="3" type="text" class="padd-right status-small-label color-class-common"
|
||||
name="system.talentsmaitre" data-dtype="String">{{system.talentsmaitre}}</textarea>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Equipement : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<input type="text" class="padd-right status-small-label color-class-common" name="system.equipement"
|
||||
value="{{system.equipement}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label">Contribution à la création de la cellule : </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea rows="3" type="text" class="padd-right status-small-label color-class-common"
|
||||
name="system.celluleinfo" data-dtype="String">{{system.celluleinfo}}</textarea>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
30
templates/item-protection-sheet.html
Normal file
30
templates/item-protection-sheet.html
Normal file
@@ -0,0 +1,30 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Protection : </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.protection"
|
||||
value="{{system.protection}}" data-dtype="Number" />
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long2">Adversités dues au poids : </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.adversitepoids"
|
||||
value="{{system.adversitepoids}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-prix.html}}
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
26
templates/item-ressource-sheet.html
Normal file
26
templates/item-ressource-sheet.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Développement : </label>
|
||||
<input type="text" class="padd-right item-field-label-long" name="system.pointdev"
|
||||
value="{{system.pointdev}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
68
templates/item-talent-sheet.html
Normal file
68
templates/item-talent-sheet.html
Normal file
@@ -0,0 +1,68 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-header.html}}
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-nav.html}}
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-item-description.html}}
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
|
||||
<ul class="item-list alternate-list">
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-medium">Type </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.talenttype" value="{{system.talenttype}}" data-dtype="String">
|
||||
{{#select system.talenttype}}
|
||||
<option value="personnage">Personnage</option>
|
||||
<option value="cellule">Cellule</option>
|
||||
<option value="traitespece">Trait d'espèce</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-medium">Utilisation </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.utilisation" value="{{system.utilisation}}" data-dtype="String">
|
||||
{{#select system.utilisation}}
|
||||
<option value="permanent">Permanent</option>
|
||||
<option value="sceance">Une fois par scéance</option>
|
||||
<option value="scenario">Une fois par scénario</option>
|
||||
<option value="jour">Une fois par jour</option>
|
||||
<option value="unique">Unique</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Pré-requis </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea rows="3" type="text" class="padd-right status-small-label color-class-common"
|
||||
name="system.prerequis" data-dtype="String">{{system.prerequis}}</textarea>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Résumé (si bonus) </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea rows="3" type="text" class="padd-right status-small-label color-class-common"
|
||||
name="system.resumebonus" data-dtype="String">{{system.resumebonus}}</textarea>
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-medium">Déja utilisé ? </label>
|
||||
<input class="predilection-maitrise" type="checkbox" name="system.used" {{checked system.used}} />
|
||||
</li>
|
||||
|
||||
{{> systems/fvtt-les-heritiers/templates/partial-automation.html}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
23
templates/partial-actor-equipment.html
Normal file
23
templates/partial-actor-equipment.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<li class="item flexrow list-item list-item-shadow" data-item-id="{{equip._id}}">
|
||||
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img" src="{{equip.img}}" /></a>
|
||||
{{#if (eq level 1)}}
|
||||
<span class="item-name-label">{{equip.name}}</span>
|
||||
{{else}}
|
||||
<span class="item-name-label-level2">{{equip.name}}</span>
|
||||
{{/if}}
|
||||
|
||||
<span class="item-field-label-long"><label>
|
||||
{{equip.system.quantity}}
|
||||
(<a class="quantity-minus plus-minus-button"> -</a>/<a class="quantity-plus plus-minus-button">+</a>)
|
||||
</label>
|
||||
</span>
|
||||
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
{{#if (eq level 1)}}
|
||||
<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>
|
||||
{{/if}}
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
81
templates/partial-automation.html
Normal file
81
templates/partial-automation.html
Normal file
@@ -0,0 +1,81 @@
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Automatisation ? </label>
|
||||
<input type="checkbox" name="system.isautomated" {{checked system.isautomated}} />
|
||||
</li>
|
||||
|
||||
{{#if system.isautomated}}
|
||||
<li class="flexrow item">
|
||||
<ul>
|
||||
{{#each system.automations as |automation key|}}
|
||||
<li class="automation-item item flexrow">
|
||||
<hr>
|
||||
</li>
|
||||
<li class="automation-item item flexrow" data-automation-field="eventtype" data-automation-index="{{key}}">
|
||||
<label class="generic-label item-field-label-medium">Evènement</label>
|
||||
<select class="item-field-label-long automation-edit-field" type="text" data-automation-index="{{key}}" data-automation-field="eventtype"
|
||||
value="{{automation.eventtype}}" data-dtype="String">
|
||||
{{#select automation.eventtype}}
|
||||
<option value="on-drop">Drop sur l'acteur</option>
|
||||
<option value="prepare-roll">Préparation d'un jet</option>
|
||||
<option value="bonus-permanent">Bonus permanent</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
<label class="generic-label item-field-label-medium"> </label>
|
||||
|
||||
<a class="item-control item-field-label-medium delete-automation" title="Supprimer" data-automation-index="{{key}}"><i
|
||||
class="fas fa-trash"></i></a>
|
||||
|
||||
</li>
|
||||
|
||||
{{#if (eq automation.eventtype "on-drop")}}
|
||||
<li class="automation-item item flexrow">
|
||||
<label class="generic-label item-field-label-long">Compétence/Attribut</label>
|
||||
<input type="text" class="item-field-label-medium automation-edit-field" data-automation-index="{{key}}" data-automation-field="competence" value="{{automation.competence}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="automation-item item flexrow">
|
||||
<label class="generic-label item-field-label-long">Valeur minimum</label>
|
||||
<input type="text" class="item-field-label-medium automation-edit-field" data-automation-index="{{key}}" data-automation-field="minLevel" value="{{automation.minLevel}}" data-dtype="Number" />
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq automation.eventtype "bonus-permanent")}}
|
||||
<li class="automation-item item flexrow">
|
||||
<label class="generic-label item-field-label-long">Désignation</label>
|
||||
<select class="item-field-label-long automation-edit-field" type="text" data-automation-index="{{key}}" data-automation-field="bonusname"
|
||||
value="{{automation.bonusname}}" data-dtype="String">
|
||||
{{#select automation.bonusname}}
|
||||
<option value="vigueur">Vigueur</option>
|
||||
<option value="bonus-defensif">Bonus au Seuil de Défense</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
<li class="automation-item item flexrow">
|
||||
<label class="generic-label item-field-label-long">Bonus</label>
|
||||
<input type="text" class="item-field-label-medium automation-edit-field" data-automation-index="{{key}}" data-automation-field="bonus" value="{{automation.bonus}}" data-dtype="Number" />
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq automation.eventtype "prepare-roll")}}
|
||||
<li class="automation-item item flexrow">
|
||||
<label class="generic-label item-field-label-long">Compétence/Attribut</label>
|
||||
<input type="text" class="item-field-label-medium automation-edit-field" data-automation-index="{{key}}" data-automation-field="competence" value="{{automation.competence}}" data-dtype="String" />
|
||||
</li>
|
||||
<li class="automation-item item flexrow">
|
||||
<label class="generic-label item-field-label-long">Bonus</label>
|
||||
<input type="text" class="item-field-label-medium automation-edit-field" data-automation-index="{{key}}" data-automation-field="bonus" value="{{automation.bonus}}" data-dtype="Number" />
|
||||
</li>
|
||||
<li class="automation-item item flexrow">
|
||||
<label class="generic-label item-field-label-long">Coût en BA</label>
|
||||
<input type="text" class="item-field-label-medium automation-edit-field" data-automation-index="{{key}}" data-automation-field="baCost" value="{{automation.baCost}}" data-dtype="Number" />
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
{{/each}}
|
||||
|
||||
</ul>
|
||||
|
||||
<li class="flexrow item">
|
||||
<button id="add-automation" class="chat-card-button">Ajouter une automatisation</button>
|
||||
</li>
|
||||
{{/if}}
|
||||
5
templates/partial-item-description.html
Normal file
5
templates/partial-item-description.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<div class="tab description" data-group="primary" data-tab="description">
|
||||
<div class="editor">
|
||||
{{editor description target="system.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
8
templates/partial-item-header.html
Normal file
8
templates/partial-item-header.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<header class="sheet-header">
|
||||
<div class="flexrow background-sheet-header">
|
||||
<img class="item-sheet-img" src="{{img}}" data-edit="img" title="{{name}}" />
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
5
templates/partial-item-nav.html
Normal file
5
templates/partial-item-nav.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="description">Description</a>
|
||||
<a class="item" data-tab="details">Details</a>
|
||||
</nav>
|
||||
33
templates/partial-item-prix.html
Normal file
33
templates/partial-item-prix.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Rareté </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.rarete"
|
||||
value="{{system.rarete}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Equipé ? </label>
|
||||
<input type="checkbox" name="system.equipped" {{checked system.equipped}} />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Quantite </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.quantite"
|
||||
value="{{system.quantite}}" data-dtype="Number" />
|
||||
</li>
|
||||
|
||||
<li class="flexrow item">
|
||||
|
||||
<label class="generic-label item-field-label-long">Prix (PA) </label>
|
||||
|
||||
<input type="text" class="numeric-input item-field-label-short" name="system.prixpo" value="{{system.prixpo}}"
|
||||
data-dtype="Number" />
|
||||
<label class="generic-label item-field-label-short">PO </label>
|
||||
|
||||
<input type="text" class="numeric-input item-field-label-short" name="system.prixca" value="{{system.prixca}}"
|
||||
data-dtype="Number" />
|
||||
<label class="generic-label item-field-label-short">PA </label>
|
||||
|
||||
<input type="text" class="numeric-input item-field-label-short" name="system.prixsc" value="{{system.prixsc}}"
|
||||
data-dtype="Number" />
|
||||
<label class="generic-label item-field-label-short">SC </label>
|
||||
</li>
|
||||
11
templates/partial-list-niveau.html
Normal file
11
templates/partial-list-niveau.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<option value="0">0</option>
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
<option value="4">4</option>
|
||||
<option value="5">5</option>
|
||||
<option value="6">6</option>
|
||||
<option value="7">7</option>
|
||||
<option value="8">8</option>
|
||||
<option value="9">9</option>
|
||||
<option value="10">10</option>
|
||||
6
templates/partial-sante-etat.html
Normal file
6
templates/partial-sante-etat.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<option value="0">Combatif</option>
|
||||
<option value="1">Eprouvé 1</option>
|
||||
<option value="2">Eprouvé 2</option>
|
||||
<option value="3">Affaibli</option>
|
||||
<option value="4">Très affaibli</option>
|
||||
<option value="5">Vaincu</option>
|
||||
8
templates/post-item.html
Normal file
8
templates/post-item.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="post-item" data-transfer="{{transfer}}">
|
||||
<h3><b>{{name}}</b></h3>
|
||||
{{#if img}}
|
||||
<img class="chat-img" src="{{img}}" title="{{name}}" />
|
||||
{{/if}}
|
||||
<h4><b>Description : </b></h4>
|
||||
<p class="card-content">{{{system.description}}}</p>
|
||||
</div>
|
||||
112
templates/roll-dialog-generic.html
Normal file
112
templates/roll-dialog-generic.html
Normal file
@@ -0,0 +1,112 @@
|
||||
<form class="skill-roll-dialog">
|
||||
<header class="roll-dialog-header">
|
||||
{{#if img}}
|
||||
<img class="actor-icon" src="{{img}}" data-edit="img" title="{{name}}" />
|
||||
{{/if}}
|
||||
<h1 class="dialog-roll-title roll-dialog-header">{{title}}</h1>
|
||||
</header>
|
||||
|
||||
<div class="flexcol">
|
||||
|
||||
<div class="flexrow">
|
||||
{{#if (eq attrKey "tochoose")}}
|
||||
<span class="roll-dialog-label">Attribut</span>
|
||||
<select class="status-small-label color-class-common" id ="attrKey" type="text" name="attrKey" value="attrKey" data-dtype="string" >
|
||||
{{#select attrKey}}
|
||||
{{#each attributs as |attrLabel attrKey|}}
|
||||
<option value="{{attrKey}}">{{attrLabel}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
{{else}}
|
||||
<span class="roll-dialog-label">{{attr.label}}</span>
|
||||
<span class="small-label roll-dialog-label">{{attr.value}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
{{#if nbAdversites}}
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Malus d'adversités </span>
|
||||
<span class="small-label roll-dialog-label">- {{nbAdversites}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if competence}}
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">{{competence.name}}</span>
|
||||
<span class="small-label roll-dialog-label">{{competence.system.niveau}}</span>
|
||||
</div>
|
||||
{{#if maitrises}}
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Utiliser une maîtrise</span>
|
||||
<select class="status-small-label color-class-common" id ="select-maitrise" type="text" name="select-maitrise" value="maitriseId" data-dtype="string" >
|
||||
{{#select maitriseId}}
|
||||
<option value="none">Aucune</option>
|
||||
{{#each maitrises as |maitrise mKey|}}
|
||||
<option value="{{maitrise.id}}">{{maitrise.name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if (count talents)}}
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Talents </span>
|
||||
<select class="flex1" name="competence-talents" id="competence-talents" data-type="String" multiple>
|
||||
{{#each talents as |talent key|}}
|
||||
<option value="{{talent._id}}">{{talent.name}}</option>
|
||||
{{/each}}
|
||||
</select>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Bonus/Malus </span>
|
||||
<select class="roll-dialog-label" id="bonus-malus-context" type="text" value="{{bonusMalusContext}}"
|
||||
data-dtype="Number">
|
||||
{{#select bonusMalusContext}}
|
||||
<option value="-4">-4</option>
|
||||
<option value="-3">-3</option>
|
||||
<option value="-2">-2</option>
|
||||
<option value="-1">-1</option>
|
||||
<option value="0">0</option>
|
||||
<option value="1">+1</option>
|
||||
<option value="2">+2</option>
|
||||
<option value="3">+3</option>
|
||||
<option value="4">+4</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
{{#if armeDefense}}
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Défense adversaire : </span>
|
||||
<span class="roll-dialog-label"><strong>{{difficulte}}</strong> </span>
|
||||
</div>
|
||||
{{else}}
|
||||
{{#if isInit}}
|
||||
|
||||
{{else}}
|
||||
<div class="flexrow">
|
||||
<span class="roll-dialog-label">Difficulté : </span>
|
||||
<select class="roll-dialog-label" id="difficulte" type="text" name="difficulte" value="{{difficulte}}"
|
||||
data-dtype="Number">
|
||||
{{#select difficulte}}
|
||||
<option value="0">Aucune/Inconnue</option>
|
||||
<option value="5">Facile (5)</option>
|
||||
<option value="10">Moyenne (10)</option>
|
||||
<option value="15">Ardue (15)</option>
|
||||
<option value="20">Hasardeuse (20)</option>
|
||||
<option value="25">Insensée (25)</option>
|
||||
<option value="30">Pure Folie (30)</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
Reference in New Issue
Block a user