Potions et élémentaires

This commit is contained in:
2026-05-02 08:26:28 +02:00
parent a234ba5d14
commit d6b5891519
248 changed files with 7020 additions and 350 deletions
+38
View File
@@ -12,6 +12,18 @@
<i class="{{#if isEditMode}}fas fa-eye{{else}}fas fa-edit{{/if}}"></i>
</button>
</div>
<div style="display: flex; align-items: center; gap: 0.5rem; margin-top: 0.2rem;">
<label style="font-size: 0.8em; white-space: nowrap;">{{localize "MNBL.creatureType"}}</label>
<select name="system.biodata.creatureType" style="font-size: 0.8em; width: 120px;" {{#if isPlayMode}}disabled{{/if}}>
{{selectOptions config.creatureTypeOptions selected=system.biodata.creatureType}}
</select>
{{#if (eq system.biodata.creatureType "elementaire")}}
<label style="font-size: 0.8em; white-space: nowrap;">{{localize "MNBL.elementType"}}</label>
<select name="system.biodata.elementType" style="font-size: 0.8em; width: 90px;" {{#if isPlayMode}}disabled{{/if}}>
{{selectOptions config.elementTypeOptions selected=system.biodata.elementType}}
</select>
{{/if}}
</div>
</div>
</div>
</div>
@@ -250,6 +262,32 @@
</ul>
</div>
{{/if}}
<div class="section-grid">
<h4 class="section-title">{{localize "MNBL.capacites"}}</h4>
<ul class="item-list compact-list">
<li class="item flexrow list-item items-title-bg">
<span class="item-name-label-header">{{localize "MNBL.capacites"}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a data-action="createItem" data-type="capacite" title="Ajouter une capacité"><i class="fas fa-plus"></i></a>
</div>
</li>
{{#each capacites as |capacite key|}}
<li class="item flexrow" data-item-id="{{capacite._id}}" data-item-type="capacite">
<img class="item-name-img" src="{{capacite.img}}" />
<span class="item-name-label">{{capacite.name}}</span>
<div class="item-filler">&nbsp;</div>
<div class="item-controls item-controls-fixed">
<a data-action="postItem" data-item-id="{{capacite._id}}" title="Poster dans le chat"><i class="fas fa-comment"></i></a>
<a data-action="editItem" title="Éditer"><i class="fas fa-edit"></i></a>
<a data-action="deleteItem" title="Supprimer"><i class="fas fa-trash"></i></a>
</div>
</li>
{{/each}}
</ul>
</div>
</div>
{{!-- Bio Tab --}}