Initial work on attributes

This commit is contained in:
Neill Cox 2024-05-06 11:22:00 +10:00
parent 3ab2643f31
commit fcdd31567d
5 changed files with 45 additions and 5 deletions

View file

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