36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
<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}}
|
|
|
|
{{#unless @root.system.illimite}}
|
|
{{#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>
|
|
{{#unless @root.system.illimite}}
|
|
<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')}}
|
|
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/commerce-inventaire-item.html" item=item vide=true ouvert=true options=@root.options}}
|
|
{{/if}}
|
|
{{/unless}}
|
|
{{/each}}
|
|
{{#each conteneurs as |conteneur id|}}
|
|
{{buildConteneur this 'actor/commerce-inventaire-item.html' @root.options}}
|
|
{{/each}}
|
|
</ul>
|