{{#if isGM}} {{#ifeq lootsheettype "Merchant"}}
{{/ifeq}} {{#ifeq lootsheettype "Loot"}}
{{/ifeq}} {{/if}}
{{#unless actor.visible}} {{localize "ls.noAccesToSheet"}} {{/unless}} {{#if actor.visible}}
{{editor content=data.details.biography.value target="data.details.biography.value" button=true owner=owner editable=editable}}
{{#ifeq lootsheettype "Loot"}}

    {{localize "PF1.Currency"}}

    {{#each data.currency as |v k|}} {{/each}}

    {{localize "PF1.WeightlessCurrency"}}

    {{#each data.altCurrency as |v k|}} {{/each}}
{{/ifeq}}
    {{#each actor.features as |section sid|}}
  • {{section.label}}

    {{#if ../isGM}}
    {{/if}}
    {{#if ../isGM}} {{localize "ls.add"}} {{/if}}
    1. {{#each section.items as |item iid|}}
    2. {{ lootsheetname item.name item.data.quantity item.flags.lootsheetnpcpf1.infinite}}

      {{#if ../../isGM}} {{/if}}
      {{ lootsheetweight item.data.quantity item.data.weightConverted }} {{ ../../weightUnit }}
      {{ lootsheetprice item.showPrice ../../priceModifier }}
      {{#ifeq ../../lootsheettype "Loot"}} {{#if ../../canAct}} {{#unless ../../isGM}} {{#if data.quantity}} {{/if}} {{/unless}} {{/if}} {{/ifeq}} {{#ifeq ../../lootsheettype "Merchant"}} {{#if ../../canAct}} {{#unless ../../isGM}} {{#if data.quantity}} {{/if}} {{/unless}} {{/if}} {{/ifeq}} {{#if ../../isGM}} {{#if item.flags.lootsheetnpcpf1.secret}}{{/if}} {{#unless item.flags.lootsheetnpcpf1.secret}}{{/unless}} {{#unless item.flags.lootsheetnpcpf1.infinite}} {{/unless}} {{#if item.flags.lootsheetnpcpf1.infinite}} {{/if}} {{/if}}
    3. {{/each}}
    {{/each}}
{{#ifeq lootsheettype "Loot"}}
{{localize "ls.totalItems"}}: {{totalItems}} {{maxItems}}
{{localize "ls.totalWeight"}}: {{totalWeight}} {{maxWeight}} {{weightUnit}}
{{localize "ls.totalPrice"}}: {{totalPrice}}
{{#if data.flags.lootsheetnpcpf1.displaySaleValueEnabled}}
{{localize "ls.adjustedPrice"}}: {{adjustedPrice}}
{{/if}}
{{/ifeq}}
{{/if}}