Add Actor Sheet first design

This commit is contained in:
Mandar
2020-12-09 19:10:12 +01:00
parent 0331ba2854
commit d9a082ec66
67 changed files with 719 additions and 527 deletions

View File

@@ -63,12 +63,12 @@ Hooks.once("init", async function () {
});
Handlebars.registerHelper("localizeSkillCategory", function (skillName) {
const key = "L5r5e.Skills." + skillName + ".Title";
const key = "L5r5e.Skills." + skillName.charAt(0).toUpperCase() + skillName.slice(1) + ".Title";
return game.i18n.localize(key);
});
Handlebars.registerHelper("localizeSkill", function (skillCategory, skillName) {
const key = "L5r5e.Skills." + skillCategory + "." + skillName;
const key = "L5r5e.Skills." + skillCategory.charAt(0).toUpperCase() + skillCategory.slice(1) + "." + skillName.charAt(0).toUpperCase() + skillName.slice(1);
return game.i18n.localize(key);
});
@@ -153,4 +153,4 @@ Hooks.once("diceSoNiceReady", (dice3d) => {
);
});
// Add any additional hooks if necessary
// Add any additional hooks if necessary