Skills working

This commit is contained in:
Neill Cox 2024-05-06 11:30:52 +10:00
parent b6c3da1127
commit 9a6fab6014
5 changed files with 63 additions and 10 deletions

View file

@ -12,7 +12,7 @@ Hooks.once('tokenActionHudCoreApiReady', async (coreModule) => {
group.listName = `Group: ${coreModule.api.Utils.i18n(group.listName ?? group.name)}`
})
const groupsArray = Object.values(groups)
//debugger;
// debugger;
DEFAULTS = {
layout: [
{
@ -23,6 +23,14 @@ Hooks.once('tokenActionHudCoreApiReady', async (coreModule) => {
{ ...groups.attributes, nestId: 'attributes_attributes' }
]
},
{
nestId: 'skills',
id: 'skills',
name: coreModule.api.Utils.i18n('GURPS.skills'),
groups: [
{ ...groups.skills, nestId: 'skills_skills' }
]
},
{
nestId: 'inventory',
id: 'inventory',
@ -47,14 +55,6 @@ Hooks.once('tokenActionHudCoreApiReady', async (coreModule) => {
{ ...groups.utility, nestId: 'utility_utility' }
]
},
{
nestId: 'attributes',
id: 'attributes',
name: coreModule.api.Utils.i18n('GURPS.attributes'),
groups: [
{ ...groups.attributes, nestId: 'attributes_attributes' }
]
}
],
groups: groupsArray
}