2021-06-26 22:02:00 +02:00
|
|
|
{{!--
|
|
|
|
SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
SPDX-FileCopyrightText: 2021 Gesina Schwalbe
|
|
|
|
|
|
|
|
SPDX-License-Identifier: MIT
|
|
|
|
--}}
|
|
|
|
|
2022-01-21 03:22:17 +01:00
|
|
|
<div class="ds4-sheet-tab tab abilities" data-group="primary" data-tab="abilities">
|
2021-02-26 01:38:53 +01:00
|
|
|
{{!-- TALENT --}}
|
2021-07-23 01:11:42 +02:00
|
|
|
<h4 class="ds4-embedded-document-list-title">{{localize 'DS4.ItemTypeTalentPlural'}}</h4>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{#unless (isEmpty itemsByType.talent)}}
|
2021-07-23 01:11:42 +02:00
|
|
|
<ol class="ds4-embedded-document-list ds4-embedded-document-list--talent item-list">
|
2021-11-06 01:41:31 +01:00
|
|
|
{{#> systems/ds4/templates/sheets/actor/components/item-list-header.hbs type='talent'}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{!-- rank --}}
|
2021-11-06 01:41:31 +01:00
|
|
|
<div class="ds4-embedded-document-list__clickable sort-items" data-data-path="data.rank.total"
|
|
|
|
title="{{localize 'DS4.SortByTalentRank'}}">{{localize 'DS4.TalentRank'}}</div>
|
2021-04-13 21:40:52 +02:00
|
|
|
{{/systems/ds4/templates/sheets/actor/components/item-list-header.hbs}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{#each itemsByType.talent as |itemData id|}}
|
2021-04-13 21:40:52 +02:00
|
|
|
{{#> systems/ds4/templates/sheets/actor/components/item-list-entry.hbs itemData=itemData}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{!-- rank --}}
|
2021-04-13 21:40:52 +02:00
|
|
|
{{> systems/ds4/templates/sheets/actor/components/talent-rank-equation.hbs talentRank=itemData.data.rank}}
|
|
|
|
{{/systems/ds4/templates/sheets/actor/components/item-list-entry.hbs}}
|
2021-01-07 20:20:40 +01:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{/unless}}
|
2022-01-21 03:22:17 +01:00
|
|
|
{{> systems/ds4/templates/sheets/shared/components/add-button.hbs title='DS4.UserInteractionAddItemTitle'
|
2021-07-22 02:02:35 +02:00
|
|
|
documentType='item' type='talent'}}
|
2021-01-07 20:20:40 +01:00
|
|
|
|
2021-02-26 01:38:53 +01:00
|
|
|
{{!-- RACIAL ABILITY --}}
|
2021-07-23 01:11:42 +02:00
|
|
|
<h4 class="ds4-embedded-document-list-title">{{localize 'DS4.ItemTypeRacialAbilityPlural'}}</h4>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{#unless (isEmpty itemsByType.racialAbility)}}
|
2021-07-23 01:11:42 +02:00
|
|
|
<ol class="ds4-embedded-document-list ds4-embedded-document-list--racial-ability item-list">
|
2021-11-06 01:41:31 +01:00
|
|
|
{{> systems/ds4/templates/sheets/actor/components/item-list-header.hbs type='racialAbility'}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{#each itemsByType.racialAbility as |itemData id|}}
|
2021-04-13 21:40:52 +02:00
|
|
|
{{> systems/ds4/templates/sheets/actor/components/item-list-entry.hbs itemData=itemData}}
|
2021-01-08 23:23:53 +01:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{/unless}}
|
2022-01-21 03:22:17 +01:00
|
|
|
{{> systems/ds4/templates/sheets/shared/components/add-button.hbs title='DS4.UserInteractionAddItemTitle'
|
2021-07-22 02:02:35 +02:00
|
|
|
documentType='item' type='racialAbility'}}
|
2021-01-08 23:23:53 +01:00
|
|
|
|
2021-02-26 01:38:53 +01:00
|
|
|
{{!-- LANGUAGE --}}
|
2021-07-23 01:11:42 +02:00
|
|
|
<h4 class="ds4-embedded-document-list-title">{{localize 'DS4.ItemTypeLanguagePlural'}}</h4>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{#unless (isEmpty itemsByType.language)}}
|
2021-07-23 01:11:42 +02:00
|
|
|
<ol class="ds4-embedded-document-list ds4-embedded-document-list--language item-list">
|
2021-11-06 01:41:31 +01:00
|
|
|
{{> systems/ds4/templates/sheets/actor/components/item-list-header.hbs type='language'}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{#each itemsByType.language as |itemData id|}}
|
2021-04-13 21:40:52 +02:00
|
|
|
{{> systems/ds4/templates/sheets/actor/components/item-list-entry.hbs itemData=itemData}}
|
2021-01-06 01:24:37 +01:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{/unless}}
|
2022-01-21 03:22:17 +01:00
|
|
|
{{> systems/ds4/templates/sheets/shared/components/add-button.hbs title='DS4.UserInteractionAddItemTitle'
|
2021-07-22 02:02:35 +02:00
|
|
|
documentType='item' type='language'}}
|
2021-01-08 23:54:41 +01:00
|
|
|
|
2021-02-26 01:38:53 +01:00
|
|
|
{{!-- ALPHABET --}}
|
2021-07-23 01:11:42 +02:00
|
|
|
<h4 class="ds4-embedded-document-list-title">{{localize 'DS4.ItemTypeAlphabetPlural'}}</h4>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{#unless (isEmpty itemsByType.alphabet)}}
|
2021-07-23 01:11:42 +02:00
|
|
|
<ol class="ds4-embedded-document-list ds4-embedded-document-list--alphabet item-list">
|
2021-11-06 01:41:31 +01:00
|
|
|
{{> systems/ds4/templates/sheets/actor/components/item-list-header.hbs type='alphabet'}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{#each itemsByType.alphabet as |itemData id|}}
|
2021-04-13 21:40:52 +02:00
|
|
|
{{> systems/ds4/templates/sheets/actor/components/item-list-entry.hbs itemData=itemData}}
|
2021-01-08 23:54:41 +01:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{/unless}}
|
2022-01-21 03:22:17 +01:00
|
|
|
{{> systems/ds4/templates/sheets/shared/components/add-button.hbs title='DS4.UserInteractionAddItemTitle'
|
2021-07-22 02:02:35 +02:00
|
|
|
documentType='item' type='alphabet'}}
|
2021-02-20 22:41:33 +01:00
|
|
|
</div>
|