Item descriptions

This commit is contained in:
2022-12-28 10:30:56 +01:00
parent d56be5dcd6
commit d49452efc5
12 changed files with 120 additions and 62 deletions

View File

@ -40,7 +40,13 @@ export class Hero6Utility {
return parseInt(a) * parseInt(b);
})
Handlebars.registerHelper('locationLabel', function (key) {
return __locationNames[key]
return __locationNames[key]
})
Handlebars.registerHelper('isSkillCustom', function (key) {
if (key == "custom" || key == "background" || key == "combat" ) {
return true;
}
return false
})
@ -149,7 +155,9 @@ export class Hero6Utility {
'systems/fvtt-hero-system-6/templates/partials/partial-options-abilities.hbs',
'systems/fvtt-hero-system-6/templates/partials/partial-item-nav.hbs',
'systems/fvtt-hero-system-6/templates/partials/partial-item-description.hbs',
'systems/fvtt-hero-system-6/templates/partials/partial-actor-equipment.hbs'
'systems/fvtt-hero-system-6/templates/partials/partial-actor-equipment.hbs',
'systems/fvtt-hero-system-6/templates/partials/partial-item-cost.hbs',
'systems/fvtt-hero-system-6/templates/partials/partial-power-equipment-cost.hbs',
]
return loadTemplates(templatePaths);
}