Rename "Special Creature Abilities" tab to "Abilities"
This commit is contained in:
parent
2ef58012c6
commit
1f629f3468
8 changed files with 9 additions and 21 deletions
|
@ -19,7 +19,6 @@
|
||||||
"DS4.HeadingAbilities": "Fähigkeiten",
|
"DS4.HeadingAbilities": "Fähigkeiten",
|
||||||
"DS4.HeadingSpells": "Zaubersprüche",
|
"DS4.HeadingSpells": "Zaubersprüche",
|
||||||
"DS4.HeadingDescription": "Beschreibung",
|
"DS4.HeadingDescription": "Beschreibung",
|
||||||
"DS4.HeadingSpecialCreatureAbilities": "Besondere Fähigkeiten",
|
|
||||||
"DS4.AttackType": "Angriffsart",
|
"DS4.AttackType": "Angriffsart",
|
||||||
"DS4.AttackTypeAbbr": "AA",
|
"DS4.AttackTypeAbbr": "AA",
|
||||||
"DS4.DialogAttackTypeSelection": "Welche Angriffsart?",
|
"DS4.DialogAttackTypeSelection": "Welche Angriffsart?",
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
"DS4.HeadingAbilities": "Abilities",
|
"DS4.HeadingAbilities": "Abilities",
|
||||||
"DS4.HeadingSpells": "Spells",
|
"DS4.HeadingSpells": "Spells",
|
||||||
"DS4.HeadingDescription": "Description",
|
"DS4.HeadingDescription": "Description",
|
||||||
"DS4.HeadingSpecialCreatureAbilities": "Special Abilities",
|
|
||||||
"DS4.AttackType": "Attack Type",
|
"DS4.AttackType": "Attack Type",
|
||||||
"DS4.AttackTypeAbbr": "AT",
|
"DS4.AttackTypeAbbr": "AT",
|
||||||
"DS4.DialogAttackTypeSelection": "Which Attack Type?",
|
"DS4.DialogAttackTypeSelection": "Which Attack Type?",
|
||||||
|
|
|
@ -22,16 +22,7 @@ export class DS4ActorSheet extends ActorSheet<ActorSheet.Options, DS4ActorSheetD
|
||||||
return foundry.utils.mergeObject(super.defaultOptions, {
|
return foundry.utils.mergeObject(super.defaultOptions, {
|
||||||
classes: ["ds4", "sheet", "actor"],
|
classes: ["ds4", "sheet", "actor"],
|
||||||
height: 620,
|
height: 620,
|
||||||
scrollY: [
|
scrollY: [".values", ".inventory", ".spells", ".abilities", ".effects", ".biography", ".description"],
|
||||||
".values",
|
|
||||||
".inventory",
|
|
||||||
".spells",
|
|
||||||
".abilities",
|
|
||||||
".profile",
|
|
||||||
".biography",
|
|
||||||
".special-creature-abilities",
|
|
||||||
".effects",
|
|
||||||
],
|
|
||||||
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "values" }],
|
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "values" }],
|
||||||
dragDrop: [
|
dragDrop: [
|
||||||
{ dragSelector: ".item-list .item", dropSelector: null },
|
{ dragSelector: ".item-list .item", dropSelector: null },
|
||||||
|
|
|
@ -28,13 +28,13 @@ export default async function registerHandlebarsPartials(): Promise<void> {
|
||||||
"systems/ds4/templates/sheets/actor/components/profile.hbs",
|
"systems/ds4/templates/sheets/actor/components/profile.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/components/rollable-image.hbs",
|
"systems/ds4/templates/sheets/actor/components/rollable-image.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/components/talent-rank-equation.hbs",
|
"systems/ds4/templates/sheets/actor/components/talent-rank-equation.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/tabs/abilities.hbs",
|
|
||||||
"systems/ds4/templates/sheets/actor/tabs/biography.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/biography.hbs",
|
||||||
|
"systems/ds4/templates/sheets/actor/tabs/character-abilities.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/tabs/character-inventory.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/character-inventory.hbs",
|
||||||
|
"systems/ds4/templates/sheets/actor/tabs/creature-abilities.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/tabs/creature-inventory.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/creature-inventory.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/tabs/description.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/description.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/tabs/effects.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/effects.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/tabs/special-creature-abilities.hbs",
|
|
||||||
"systems/ds4/templates/sheets/actor/tabs/spells.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/spells.hbs",
|
||||||
"systems/ds4/templates/sheets/actor/tabs/values.hbs",
|
"systems/ds4/templates/sheets/actor/tabs/values.hbs",
|
||||||
"systems/ds4/templates/sheets/item/components/body.hbs",
|
"systems/ds4/templates/sheets/item/components/body.hbs",
|
||||||
|
|
|
@ -36,7 +36,7 @@ SPDX-License-Identifier: MIT
|
||||||
{{> systems/ds4/templates/sheets/actor/tabs/spells.hbs}}
|
{{> systems/ds4/templates/sheets/actor/tabs/spells.hbs}}
|
||||||
|
|
||||||
{{!-- Abilities Tab --}}
|
{{!-- Abilities Tab --}}
|
||||||
{{> systems/ds4/templates/sheets/actor/tabs/abilities.hbs}}
|
{{> systems/ds4/templates/sheets/actor/tabs/character-abilities.hbs}}
|
||||||
|
|
||||||
{{!-- Effects Tab --}}
|
{{!-- Effects Tab --}}
|
||||||
{{> systems/ds4/templates/sheets/actor/tabs/effects.hbs}}
|
{{> systems/ds4/templates/sheets/actor/tabs/effects.hbs}}
|
||||||
|
|
|
@ -17,9 +17,8 @@ SPDX-License-Identifier: MIT
|
||||||
<nav class="ds4-sheet-tab-nav sheet-tabs tabs" data-group="primary">
|
<nav class="ds4-sheet-tab-nav sheet-tabs tabs" data-group="primary">
|
||||||
<a class="ds4-sheet-tab-nav__item item" data-tab="values">{{localize 'DS4.HeadingValues'}}</a>
|
<a class="ds4-sheet-tab-nav__item item" data-tab="values">{{localize 'DS4.HeadingValues'}}</a>
|
||||||
<a class="ds4-sheet-tab-nav__item item" data-tab="inventory">{{localize 'DS4.HeadingInventory'}}</a>
|
<a class="ds4-sheet-tab-nav__item item" data-tab="inventory">{{localize 'DS4.HeadingInventory'}}</a>
|
||||||
<a class="ds4-sheet-tab-nav__item item" data-tab="special-creature-abilities">{{localize
|
|
||||||
'DS4.HeadingSpecialCreatureAbilities'}}</a>
|
|
||||||
<a class="ds4-sheet-tab-nav__item item" data-tab="spells">{{localize 'DS4.HeadingSpells'}}</a>
|
<a class="ds4-sheet-tab-nav__item item" data-tab="spells">{{localize 'DS4.HeadingSpells'}}</a>
|
||||||
|
<a class="ds4-sheet-tab-nav__item item" data-tab="abilities">{{localize 'DS4.HeadingAbilities'}}</a>
|
||||||
<a class="ds4-sheet-tab-nav__item item" data-tab="effects">{{localize 'DS4.HeadingEffects'}}</a>
|
<a class="ds4-sheet-tab-nav__item item" data-tab="effects">{{localize 'DS4.HeadingEffects'}}</a>
|
||||||
<a class="ds4-sheet-tab-nav__item item" data-tab="description">{{localize 'DS4.HeadingDescription'}}</a>
|
<a class="ds4-sheet-tab-nav__item item" data-tab="description">{{localize 'DS4.HeadingDescription'}}</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
@ -32,12 +31,12 @@ SPDX-License-Identifier: MIT
|
||||||
{{!-- Inventory Tab --}}
|
{{!-- Inventory Tab --}}
|
||||||
{{> systems/ds4/templates/sheets/actor/tabs/creature-inventory.hbs}}
|
{{> systems/ds4/templates/sheets/actor/tabs/creature-inventory.hbs}}
|
||||||
|
|
||||||
{{!-- Special Creature Abilities Tab --}}
|
|
||||||
{{> systems/ds4/templates/sheets/actor/tabs/special-creature-abilities.hbs}}
|
|
||||||
|
|
||||||
{{!-- Spells Tab --}}
|
{{!-- Spells Tab --}}
|
||||||
{{> systems/ds4/templates/sheets/actor/tabs/spells.hbs}}
|
{{> systems/ds4/templates/sheets/actor/tabs/spells.hbs}}
|
||||||
|
|
||||||
|
{{!-- Abilities Tab --}}
|
||||||
|
{{> systems/ds4/templates/sheets/actor/tabs/creature-abilities.hbs}}
|
||||||
|
|
||||||
{{!-- Effects Tab --}}
|
{{!-- Effects Tab --}}
|
||||||
{{> systems/ds4/templates/sheets/actor/tabs/effects.hbs}}
|
{{> systems/ds4/templates/sheets/actor/tabs/effects.hbs}}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ SPDX-FileCopyrightText: 2021 Gesina Schwalbe
|
||||||
SPDX-License-Identifier: MIT
|
SPDX-License-Identifier: MIT
|
||||||
--}}
|
--}}
|
||||||
|
|
||||||
<div class="tab special-creature-abilities" data-group="primary" data-tab="special-creature-abilities">
|
<div class="tab abilities" data-group="primary" data-tab="abilities">
|
||||||
{{#unless (isEmpty itemsByType.specialCreatureAbility)}}
|
{{#unless (isEmpty itemsByType.specialCreatureAbility)}}
|
||||||
<ol class="ds4-item-list ds4-item-list--special-creature-ability item-list">
|
<ol class="ds4-item-list ds4-item-list--special-creature-ability item-list">
|
||||||
{{> systems/ds4/templates/sheets/actor/components/item-list-header.hbs}}
|
{{> systems/ds4/templates/sheets/actor/components/item-list-header.hbs}}
|
Loading…
Reference in a new issue