extract and simplify combat values to own component

This commit is contained in:
Johannes Loher 2021-01-04 01:11:05 +01:00
parent 6a12ba3938
commit 7cb6080808
6 changed files with 82 additions and 117 deletions

View file

@ -38,6 +38,7 @@ async function registerHandlebarsPartials() {
"systems/ds4/templates/item/partials/body.hbs",
"systems/ds4/templates/actor/partials/items-overview.hbs",
"systems/ds4/templates/actor/partials/attributes-traits.hbs",
"systems/ds4/templates/actor/partials/combat-values.hbs",
];
return loadTemplates(templatePaths);
}
@ -68,7 +69,7 @@ Hooks.once("setup", function () {
];
// Exclude some from sorting where the default order matters
const noSort = ["attributes", "traits"];
const noSort = ["attributes", "traits", "combatValues"];
// Localize and sort CONFIG objects
for (const o of toLocalize) {