forked from public/foundryvtt-reve-de-dragon
Fix: cacher quantite illimite dans les contenants
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
<a class="chat-card-button nettoyer-conteneurs">Tout vider</a>
|
||||
{{/if}}
|
||||
|
||||
{{#unless @root.system.illimite}}
|
||||
{{#unless system.illimite}}
|
||||
{{#if calc.surEncombrementMessage}}<b>{{calc.surEncombrementMessage}}</b> ‐{{/if}}
|
||||
Encombrement: {{numberFormat calc.encTotal decimals=2}}
|
||||
{{#if (regle-optionnelle 'afficher-prix-joueurs')}}
|
||||
@ -16,7 +16,7 @@
|
||||
<ul class="item-list alterne-list">
|
||||
<li class="competence-header flexrow">
|
||||
<span class="equipement-nom">Nom</span>
|
||||
{{#unless @root.system.illimite}}
|
||||
{{#unless system.illimite}}
|
||||
<span class="equipement-detail">Quantité</span>
|
||||
{{/unless}}
|
||||
<span class="equipement-detail">Prix (sols)</span>
|
||||
@ -25,11 +25,12 @@
|
||||
{{#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}}
|
||||
{{> "systems/foundryvtt-reve-de-dragon/templates/actor/commerce-inventaire-item.html"
|
||||
item=item vide=true ouvert=true options=../options}}
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
{{/each}}
|
||||
{{#each conteneurs as |conteneur id|}}
|
||||
{{buildConteneur this 'actor/commerce-inventaire-item.html' @root.options}}
|
||||
{{buildConteneur conteneur 'actor/commerce-inventaire-item.html' ../options}}
|
||||
{{/each}}
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user