2022-10-04 01:58:49 +02:00
|
|
|
<h4>Equipement</h4>
|
|
|
|
<span class="item-name">
|
2023-01-28 16:46:17 +01:00
|
|
|
{{#if options.isOwned}}
|
2022-10-04 01:58:49 +02:00
|
|
|
<a class="chat-card-button creer-un-objet">Nouvel objet</a>
|
2023-01-28 16:46:17 +01:00
|
|
|
{{/if}}
|
2022-10-04 01:58:49 +02:00
|
|
|
{{#if options.isGM}}
|
|
|
|
<a class="chat-card-button nettoyer-conteneurs">Tout vider</a>
|
|
|
|
{{/if}}
|
2023-02-05 20:26:44 +01:00
|
|
|
<span class="embed-inline">
|
|
|
|
<input class="recherche flex-grow" type="text" value="{{options.recherche.text}}" name="recherche" size="8" data-dtype="String" placeholder=""/>
|
|
|
|
</span>
|
2022-10-14 00:58:26 +02:00
|
|
|
{{#if calc.surEncombrementMessage}}<b>{{calc.surEncombrementMessage}}</b> ‐{{/if}}
|
|
|
|
Encombrement: {{numberFormat calc.encTotal decimals=2}} (max: {{system.attributs.encombrement.value}})
|
|
|
|
{{#if (regle-optionnelle 'afficher-prix-joueurs')}}
|
|
|
|
‐ Valeur: {{numberFormat calc.prixTotalEquipement decimals=2}} Sols
|
|
|
|
{{/if}}
|
2022-10-04 01:58:49 +02:00
|
|
|
</span>
|
2022-08-27 16:23:22 +02:00
|
|
|
<ul class="item-list alterne-list">
|
|
|
|
<li class="competence-header flexrow">
|
|
|
|
<span class="equipement-nom">Nom</span>
|
|
|
|
<span class="equipement-detail">Q.</span>
|
|
|
|
<span class="equipement-detail">Enc.</span>
|
|
|
|
<span class="equipement-actions">Actions</span>
|
|
|
|
</li>
|
|
|
|
{{#each objets as |item id|}}
|
|
|
|
{{#unless item.estContenu}}
|
|
|
|
{{#if (ne item.type 'conteneur')}}
|
2023-01-28 15:43:31 +01:00
|
|
|
{{buildLigneInventaire item @root.options}}
|
2022-08-27 16:23:22 +02:00
|
|
|
{{/if}}
|
|
|
|
{{/unless}}
|
|
|
|
{{/each}}
|
|
|
|
{{#each conteneurs as |conteneur id|}}
|
2023-01-28 15:43:31 +01:00
|
|
|
{{buildLigneInventaire conteneur @root.options}}
|
2022-08-27 16:23:22 +02:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|