diff --git a/templates/actor-inventaire-conteneur.html b/templates/actor-inventaire-conteneur.html index 628f8bc8..b925a479 100644 --- a/templates/actor-inventaire-conteneur.html +++ b/templates/actor-inventaire-conteneur.html @@ -9,6 +9,9 @@ {{item.data.quantite}} {{numberFormat item.data.encTotal decimals=2}}
+ {{#unless item.estContenu}} + {{#if item.data.equipe}}{{else}}{{/if}} + {{/unless}} {{#if (eq item.type 'nourritureboisson')}} diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 916dd344..6d5b703f 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -754,26 +754,13 @@ {{#each objets as |item id|}} {{#unless item.estContenu}} {{#if (ne item.type 'conteneur')}} -
  • - - {{item.name}} - {{item.data.quantite}} - {{numberFormat item.data.encTotal decimals=2}} - - {{#if item.data.equipe}}{{else}}{{/if}} - - - {{#if (and (eq item.type 'nourritureboisson') item.data.quantite)}} - Consommer - {{/if}} - -
  • + {{> "systems/foundryvtt-reve-de-dragon/templates/actor-inventaire-conteneur.html" item=item }} {{/if}} {{/unless}} - {{/each}} - {{#each conteneurs as |conteneur id|}} + {{/each}} + {{#each conteneurs as |conteneur id|}} {{buildConteneur this}} - {{/each}} + {{/each}}

    Montures