{#if $gameState}
{#if deck.discardPile.length > 0} {/if}
{#each discardDisplay as card} {/each}
{/if} {#if sub && sub.kind === 'owner'} {@const s = sub} {/if} {#if sub?.kind === 'charLoot'}
{#each characters as char}
{char.id} {t('characterLootTitle', { name: char.characterState.display })}
{#each charLootRows(char.id) as row} {#if row.amount > 0}
{row.name} {lootName(row.name)} {row.amount}
{/if} {/each} {/each}
{/if} {#if sub?.kind === 'addLoot'}
{t('addExtraLootCard')}
{#each ADD_LOOT_NAMES as name, i} {/each}
{/if} {#if sub?.kind === 'enhance'}
{t('lootCardEnhancements')}
{#each enhSections as section}
{section.key} {section.label}
{#each section.rows as row}
{#each row as idx} {@const c = counter(section.key, idx)} {/each}
{/each}
{/each}
{/if}