ALl features OK, excetp creatures sub-type, WIP3
This commit is contained in:
+92
-38
@@ -73,7 +73,7 @@
|
||||
|
||||
{{!-- VIGUEUR --}}
|
||||
<div class="stat-card card-vigueur">
|
||||
<div class="stat-card-title">♥ Vigueur <span class="stat-sub">({{system.sante.vigueur}})</span></div>
|
||||
<div class="stat-card-title">♥ Vigueur <span class="stat-sub">({{or system.sante.vigueur 0}})</span></div>
|
||||
<div class="stat-card-content">
|
||||
<div class="stat-field">
|
||||
<label>État</label>
|
||||
@@ -135,7 +135,6 @@
|
||||
<a class="item" data-tab="sorcellerie">{{localize "SORCELLERIE.tab"}}</a>
|
||||
<a class="item" data-tab="combat">Combat</a>
|
||||
<a class="item" data-tab="equipement">{{localize "MNBL.equipment"}}</a>
|
||||
<a class="item" data-tab="effects">Effets</a>
|
||||
<a class="item" data-tab="biodata">Bio&Notes</a>
|
||||
</nav>
|
||||
<hr>
|
||||
@@ -244,6 +243,9 @@
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- Active Effects Section -->
|
||||
{{> systems/fvtt-mournblade-cyd-2-0/templates/partial-active-effects.hbs}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -492,38 +494,96 @@
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<h3><label class="items-title-text">{{localize "SORCELLERIE.creaturesinvoquees"}}</label></h3>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor system.sorcellerie.creaturesinvoquees target="system.sorcellerie.creaturesinvoquees" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<h3><label class="items-title-text">{{localize "SORCELLERIE.demonslies"}}</label></h3>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor system.sorcellerie.demonslies target="system.sorcellerie.demonslies" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<h3><label class="items-title-text">{{localize "SORCELLERIE.enchantements"}}</label></h3>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor system.sorcellerie.enchantements target="system.sorcellerie.enchantements" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
<h3><label class="items-title-text">{{localize "SORCELLERIE.invocationsencours"}}</label></h3>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor system.sorcellerie.invocationsencours target="system.sorcellerie.invocationsencours" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
<ul class="item-list alternate-list">
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">{{localize "SORCELLERIE.coutPouvoirInvocations"}} : </label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.sorcellerie.coutPouvoirInvocations"
|
||||
value="{{system.sorcellerie.coutPouvoirInvocations}}" data-dtype="Number" />
|
||||
<li class="item flexrow list-item items-title-bg">
|
||||
<span class="item-name-label-header">
|
||||
<h3><label class="items-title-text">{{localize "SORCELLERIE.creaturesinvoquees"}}</label></h3>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
</li>
|
||||
{{#each creaturesInvoqueesActors as |creature key|}}
|
||||
<li class="item flexrow" data-actor-id="{{creature.id}}" data-actor-uuid="{{creature.uuid}}">
|
||||
<img class="item-name-img" src="{{creature.img}}" />
|
||||
<span class="item-name-label competence-name"><a class="linked-actor-name" data-actor-uuid="{{creature.uuid}}">{{creature.name}}</a></span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control" data-action="removeLinkedActor" data-field="creaturesinvoquees" data-uuid="{{creature.uuid}}" title="Retirer"><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">{{localize "SORCELLERIE.demonslies"}}</label></h3>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
</li>
|
||||
{{#each demonsLiesActors as |demon key|}}
|
||||
<li class="item flexrow" data-actor-id="{{demon.id}}" data-actor-uuid="{{demon.uuid}}">
|
||||
<img class="item-name-img" src="{{demon.img}}" />
|
||||
<span class="item-name-label competence-name"><a class="linked-actor-name" data-actor-uuid="{{demon.uuid}}">{{demon.name}}</a></span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control" data-action="removeLinkedActor" data-field="demonslies" data-uuid="{{demon.uuid}}" title="Retirer"><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">{{localize "SORCELLERIE.enchantements"}}</label></h3>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
</li>
|
||||
{{#each enchantementsActors as |automata key|}}
|
||||
<li class="item flexrow" data-actor-id="{{automata.id}}" data-actor-uuid="{{automata.uuid}}">
|
||||
<img class="item-name-img" src="{{automata.img}}" />
|
||||
<span class="item-name-label competence-name"><a class="linked-actor-name" data-actor-uuid="{{automata.uuid}}">{{automata.name}}</a></span>
|
||||
<div class="item-filler"> </div>
|
||||
<div class="item-controls item-controls-fixed">
|
||||
<a class="item-control" data-action="removeLinkedActor" data-field="enchantements" data-uuid="{{automata.uuid}}" title="Retirer"><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">{{localize "SORCELLERIE.invocationsencours"}}</label></h3>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="editor">
|
||||
{{formInput systemFields.sorcellerie.fields.invocationsencours enriched=enrichedInvocationsEnCours value=system.sorcellerie.invocationsencours name="system.sorcellerie.invocationsencours" toggled=true}}
|
||||
</div>
|
||||
</div>
|
||||
</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">{{localize "SORCELLERIE.coutPouvoirInvocations"}}</label></h3>
|
||||
</span>
|
||||
<div class="item-filler"> </div>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="stat-field">
|
||||
<div class="item-filler"> </div>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" name="system.sorcellerie.coutPouvoirInvocations"
|
||||
value="{{system.sorcellerie.coutPouvoirInvocations}}" data-dtype="Number" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -747,17 +807,11 @@
|
||||
|
||||
</div>
|
||||
|
||||
{{!-- Effects Tab --}}
|
||||
<div class="tab effects" data-group="primary" data-tab="effects">
|
||||
{{> systems/fvtt-mournblade-cyd-2-0/templates/partial-active-effects.hbs}}
|
||||
</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|}}
|
||||
{{#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>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
{{!-- VIGUEUR --}}
|
||||
<div class="stat-card card-vigueur">
|
||||
<div class="stat-card-title">♥ Vigueur <span class="stat-sub">({{system.sante.vigueur}})</span></div>
|
||||
<div class="stat-card-title">♥ Vigueur <span class="stat-sub">({{or system.sante.vigueur 0}})</span></div>
|
||||
<div class="stat-card-content">
|
||||
<div class="stat-field">
|
||||
<label>État</label>
|
||||
@@ -43,7 +43,7 @@
|
||||
</div>
|
||||
<div class="stat-field">
|
||||
<label>Seuil de Vigueur</label>
|
||||
<input type="text" name="system.sante.vigueur" value="{{system.sante.vigueur}}" data-dtype="Number" />
|
||||
<span>{{or system.sante.vigueur 0}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -98,7 +98,6 @@
|
||||
<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="effects">Effets</a>
|
||||
<a class="item" data-tab="biodata">Bio&Notes</a>
|
||||
</nav>
|
||||
<hr>
|
||||
@@ -139,7 +138,7 @@
|
||||
<li class="item flexrow">
|
||||
<label class="label-name item-field-label-medium">Vigueur (seuil)</label>
|
||||
<input type="text" class="padd-right numeric-input item-field-label-short" data-dtype="Number"
|
||||
name="system.sante.vigueur" value="{{system.sante.vigueur}}">
|
||||
name="system.sante.vigueur" value="{{or system.sante.vigueur 0}}" placeholder="0" required>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -250,6 +249,9 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- Active Effects Section -->
|
||||
{{> systems/fvtt-mournblade-cyd-2-0/templates/partial-active-effects.hbs}}
|
||||
</div>
|
||||
|
||||
{{!-- Compétences Tab --}}
|
||||
@@ -427,11 +429,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{!-- Effects Tab --}}
|
||||
<div class="tab effects" data-group="primary" data-tab="effects">
|
||||
{{> systems/fvtt-mournblade-cyd-2-0/templates/partial-active-effects.hbs}}
|
||||
</div>
|
||||
|
||||
{{!-- Bio&Notes Tab --}}
|
||||
<div class="tab biodata" data-group="primary" data-tab="biodata">
|
||||
<div class="sheet-box color-bg-archetype">
|
||||
|
||||
Reference in New Issue
Block a user