2023-01-01 22:21:30 +01:00
|
|
|
<h4>Boutique</h4>
|
|
|
|
<span class="item-name">
|
|
|
|
{{#if options.isGM}}
|
|
|
|
<a class="chat-card-button creer-un-objet">Nouvel objet</a>
|
|
|
|
<a class="chat-card-button nettoyer-conteneurs">Tout vider</a>
|
|
|
|
{{/if}}
|
|
|
|
|
2023-01-03 01:19:38 +01:00
|
|
|
{{#unless system.illimite}}
|
2023-01-01 22:21:30 +01:00
|
|
|
{{#if calc.surEncombrementMessage}}<b>{{calc.surEncombrementMessage}}</b> ‐{{/if}}
|
|
|
|
Encombrement: {{numberFormat calc.encTotal decimals=2}}
|
|
|
|
{{#if (regle-optionnelle 'afficher-prix-joueurs')}}
|
|
|
|
‐ Valeur: {{numberFormat calc.prixTotalEquipement decimals=2}} Sols
|
|
|
|
{{/if}}
|
|
|
|
{{/unless}}
|
|
|
|
</span>
|
|
|
|
<ul class="item-list alterne-list">
|
|
|
|
<li class="competence-header flexrow">
|
|
|
|
<span class="equipement-nom">Nom</span>
|
2023-01-03 01:19:38 +01:00
|
|
|
{{#unless system.illimite}}
|
2023-01-01 22:21:30 +01:00
|
|
|
<span class="equipement-detail">Quantité</span>
|
|
|
|
{{/unless}}
|
|
|
|
<span class="equipement-detail">Prix (sols)</span>
|
|
|
|
<span class="equipement-actions">Actions</span>
|
|
|
|
</li>
|
|
|
|
{{#each objets as |item id|}}
|
|
|
|
{{#unless item.estContenu}}
|
|
|
|
{{#if (ne item.type 'conteneur')}}
|
2023-01-03 01:19:38 +01:00
|
|
|
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/commerce-inventaire-item.html"
|
|
|
|
item=item vide=true ouvert=true options=../options}}
|
2023-01-01 22:21:30 +01:00
|
|
|
{{/if}}
|
|
|
|
{{/unless}}
|
|
|
|
{{/each}}
|
|
|
|
{{#each conteneurs as |conteneur id|}}
|
2023-01-03 01:19:38 +01:00
|
|
|
{{buildConteneur conteneur 'actor/commerce-inventaire-item.html' ../options}}
|
2023-01-01 22:21:30 +01:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|