Commande /voyage

Ajout de la commande /voyage pour gérer la fatigue en voyage
This commit is contained in:
2023-12-26 19:05:41 +01:00
parent 4274bce7d5
commit 3f098cab31
8 changed files with 291 additions and 9 deletions

View File

@@ -0,0 +1,23 @@
<li class="item flexrow list-item texte-dans-liste" data-actor-id="{{voyageur.actor.id}}">
<span class="flex-grow-2 flexrow">
<input type="checkbox" name="selectionner-acteur" {{#if voyageur.selected}}checked{{/if}}/>
<label>
<img class="chat-icon" src="{{voyageur.actor.img}}" data-tooltip="{{voyageur.actor.name}}" />
<span>{{voyageur.actor.name}}</span>
</label>
</span>
<span class="flex-grow-2">
<div class="flexcol ">
<label class="voyage-liste-survies">
{{#each voyageur.competencesVoyage as |comp key|}}
{{#if (array-includes ../survies key)}}
{{key}} {{comp.system.niveau}},
{{/if}}
{{/each}}
</label>
</div>
</span>
<span class="flex-grow-1">
<input type="number" name="ajustement-fatigue" class="number-x2 ajustement-fatigue" data-dtype="Number" value="{{voyageur.ajustementFatigue}}" min="-6" max="6"/>
</span>
</li>