extract and simplify attributes and traits

This commit is contained in:
Johannes Loher 2021-01-04 00:55:44 +01:00
parent 404ac08482
commit 6a12ba3938
7 changed files with 106 additions and 129 deletions

View file

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