2021-06-26 22:02:00 +02:00
|
|
|
{{!--
|
|
|
|
SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
SPDX-FileCopyrightText: 2021 Gesina Schwalbe
|
|
|
|
SPDX-FileCopyrightText: 2021 Siegfried Krug
|
|
|
|
|
|
|
|
SPDX-License-Identifier: MIT
|
|
|
|
--}}
|
|
|
|
|
2021-01-18 19:59:25 +01:00
|
|
|
{{!-- WEAPONS --}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<h4 class="ds4-item-list-title">{{localize 'DS4.ItemTypeWeaponPlural'}}</h4>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{#unless (isEmpty itemsByType.weapon)}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<ol class="ds4-item-list ds4-item-list--weapon item-list">
|
2021-04-13 21:40:52 +02:00
|
|
|
{{#> systems/ds4/templates/sheets/actor/components/item-list-header.hbs isEquipable=true hasQuantity=true}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{!-- attack type --}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<div class="ds4-item-list__image" title="{{localize 'DS4.AttackType'}}">{{localize 'DS4.AttackTypeAbbr'}}</div>
|
2021-02-26 01:08:55 +01:00
|
|
|
|
|
|
|
{{!-- weapon bonus --}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<div title="{{localize 'DS4.WeaponBonus'}}">
|
2021-01-18 19:59:25 +01:00
|
|
|
{{localize 'DS4.WeaponBonusAbbr'}}
|
|
|
|
</div>
|
2021-02-26 01:08:55 +01:00
|
|
|
|
|
|
|
{{!-- opponent defense --}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<div title="{{localize 'DS4.OpponentDefense'}}">
|
2021-01-18 19:59:25 +01:00
|
|
|
{{localize 'DS4.OpponentDefenseAbbr'}}
|
|
|
|
</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.weapon as |itemData id|}}
|
2021-04-13 21:40:52 +02:00
|
|
|
{{#> systems/ds4/templates/sheets/actor/components/item-list-entry.hbs itemData=itemData isEquipable=true
|
|
|
|
hasQuantity=true}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{!-- attack type --}}
|
2021-03-04 08:51:13 +01:00
|
|
|
<img class="ds4-item-list__image" src="{{lookup ../../config.icons.attackTypes itemData.data.attackType}}"
|
|
|
|
title="{{lookup ../../config.i18n.attackTypes itemData.data.attackType}}" />
|
2021-02-26 01:08:55 +01:00
|
|
|
|
|
|
|
{{!-- weapon bonus --}}
|
|
|
|
<div>{{ itemData.data.weaponBonus}}</div>
|
|
|
|
|
|
|
|
{{!-- opponent defense --}}
|
|
|
|
<div>{{ itemData.data.opponentDefense}}</div>
|
2021-04-13 21:40:52 +02:00
|
|
|
{{/systems/ds4/templates/sheets/actor/components/item-list-entry.hbs}}
|
2021-01-18 19:59:25 +01:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{/unless}}
|
2021-07-20 02:16:43 +02:00
|
|
|
{{> systems/ds4/templates/sheets/actor/components/add-button.hbs title='DS4.UserInteractionAddItemTitle'
|
2021-07-22 02:02:35 +02:00
|
|
|
documentType='item' type='weapon'}}
|
2021-01-18 19:59:25 +01:00
|
|
|
|
|
|
|
{{!-- ARMOR --}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<h4 class="ds4-item-list-title">{{localize 'DS4.ItemTypeArmorPlural'}}</h4>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{#unless (isEmpty itemsByType.armor)}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<ol class="ds4-item-list ds4-item-list--armor item-list">
|
2021-04-13 21:40:52 +02:00
|
|
|
{{#> systems/ds4/templates/sheets/actor/components/item-list-header.hbs isEquipable=true hasQuantity=true}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{!-- armor material type --}}
|
2021-01-18 19:59:25 +01:00
|
|
|
<div title="{{localize 'DS4.ArmorMaterialType'}}">{{localize 'DS4.ArmorMaterialTypeAbbr'}}</div>
|
2021-02-26 01:08:55 +01:00
|
|
|
|
|
|
|
{{!-- armor type --}}
|
2021-01-18 19:59:25 +01:00
|
|
|
<div title="{{localize 'DS4.ArmorType'}}">{{localize 'DS4.ArmorTypeAbbr'}}</div>
|
2021-02-26 01:08:55 +01:00
|
|
|
|
|
|
|
{{!-- armor value --}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<div title="{{localize 'DS4.ArmorValue'}}">
|
2021-01-18 19:59:25 +01:00
|
|
|
{{localize 'DS4.ArmorValueAbbr'}}
|
|
|
|
</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.armor as |itemData id|}}
|
2021-04-13 21:40:52 +02:00
|
|
|
{{#> systems/ds4/templates/sheets/actor/components/item-list-entry.hbs itemData=itemData isEquipable=true
|
|
|
|
hasQuantity=true}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{!-- armor material type --}}
|
|
|
|
<div title="{{lookup ../../config.i18n.armorMaterialTypes itemData.data.armorMaterialType}}">
|
|
|
|
{{lookup ../../config.i18n.armorMaterialTypesAbbr itemData.data.armorMaterialType}}
|
2021-01-18 19:59:25 +01:00
|
|
|
</div>
|
2021-02-26 01:08:55 +01:00
|
|
|
|
|
|
|
{{!-- armor type --}}
|
2021-07-12 19:00:07 +02:00
|
|
|
<div title="{{lookup ../../config.i18n.armorTypes itemData.data.armorType}}">
|
|
|
|
{{lookup ../../config.i18n.armorTypesAbbr itemData.data.armorType}}
|
2021-01-18 19:59:25 +01:00
|
|
|
</div>
|
2021-02-26 01:08:55 +01:00
|
|
|
|
|
|
|
{{!-- armor value --}}
|
|
|
|
<div>{{ itemData.data.armorValue}}</div>
|
2021-04-13 21:40:52 +02:00
|
|
|
{{/systems/ds4/templates/sheets/actor/components/item-list-entry.hbs}}
|
2021-01-18 19:59:25 +01:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{/unless}}
|
2021-07-20 02:16:43 +02:00
|
|
|
{{> systems/ds4/templates/sheets/actor/components/add-button.hbs title='DS4.UserInteractionAddItemTitle'
|
2021-07-22 02:02:35 +02:00
|
|
|
documentType='item' type='armor'}}
|
2021-01-18 19:59:25 +01:00
|
|
|
|
|
|
|
{{!-- SHIELD --}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<h4 class="ds4-item-list-title">{{localize 'DS4.ItemTypeShieldPlural'}}</h4>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{#unless (isEmpty itemsByType.shield)}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<ol class="ds4-item-list ds4-item-list--shield item-list">
|
2021-04-13 21:40:52 +02:00
|
|
|
{{#> systems/ds4/templates/sheets/actor/components/item-list-header.hbs isEquipable=true hasQuantity=true}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{!-- armor value --}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<div title="{{localize 'DS4.ArmorValue'}}">
|
2021-01-18 19:59:25 +01:00
|
|
|
{{localize 'DS4.ArmorValueAbbr'}}
|
|
|
|
</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.shield as |itemData id|}}
|
2021-04-13 21:40:52 +02:00
|
|
|
{{#> systems/ds4/templates/sheets/actor/components/item-list-entry.hbs itemData=itemData isEquipable=true
|
|
|
|
hasQuantity=true}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{!-- armor value --}}
|
|
|
|
<div>{{itemData.data.armorValue}}</div>
|
2021-04-13 21:40:52 +02:00
|
|
|
{{/systems/ds4/templates/sheets/actor/components/item-list-entry.hbs}}
|
2021-01-18 19:59:25 +01:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{/unless}}
|
2021-07-20 02:16:43 +02:00
|
|
|
{{> systems/ds4/templates/sheets/actor/components/add-button.hbs title='DS4.UserInteractionAddItemTitle'
|
2021-07-22 02:02:35 +02:00
|
|
|
documentType='item' type='shield'}}
|
2021-01-18 19:59:25 +01:00
|
|
|
|
2021-02-21 03:40:54 +01:00
|
|
|
{{!-- EQUIPMENT --}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<h4 class="ds4-item-list-title">{{localize 'DS4.ItemTypeEquipmentPlural'}}</h4>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{#unless (isEmpty itemsByType.equipment)}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<ol class="ds4-item-list ds4-item-list--equipment item-list">
|
2021-04-13 21:40:52 +02:00
|
|
|
{{#> systems/ds4/templates/sheets/actor/components/item-list-header.hbs isEquipable=true hasQuantity=true}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{!-- storage location --}}
|
2021-02-24 04:52:32 +01:00
|
|
|
<div>{{localize 'DS4.StorageLocation'}}</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.equipment as |itemData id|}}
|
2021-04-13 21:40:52 +02:00
|
|
|
{{#> systems/ds4/templates/sheets/actor/components/item-list-entry.hbs itemData=itemData isEquipable=true
|
|
|
|
hasQuantity=true}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{!-- storage location --}}
|
2021-07-23 00:43:15 +02:00
|
|
|
<input class="ds4-item-list__editable change-item" type="text" value="{{itemData.data.storageLocation}}"
|
2021-02-25 21:04:15 +01:00
|
|
|
data-dtype="String" data-property="data.storageLocation" title="{{localize 'DS4.StorageLocation'}}">
|
2021-04-13 21:40:52 +02:00
|
|
|
{{/systems/ds4/templates/sheets/actor/components/item-list-entry.hbs}}
|
2021-01-18 19:59:25 +01:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{/unless}}
|
2021-07-20 02:16:43 +02:00
|
|
|
{{> systems/ds4/templates/sheets/actor/components/add-button.hbs title='DS4.UserInteractionAddItemTitle'
|
2021-07-22 02:02:35 +02:00
|
|
|
documentType='item' type='equipment'}}
|
2021-01-18 19:59:25 +01:00
|
|
|
|
2021-02-21 03:40:54 +01:00
|
|
|
{{!-- LOOT --}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<h4 class="ds4-item-list-title">{{localize 'DS4.ItemTypeLootPlural'}}</h4>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{#unless (isEmpty itemsByType.loot)}}
|
2021-02-25 19:07:25 +01:00
|
|
|
<ol class="ds4-item-list ds4-item-list--loot item-list">
|
2021-04-13 21:40:52 +02:00
|
|
|
{{#> systems/ds4/templates/sheets/actor/components/item-list-header.hbs hasQuantity=true}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{!-- storage location --}}
|
2021-02-24 04:52:32 +01:00
|
|
|
<div>{{localize 'DS4.StorageLocation'}}</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.loot as |itemData id|}}
|
2021-04-13 21:40:52 +02:00
|
|
|
{{#> systems/ds4/templates/sheets/actor/components/item-list-entry.hbs itemData=itemData hasQuantity=true}}
|
2021-02-26 01:08:55 +01:00
|
|
|
{{!-- storage location --}}
|
2021-07-23 00:43:15 +02:00
|
|
|
<input class="ds4-item-list__editable change-item" type="text" value="{{itemData.data.storageLocation}}"
|
2021-02-25 21:04:15 +01:00
|
|
|
data-dtype="String" data-property="data.storageLocation" title="{{localize 'DS4.StorageLocation'}}">
|
2021-04-13 21:40:52 +02:00
|
|
|
{{/systems/ds4/templates/sheets/actor/components/item-list-entry.hbs}}
|
2021-01-18 19:59:25 +01:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|
2021-02-26 01:38:53 +01:00
|
|
|
{{/unless}}
|
2021-07-20 02:16:43 +02:00
|
|
|
{{> systems/ds4/templates/sheets/actor/components/add-button.hbs title='DS4.UserInteractionAddItemTitle'
|
2021-07-22 02:02:35 +02:00
|
|
|
documentType='item' type='loot'}}
|