abbr for armor type&material in item overview
Additions: - further abbreviations included in localization Changes: - now not full armor type / material expression displayed in char sheet, but only an abbreviation with tooltip - description now smaller for weapon and armor
This commit is contained in:
parent
0b93f5ff9e
commit
9da168afa6
4 changed files with 57 additions and 12 deletions
|
@ -50,7 +50,15 @@ async function registerHandlebarsPartials() {
|
|||
*/
|
||||
Hooks.once("setup", function () {
|
||||
// Localize CONFIG objects once up-front
|
||||
const toLocalize = ["attackTypes", "itemAvailabilities", "itemTypes", "armorTypes", "armorMaterialTypes"];
|
||||
const toLocalize = [
|
||||
"attackTypes",
|
||||
"itemAvailabilities",
|
||||
"itemTypes",
|
||||
"armorTypes",
|
||||
"armorTypesAbbr",
|
||||
"armorMaterialTypes",
|
||||
"armorMaterialTypesAbbr",
|
||||
];
|
||||
|
||||
// Exclude some from sorting where the default order matters
|
||||
const noSort = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue