forked from public/foundryvtt-reve-de-dragon
Merge v1.3 dans appel au moral
This commit is contained in:
@ -128,7 +128,7 @@
|
||||
<label class="carac-xp flexrow"/>
|
||||
{{else}}
|
||||
{{#if carac.derivee}}
|
||||
<span class="carac-label flexrow" name="data.carac.{{key}}.label">{{carac.label}}</span>
|
||||
<span class="carac-label flexrow" name="data.carac.{{key}}.label"> <a name={{key}}>{{carac.label}}</a></span>
|
||||
<label class="competence-value flexrow">{{carac.value}}</label>
|
||||
<label class="carac-xp flexrow"/>
|
||||
{{else}}
|
||||
@ -546,6 +546,7 @@
|
||||
</li>
|
||||
</ul>
|
||||
<hr>
|
||||
|
||||
{{!-- Liste de blessures --}}
|
||||
<h3 class="blessures-title">Blessures:</h3>
|
||||
<div class="flex-group-left flexcol competence-column">
|
||||
@ -650,32 +651,42 @@
|
||||
|
||||
{{!-- Connaissances Tab --}}
|
||||
<div class="tab connaissances" data-group="primary" data-tab="connaissances">
|
||||
<h3>Chants :</h3>
|
||||
<h3>Oeuvres diverses :</h3>
|
||||
<ul class="item-list alterne-list">
|
||||
{{#each data.chants as |chant id|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{chant._id}}"><span class="competence-title chant-label"><a>{{chant.name}} (niveau {{chant.data.niveau}})</a></span>
|
||||
<li class="item flexrow list-item" data-item-id="{{chant._id}}"><span>Chant</span><span class="competence-title chant-label"><a>{{chant.name}} (niveau {{chant.data.niveau}})</a></span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<h3>Danses :</h3>
|
||||
<ul class="item-list alterne-list">
|
||||
{{#each data.danses as |danse id|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{danse._id}}"><span class="competence-title danse-label"><a>{{danse.name}} (niveau {{danse.data.niveau}})</a></span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<h3>Musiques :</h3>
|
||||
<ul class="item-list alterne-list">
|
||||
{{#each data.musiques as |musique id|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{musique._id}}"><span class="competence-title musique-label"><a>{{musique.name}} (niveau {{musique.data.niveau}})</a></span>
|
||||
<li class="item flexrow list-item" data-item-id="{{musique._id}}"><span>Musique</span><span class="competence-title musique-label"><a>{{musique.name}} (niveau {{musique.data.niveau}})</a></span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
{{#each data.danses as |danse id|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{danse._id}}"><span>Danse</span><span class="competence-title danse-label"><a>{{danse.name}} (niveau {{danse.data.niveau}})</a></span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
{{#each data.oeuvres as |oeuvre id|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{oeuvre._id}}"><span>{{upperFirst oeuvre.data.competence}}</span><span class="competence-title oeuvre-label"><a>{{oeuvre.name}} (niveau {{oeuvre.data.niveau}})</a></span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
{{#each data.recettescuisine as |recette id|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{recette._id}}"><span>Recette de cuisine</span><span class="competence-title recettecuisine-label"><a>{{recette.name}} (niveau {{recette.data.niveau}})</a></span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
@ -694,17 +705,6 @@
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<h3>Recettes de Cuisine :</h3>
|
||||
<ul class="item-list alterne-list">
|
||||
{{#each data.recettescuisine as |recette id|}}
|
||||
<li class="item flexrow list-item" data-item-id="{{recette._id}}"><span class="competence-title recettecuisine-label"><a>{{recette.name}} (niveau {{recette.data.niveau}})</a></span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control item-edit" title="Edit Item"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
<h3>Recettes Alchimiques</h3>
|
||||
<ul class="item-list alterne-list">
|
||||
{{#each data.recettesAlchimiques as |recette id|}}
|
||||
@ -825,6 +825,20 @@
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
<hr>
|
||||
<div>
|
||||
<h3>Rencontres présentes:</h3>
|
||||
<ul class="item-list">
|
||||
{{#each data.rencontres as |rencontre key|}}
|
||||
<li class="item flexrow" data-item-id="{{key}}" data-attribute="{{key}}">
|
||||
<span class="case-label"><a data-id="{{key}}">{{rencontre.rencontre.name}} - {{rencontre.coord}} ({{rencontre.rencontre.date}} - {{rencontre.rencontre.heure}})</a></span>
|
||||
<div class="item-controls">
|
||||
<a class="item-control rencontre-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{{!-- Queues, Souffles, Tetes, Ombre --}}
|
||||
<hr>
|
||||
|
@ -3,3 +3,9 @@
|
||||
<option value="debordement">Débordement</option>
|
||||
<option value="reserve_extensible">Réserve extensible</option>
|
||||
<option value="maitrisee">Case humide maitrisée (Quête des Eaux)</option>
|
||||
<option value="fermeture">Fermeture cité</option>
|
||||
<option value="pont-impraticable">Pont impraticable</option>
|
||||
<option value="desorientation">Désoriantation</option>
|
||||
<option value="periple">Periple</option>
|
||||
<option value="pelerinage">Pèlerinage</option>
|
||||
<option value="present-cites">Présents des cités</option>
|
||||
|
@ -37,19 +37,19 @@
|
||||
{{else}}
|
||||
{{#each armes as |arme key|}}
|
||||
<a class='chat-card-button' id='parer-button' data-attackerId='{{../attackerId}}' data-defenderTokenId='{{../defenderTokenId}}' data-armeid='{{arme._id }}'>
|
||||
Parer avec {{arme.name}} à {{../diffLibre }}
|
||||
Parer avec {{arme.name}} à {{../diffLibre }} (Utilisation : {{arme.data.nbUsage}})
|
||||
</a>
|
||||
<br>
|
||||
{{/each}}
|
||||
{{#if mainsNues}}
|
||||
<a class='chat-card-button' id='parer-button' data-attackerId='{{attackerId}}' data-defenderTokenId='{{defenderTokenId}}'>
|
||||
Parer à mains nues à {{diffLibre}}
|
||||
Parer à mains nues à {{diffLibre}} (Utilisation : {{arme.data.nbUsage}})
|
||||
</a>
|
||||
<br>
|
||||
{{/if}}
|
||||
{{#if (ne attaqueCategorie 'tir')}}
|
||||
<a class='chat-card-button' id='esquiver-button' data-attackerId='{{attackerId}}' data-defenderTokenId='{{defenderTokenId}}'>
|
||||
Esquiver à {{diffLibre}}
|
||||
Esquiver à {{diffLibre}} (Utilisation : {{esquiveUsage}})
|
||||
</a>
|
||||
<br>
|
||||
{{/if}}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_chant.png" alt="chant" />
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{oeuvre.data.competence}}" />
|
||||
<h4>
|
||||
{{alias}} tente de chanter la chanson : {{oeuvre.name}} (niveau {{oeuvre.data.niveau}})
|
||||
</h4>
|
||||
@ -11,3 +11,18 @@
|
||||
{{alias}} est peu inspiré(e) et son interprétation a une qualité de {{qualiteFinale}}.
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if oeuvre.data.description}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
{{{oeuvre.data.description}}}
|
||||
{{#if oeuvre.data.reference}}
|
||||
<p class="poesie-reference">{{oeuvre.data.reference}}</p>
|
||||
{{/if}}
|
||||
</span>
|
||||
{{else if oeuvre.data.reference}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
<p class="poesie-reference">{{oeuvre.data.reference}}</p>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
||||
|
@ -1,13 +0,0 @@
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_cuisine.webp" alt="cuisine" />
|
||||
<h4>
|
||||
{{alias}} tente de cuisiner la recette : {{oeuvre.name}} (niveau {{oeuvre.data.niveau}})
|
||||
</h4>
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
<hr>
|
||||
<div>
|
||||
{{#if rolled.isSuccess}}
|
||||
{{alias}} réussit sa recette, avec un plat de {{qualiteFinale}} pour {{oeuvre.data.sust}} Points de Sustentation.
|
||||
{{else}}
|
||||
{{alias}} fait un pière cuisinier(e), et obtient une qualité de {{qualiteFinale}}. Selon la décision du MJ, le plat peut fournir {{oeuvre.data.sust}} Points de Sustentation
|
||||
{{/if}}
|
||||
</div>
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_danse.webp" alt="danse" />
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{oeuvre.data.competence}}" />
|
||||
<h4>
|
||||
{{alias}} tente de danser : {{oeuvre.name}} (niveau {{oeuvre.data.niveau}})
|
||||
</h4>
|
||||
@ -11,3 +11,18 @@
|
||||
{{alias}} est peu inspiré(e) et son interprétation a une qualité de {{qualiteFinale}}.
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if oeuvre.data.description}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
{{{oeuvre.data.description}}}
|
||||
{{#if oeuvre.data.reference}}
|
||||
<p class="poesie-reference">{{oeuvre.data.reference}}</p>
|
||||
{{/if}}
|
||||
</span>
|
||||
{{else if oeuvre.data.reference}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
<p class="poesie-reference">{{oeuvre.data.reference}}</p>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_jeu.webp" alt="jeu" />
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{oeuvre.data.competence}}" />
|
||||
<h4>
|
||||
{{alias}} joue à : {{oeuvre.name}}
|
||||
</h4>
|
||||
@ -11,3 +11,18 @@
|
||||
{{alias}} a perdu ...
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if oeuvre.data.description}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
{{{oeuvre.data.description}}}
|
||||
{{#if oeuvre.data.reference}}
|
||||
<p class="poesie-reference">{{oeuvre.data.reference}}</p>
|
||||
{{/if}}
|
||||
</span>
|
||||
{{else if oeuvre.data.reference}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
<p class="poesie-reference">{{oeuvre.data.reference}}</p>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
||||
|
30
templates/chat-resultat-maitrise-tmr.html
Normal file
30
templates/chat-resultat-maitrise-tmr.html
Normal file
@ -0,0 +1,30 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{competence.name}}"/>
|
||||
<h4 data-categorie="tmr" data-actor-id="{{actor._id}}">
|
||||
{{alias}} tente de {{maitrise.verbe}} {{le tmr.genre}} {{tmr.label}} ({{tmr.coord}})
|
||||
</h4>
|
||||
{{#if previous}}
|
||||
{{#with previous}}
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
<br><strong>Double résistance du fleuve!</strong><br>
|
||||
{{/with}}
|
||||
{{/if}}
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
<hr>
|
||||
<span>
|
||||
{{#if rolled.isSuccess}}
|
||||
Vous parvenez à {{maitrise.verbe}} {{le tmr.genre}} {{tmr.label}} !
|
||||
{{else}}
|
||||
Vous ne parvenez pas à {{maitrise.verbe}} {{le tmr.genre}} {{tmr.label}}.
|
||||
Vous <strong>quittez les Terres Médianes</strong> !
|
||||
{{#if souffle}}
|
||||
<br>De plus, votre échec total vous fait subir un Souffle de Dragon : {{souffle.name}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</span>
|
||||
{{#if poesie}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
{{{poesie.extrait}}}
|
||||
<p class="poesie-reference">{{poesie.reference}}</p>
|
||||
</span>
|
||||
{{/if}}
|
@ -1,4 +1,4 @@
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_musique.webp" alt="musique" />
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{oeuvre.data.competence}}" />
|
||||
<h4>
|
||||
{{alias}} tente de jouer le morceau : {{oeuvre.name}} (niveau {{oeuvre.data.niveau}})
|
||||
</h4>
|
||||
@ -11,3 +11,18 @@
|
||||
{{alias}} est peu inspiré(e) et son interprétation a une qualité de {{qualiteFinale}}.
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if oeuvre.data.description}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
{{{oeuvre.data.description}}}
|
||||
{{#if oeuvre.data.reference}}
|
||||
<p class="poesie-reference">{{oeuvre.data.reference}}</p>
|
||||
{{/if}}
|
||||
</span>
|
||||
{{else if oeuvre.data.reference}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
<p class="poesie-reference">{{oeuvre.data.reference}}</p>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
||||
|
29
templates/chat-resultat-oeuvre.html
Normal file
29
templates/chat-resultat-oeuvre.html
Normal file
@ -0,0 +1,29 @@
|
||||
<h4><img class="chat-icon" src="{{competence.img}}" alt="{{oeuvre.data.competence}}" />
|
||||
|
||||
{{alias}} tente d'interpréter {{oeuvre.name}} (niveau {{oeuvre.data.niveau}})
|
||||
</h4>
|
||||
<br>{{upperFirst oeuvre.data.default_carac}} / {{oeuvre.data.competence}}
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
<hr>
|
||||
<div>
|
||||
{{#if rolled.isSuccess}}
|
||||
{{alias}} réussi son interprétation avec une qualité de {{qualiteFinale}} .
|
||||
{{else}}
|
||||
{{alias}} est peu inspiré(e) et son interprétation a une qualité de {{qualiteFinale}}.
|
||||
{{/if}}
|
||||
</div>
|
||||
{{#if oeuvre.data.description}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
{{{oeuvre.data.description}}}
|
||||
{{#if oeuvre.data.reference}}
|
||||
<p class="poesie-reference">{{oeuvre.data.reference}}</p>
|
||||
{{/if}}
|
||||
</span>
|
||||
{{else if oeuvre.data.reference}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
<p class="poesie-reference">{{oeuvre.data.reference}}</p>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
34
templates/chat-resultat-recettecuisine.html
Normal file
34
templates/chat-resultat-recettecuisine.html
Normal file
@ -0,0 +1,34 @@
|
||||
<img class="chat-icon" src="{{competence.img}}" alt="{{oeuvre.data.competence}}" />
|
||||
<h4>
|
||||
{{alias}} tente de cuisiner la recette : {{oeuvre.name}} (niveau {{oeuvre.data.niveau}})
|
||||
</h4>
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
<hr>
|
||||
|
||||
{{#if rolled.isSuccess}}
|
||||
{{alias}} réussit sa recette, avec un plat de {{qualiteFinale}} pour {{oeuvre.data.sust}} Points de Sustentation.
|
||||
{{else}}
|
||||
{{alias}} fait un pière cuisinier(e), et obtient {{#if (lt qualiteFinale 0)}}un plat à l'exotisme certain{{else}}un plat de qualité {{qualiteFinale}}{{/if}}.
|
||||
Selon la décision du MJ, le plat peut fournir {{oeuvre.data.sust}} Points de Sustentation
|
||||
{{/if}}
|
||||
|
||||
{{#if (lt exotismeFinal 0)}}
|
||||
<br>Au vu de l'exotisme du plat, les convives devront réussir un jet de Volonté / Cuisine à {{exotismeFinal}}.
|
||||
En cas d'échec, ils peuvent se forcer pour faire plaisir au Maître Queux, mais devront faire un jet de moral Malheureux.
|
||||
{{/if}}
|
||||
|
||||
{{#if oeuvre.data.description}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
{{{oeuvre.data.description}}}
|
||||
{{#if oeuvre.data.reference}}
|
||||
<p class="poesie-reference">{{oeuvre.data.reference}}</p>
|
||||
{{/if}}
|
||||
</span>
|
||||
{{else if oeuvre.data.reference}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
<p class="poesie-reference">{{oeuvre.data.reference}}</p>
|
||||
</span>
|
||||
{{/if}}
|
||||
|
28
templates/chat-resultat-reve-de-dragon.html
Normal file
28
templates/chat-resultat-reve-de-dragon.html
Normal file
@ -0,0 +1,28 @@
|
||||
<img class="chat-icon" src="systems/foundryvtt-reve-de-dragon/icons/competence_legendes.png" alt="Rêve de Dragon"/>
|
||||
<h4 data-categorie="tmr" data-actor-id="{{actor._id}}">
|
||||
{{alias}} tente de maîtriser un Rêve de Dragon!
|
||||
</h4>
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/chat-infojet.html"}}
|
||||
<hr>
|
||||
<span>
|
||||
{{#if rolled.isSuccess}}
|
||||
Vous maîtrisez le Rêve de Dragon! Vous gagnez ses {{rencontre.force}} points de Rêve.
|
||||
{{#if tete}}
|
||||
<br>Vous devez <strong>demander au Gardien des Rêves</strong> de faire un tirage sur une des
|
||||
tables des têtes de dragon (Haut-rêvant ou Tous personnages).
|
||||
{{/if}}
|
||||
{{else}}
|
||||
Vous ne parvenez pas à vaincre le Rêve de Dragon, et prennez un violent coup de queue.
|
||||
Vous subissez {{#if rolled.isETotal}}deux queues{{else}}une queue{{/if}} de dragon!
|
||||
{{#each queues as | queue key|}}
|
||||
<br>{{queue.name}}: {{{queue.data.data.description}}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
</span>
|
||||
{{#if poesie}}
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
{{{poesie.extrait}}}
|
||||
<p class="poesie-reference">{{poesie.reference}}</p>
|
||||
</span>
|
||||
{{/if}}
|
@ -4,7 +4,7 @@
|
||||
le {{#if selectedSort.data.isrituel}}rituel{{else}}sort{{/if}}
|
||||
{{selectedSort.name}}
|
||||
</h4>
|
||||
<div>Pour {{selectedSort.data.ptreve_reel}} point{{~#if (gt selectedSort.data.ptreve_reel 1)}}s{{/if}} de rêve en {{coordLabel}} ({{coord}}).
|
||||
<div>Pour {{selectedSort.data.ptreve_reel}} point{{~#if (gt selectedSort.data.ptreve_reel 1)}}s{{/if}} de rêve en {{tmr.label}} ({{tmr.coord}}).
|
||||
{{#if show.reveInsuffisant}}
|
||||
<span>Pas assez de rêve!</span>
|
||||
{{/if}}
|
||||
@ -22,4 +22,8 @@
|
||||
{{else}}{{depenseReve}} points de rêve ont été dépensés
|
||||
{{~/if}}.
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
<span class="poesie-extrait">
|
||||
{{{selectedSort.data.description}}}
|
||||
</span>
|
||||
|
@ -44,12 +44,20 @@
|
||||
<label for="categorie">Dégats:</label><label id="dmg-arme-actor"></label>
|
||||
<label></label>
|
||||
{{else}}
|
||||
<span class="tooltip">
|
||||
<label for="categorie">Tactique:</label>
|
||||
<select name="tactique-combat" id="tactique-combat" data-dtype="String" {{#unless use.conditions}}disabled{{/unless}}>
|
||||
<option value="Attaque normale">Attaque normale</option>
|
||||
<option value="charge">Charge</option>
|
||||
<option value="feinte">Feinte</option>
|
||||
</select>
|
||||
<select name="tactique-combat" id="tactique-combat" data-dtype="String" {{#unless use.conditions}}disabled{{/unless}}>
|
||||
<option value="Attaque normale">Attaque normale</option>
|
||||
<option value="charge">Charge</option>
|
||||
<option value="feinte">Feinte</option>
|
||||
</select>
|
||||
<div class="tooltiptext ttt-ajustements">
|
||||
<div>
|
||||
<strong>Charge</strong> : Les longueurs d'armes n'interviennent pas dans la charge, il faut gérer une initiative aléatoire dans ce cas.
|
||||
<br><strong>Feinte</strong> : Vous devez avoir l'initative sur votre adversaire et y renoncer.
|
||||
</div>
|
||||
</div>
|
||||
</span>
|
||||
<label for="categorie">Dégats:</label><label id="dmg-arme-actor"></label>
|
||||
<label>Non Mortel</label>
|
||||
<input class="attribute-value" type="checkbox" id="coupsNonMortels" name="coupsNonMortels" {{#if coupsNonMortels}}checked{{/if}}/>
|
||||
|
@ -1,23 +1,21 @@
|
||||
<form class="dialog-roll-sort">
|
||||
<div class="form-group">
|
||||
<ul>
|
||||
<li><label for="competence-label">Jouer à : {{jeu.name}}</label></li>
|
||||
<li><label for="competence-label">Type : {{jeu.data.type}}</label></li>
|
||||
<li><label for="competence-label">Base : {{jeu.data.base}}</label></li>
|
||||
<li><label for="competence-label">Carac/Compétence : {{jeu.data.caraccomp}}</label></li>
|
||||
<li><label for="competence-label">Jouer à : {{oeuvre.name}}</label></li>
|
||||
<li><label for="competence-label">Type : {{oeuvre.data.type}}</label></li>
|
||||
<li><label for="competence-label">Base : {{oeuvre.data.base}}</label></li>
|
||||
<li><label for="competence-label">Carac/Compétence : {{oeuvre.data.caraccomp}}</label></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<label for="categorie">Caractéristique</label>
|
||||
<select name="carac" id="carac" class="select-diff" data-dtype="String">
|
||||
<div class="form-group">
|
||||
<label for="categorie">Caractéristique</label>
|
||||
<select name="carac" id="carac" class="select-diff" data-dtype="String">
|
||||
{{#select carac}}
|
||||
{{#each carac as |caracitem key|}}
|
||||
<option value={{key}}>{{caracitem.label}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
|
||||
<div class="form-group">
|
||||
</select>
|
||||
<label for="categorie">conditions</label>
|
||||
<select name="diffConditions" id="diffConditions" data-dtype="number">
|
||||
{{#select diffConditions}}
|
||||
|
28
templates/dialog-roll-maitrise-tmr.html
Normal file
28
templates/dialog-roll-maitrise-tmr.html
Normal file
@ -0,0 +1,28 @@
|
||||
<form class="skill-roll-dialog">
|
||||
<div class="form-group">
|
||||
<label for="categorie">{{tmr.label}} ({{tmr.coord}})</label>
|
||||
<label for="categorie">Rêve actuel à {{diffLibre}}</label>
|
||||
<span>
|
||||
|
||||
<label for="categorie">Conditions</label>
|
||||
<select name="diffConditions" id="diffConditions" data-dtype="number">
|
||||
{{#select diffConditions}}
|
||||
{{#each ajustementsConditions as |key|}}
|
||||
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</span>
|
||||
</div>
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/dialog-roll-surenc.html"}}
|
||||
<div id="tableAjustements">
|
||||
</div>
|
||||
<div id="tableResolution">
|
||||
</div>
|
||||
<div id="tableProbaReussite">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
</script>
|
||||
|
37
templates/dialog-roll-oeuvre.html
Normal file
37
templates/dialog-roll-oeuvre.html
Normal file
@ -0,0 +1,37 @@
|
||||
<form class="dialog-roll-sort">
|
||||
<div class="form-group">
|
||||
<ul>
|
||||
<li><label for="categorie">Interpréter une Oeuvre : {{oeuvre.name}}</label></li>
|
||||
<li><label for="categorie">Jet : {{upperFirst oeuvre.data.default_carac}} / {{competence.name}}</label></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="categorie">conditions</label>
|
||||
<select name="diffConditions" id="diffConditions" data-dtype="number">
|
||||
{{#select diffConditions}}
|
||||
{{#each ajustementsConditions as |key|}}
|
||||
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
<label for="categorie">Difficulté </label>
|
||||
<select name="diffLibre" id="diffLibre" data-dtype="number">
|
||||
{{#select diffLibre}}
|
||||
{{#each difficultesLibres as |key|}}
|
||||
<option value={{key}}>{{numberFormat key decimals=0 sign=true}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div id="tableAjustements">
|
||||
</div>
|
||||
<div id="tableResolution">
|
||||
</div>
|
||||
<div id="tableProbaReussite">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
</script>
|
@ -1,8 +1,10 @@
|
||||
<form class="dialog-roll-sort">
|
||||
|
||||
<div class="form-group">
|
||||
<ul>
|
||||
<li><label for="categorie">Cuisiner : {{cuisine.name}}</label></li>
|
||||
<li><label for="categorie">Cuisiner : {{oeuvre.name}}</label></li>
|
||||
<li><label for="categorie">Jet : ODORAT-GOUT / {{competence.name}}</label></li>
|
||||
<li><label for="categorie">Exotisme : {{oeuvre.data.exotisme}}</label></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
12
templates/dialog-roll-reve-de-dragon.html
Normal file
12
templates/dialog-roll-reve-de-dragon.html
Normal file
@ -0,0 +1,12 @@
|
||||
<form class="skill-roll-dialog">
|
||||
<h2 class="compdialog">Rêve de Dragon de force {{rencontre.force}}!</h2>
|
||||
<div class="form-group">
|
||||
</div>
|
||||
<div id="tableAjustements"></div>
|
||||
<div id="tableResolution"></div>
|
||||
<div id="tableProbaReussite"></div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
</script>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<form class="dialog-roll-sort">
|
||||
<div class="form-group">
|
||||
<label for="categorie">Rêve : <label>{{numberFormat selectedCarac.value decimals=0 sign=false}}</label></label>
|
||||
<label for="categorie">TMR : {{coord}} - {{coordLabel}}</label>
|
||||
<label for="categorie">TMR : {{tmr.label}} ({{tmr.coord}})</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
|
@ -1,4 +1,4 @@
|
||||
<option value="hast">Armes d'Hast</option>
|
||||
<option value="hast">Armes Hast</option>
|
||||
<option value="lance">Lance</option>
|
||||
<option value="baton">Bâton</option>
|
||||
<option value="doubledragonne">Double Dragonne</option>
|
||||
|
@ -12,6 +12,10 @@
|
||||
<label class="alchimie-title" for="xp">Niveau</label>
|
||||
<input class="attribute-value" type="text" name="data.niveau" value="{{data.niveau}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Référence / Auteur</label>
|
||||
<input class="attribute-value" type="text" name="data.reference" value="{{data.reference}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label class="alchimie-title">Description : </label></span>
|
||||
<div class="form-group editor">
|
||||
|
@ -28,7 +28,7 @@
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="xp">XP </label>
|
||||
<input class="attribute-value" type="text" name="data.xp" value="{{data.xp}}" data-dtype="Number"/>
|
||||
<input class="attribute-value" id="sheet-competence-xp" type="text" name="data.xp" value="{{data.xp}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="base">Niveau de base </label>
|
||||
|
@ -29,6 +29,10 @@
|
||||
<label class="alchimie-title" for="xp">Niveau</label>
|
||||
<input class="attribute-value" type="text" name="data.niveau" value="{{data.niveau}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Référence / Auteur</label>
|
||||
<input class="attribute-value" type="text" name="data.reference" value="{{data.reference}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label class="alchimie-title">Description : </label></span>
|
||||
<div class="form-group editor">
|
||||
|
@ -27,6 +27,10 @@
|
||||
<label class="alchimie-title" for="xp">Caractéristique/Compétence</label>
|
||||
<input class="attribute-value" type="text" name="data.caraccomp" value="{{data.caraccomp}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Référence / Auteur</label>
|
||||
<input class="attribute-value" type="text" name="data.reference" value="{{data.reference}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label class="alchimie-title">Description : </label></span>
|
||||
<div class="form-group editor">
|
||||
|
@ -50,20 +50,7 @@
|
||||
<label for="xp">Case TMR</label>
|
||||
<select name="data.tmr" id="tmr" data-dtype="String">
|
||||
{{#select item.data.tmr}}
|
||||
<option value="cite">Cité</option>
|
||||
<option value="collines">Collines</option>
|
||||
<option value="desert">Désert</option>
|
||||
<option value="desolation">Désolation</option>
|
||||
<option value="fleuve">Fleuve</option>
|
||||
<option value="foret">Forêt</option>
|
||||
<option value="gouffre">Gouffre</option>
|
||||
<option value="lac">Lac</option>
|
||||
<option value="marais">Marais</option>
|
||||
<option value="monts">Monts</option>
|
||||
<option value="necropole">Nécropole</option>
|
||||
<option value="plaines">Plaines</option>
|
||||
<option value="pont">Pont</option>
|
||||
<option value="sanctuaire">Sanctuaire</option>
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/sort-tmr.html"}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
@ -12,6 +12,10 @@
|
||||
<label class="alchimie-title" for="xp">Niveau</label>
|
||||
<input class="attribute-value" type="text" name="data.niveau" value="{{data.niveau}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Référence / Auteur</label>
|
||||
<input class="attribute-value" type="text" name="data.reference" value="{{data.reference}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label class="alchimie-title">Description : </label></span>
|
||||
<div class="form-group editor">
|
||||
|
45
templates/item-oeuvre-sheet.html
Normal file
45
templates/item-oeuvre-sheet.html
Normal file
@ -0,0 +1,45 @@
|
||||
<form class="{{cssClass}}" autocomplete="off">
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{item.img}}" data-edit="img" title="{{item.name}}"/>
|
||||
<div class="header-fields">
|
||||
<h1 class="charname"><input name="name" type="text" value="{{item.name}}" placeholder="Name"/></h1>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
<div class="form-group">
|
||||
<label>Caractéristique</label>
|
||||
<select name="data.default_carac" id="default_carac" data-dtype="String">
|
||||
{{#select item.data.default_carac}}
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/competence-carac-defaut.html"}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Compétence</label>
|
||||
<select name="data.competence" id="competenceselect" data-dtype="String">
|
||||
{{#select item.data.competence}}
|
||||
{{#each competences as |competence key|}}
|
||||
<option value="{{competence.name}}">{{competence.name}}</option>
|
||||
{{/each}}
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Référence / Auteur</label>
|
||||
<input class="attribute-value" type="text" name="data.reference" value="{{data.reference}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Niveau</label>
|
||||
<input class="attribute-value" type="text" name="data.niveau" value="{{data.niveau}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label>Description : </label></span>
|
||||
<div class="form-group editor">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</form>
|
@ -9,25 +9,33 @@
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
<div class="form-group">
|
||||
<label class="alchimie-title" for="xp">Niveau</label>
|
||||
<label>Niveau</label>
|
||||
<input class="attribute-value" type="text" name="data.niveau" value="{{data.niveau}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="alchimie-title" for="xp">Durée</label>
|
||||
<label>Durée</label>
|
||||
<input class="attribute-value" type="text" name="data.duree" value="{{data.duree}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="alchimie-title" for="xp">Sust</label>
|
||||
<label>Sust</label>
|
||||
<input class="attribute-value" type="text" name="data.sust" value="{{data.sust}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Exotisme</label>
|
||||
<input class="attribute-value" type="text" name="data.exotisme" value="{{data.exotisme}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label class="alchimie-title">Ingrédients : </label></span>
|
||||
<span><label>Ingrédients : </label></span>
|
||||
<div class="form-group editor">
|
||||
{{editor content=data.ingredients target="data.ingredients" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Référence / Auteur</label>
|
||||
<input class="attribute-value" type="text" name="data.reference" value="{{data.reference}}" data-dtype="String"/>
|
||||
</div>
|
||||
<div class="flexcol">
|
||||
<span><label class="alchimie-title">Description : </label></span>
|
||||
<span><label>Description : </label></span>
|
||||
<div class="form-group editor">
|
||||
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
@ -21,6 +21,7 @@
|
||||
<select name="data.caseTMR" id="caseTMR" data-dtype="String">
|
||||
{{#select item.data.caseTMR}}
|
||||
{{>"systems/foundryvtt-reve-de-dragon/templates/sort-tmr.html"}}
|
||||
<option value="special">Case spéciale TMR (saisie ci-dessous)</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
</div>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<option value="collines">Collines</option>
|
||||
<option value="desert">Désert</option>
|
||||
<option value="desolation">Désolation</option>
|
||||
<option value="fleuve">Fleuve</option>
|
||||
<option value="fleuve">Fleuve de l'Oubli</option>
|
||||
<option value="foret">Forêt</option>
|
||||
<option value="gouffre">Gouffre</option>
|
||||
<option value="lac">Lac</option>
|
||||
@ -12,4 +12,4 @@
|
||||
<option value="plaines">Plaines</option>
|
||||
<option value="pont">Pont</option>
|
||||
<option value="sanctuaire">Sanctuaire</option>
|
||||
<option value="special">Case spéciale TMR (saisie ci-dessous)</option>
|
||||
|
||||
|
Reference in New Issue
Block a user