2022-09-26 03:36:18 +02:00
|
|
|
{{#if sorts.length}}
|
|
|
|
<h3>Sorts</h3>
|
|
|
|
<ul class="item-list alterne-list">
|
2023-05-28 22:00:04 +02:00
|
|
|
{{#each (trier sorts) as |sort key|}}
|
2024-12-11 23:29:01 +01:00
|
|
|
<li class="item list-item flexrow" data-item-id="{{sort._id}}" data-attribute="{{key}}" data-tooltip="{{#if sort.system.isrituel}}Rituel{{else}}Sort{{/if}}: {{sort.name}}">
|
2023-12-04 01:21:05 +01:00
|
|
|
<img class="sheet-competence-img" src="{{sort.img}}"/>
|
2024-11-29 23:32:21 +01:00
|
|
|
<span class="flex-shrink">{{itemSort-shortDraconic sort.system.draconic}}</span>
|
2024-12-10 21:10:36 +01:00
|
|
|
<span class="item-edit flex-grow-3">{{sort.name}}
|
2024-12-11 23:29:01 +01:00
|
|
|
{{#if sort.system.isrituel}}<i class="fa-solid fa-book-sparkles"></i>{{/if}}
|
|
|
|
{{#if sort.system.coutseuil}}
|
|
|
|
{{#repeat sort.system.coutseuil}}<i class="fa-solid fa-star-sharp" data-tooltip="coût de seuil: {{sort.system.coutseuil}}"></i>{{/repeat}}
|
|
|
|
{{/if}}
|
2024-12-10 21:10:36 +01:00
|
|
|
</span>
|
2024-11-29 23:32:21 +01:00
|
|
|
<span class="flex-grow-2">
|
|
|
|
{{#if sort.system.caseTMRspeciale}}{{sort.system.caseTMRspeciale}}{{else}}{{upperFirst sort.system.caseTMR}}{{/if}}
|
2024-12-10 21:10:36 +01:00
|
|
|
</span>
|
2024-11-29 23:32:21 +01:00
|
|
|
<span class="flex-grow-1">R{{itemSort-spaceIfText sort.system.difficulte}} r{{itemSort-spaceIfText sort.system.ptreve}}</span>
|
2025-01-15 19:13:32 +01:00
|
|
|
{{>'systems/foundryvtt-reve-de-dragon/templates/actor/item-action-controls.hbs' item=sort options=@root.options}}
|
2022-09-26 03:36:18 +02:00
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
{{/if}}
|