Add dummy profile tab to character sheet
This commit is contained in:
parent
c91b8956f6
commit
98ce35f831
4 changed files with 12 additions and 2 deletions
|
@ -5,6 +5,8 @@
|
|||
"DS4.DescriptionAbbr": "Desc",
|
||||
"DS4.Details": "Details",
|
||||
"DS4.Effects": "Effects",
|
||||
"DS4.Profile": "Profile",
|
||||
"DS4.Items": "Items",
|
||||
"DS4.AttackType": "Attack Type",
|
||||
"DS4.AttackTypeAbbr": "AT",
|
||||
"DS4.WeaponBonus": "Weapon Bonus",
|
||||
|
|
|
@ -39,6 +39,7 @@ async function registerHandlebarsPartials() {
|
|||
"systems/ds4/templates/actor/partials/items-overview.hbs",
|
||||
"systems/ds4/templates/actor/partials/attributes-traits.hbs",
|
||||
"systems/ds4/templates/actor/partials/combat-values.hbs",
|
||||
"systems/ds4/templates/actor/partials/profile.hbs",
|
||||
];
|
||||
return loadTemplates(templatePaths);
|
||||
}
|
||||
|
@ -66,6 +67,8 @@ Hooks.once("setup", function () {
|
|||
"combatValues",
|
||||
"baseInfo",
|
||||
"progression",
|
||||
"language",
|
||||
"profile",
|
||||
];
|
||||
|
||||
// Exclude some from sorting where the default order matters
|
||||
|
|
|
@ -90,8 +90,9 @@
|
|||
|
||||
{{!-- Sheet Tab Navigation --}}
|
||||
<nav class="sheet-tabs tabs" data-group="primary">
|
||||
<a class="item" data-tab="description">Description</a>
|
||||
<a class="item" data-tab="items">Items</a>
|
||||
<a class="item" data-tab="description">{{localize "DS4.Description"}}</a>
|
||||
<a class="item" data-tab="profile">{{localize "DS4.Profile"}}</a>
|
||||
<a class="item" data-tab="items">{{localize "DS4.Items"}}</a>
|
||||
</nav>
|
||||
|
||||
{{!-- Sheet Body --}}
|
||||
|
@ -101,6 +102,9 @@
|
|||
{{editor content=data.biography target="data.biography" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
|
||||
{{! Profile Tab --}}
|
||||
{{> systems/ds4/templates/actor/partials/profile.hbs}}
|
||||
|
||||
{{!-- Items Tab --}}
|
||||
{{> systems/ds4/templates/actor/partials/items-overview.hbs}}
|
||||
</section>
|
||||
|
|
1
src/templates/actor/partials/profile.hbs
Normal file
1
src/templates/actor/partials/profile.hbs
Normal file
|
@ -0,0 +1 @@
|
|||
<div class="tab profile" data-group="primary" data-tab="profile"></div>
|
Loading…
Reference in a new issue