br to li and added a helper for boolean -> YesNo

This commit is contained in:
Vlyan
2021-07-12 18:35:25 +02:00
parent 11442c0635
commit c31b13cb68
12 changed files with 371 additions and 223 deletions

View File

@@ -29,6 +29,10 @@ export const RegisterHandlebars = function () {
return game.i18n.localize("l5r5e.techniques." + techniqueName.toLowerCase());
});
Handlebars.registerHelper("localizeYesNo", function (isYes) {
return game.i18n.localize(isYes ? "Yes" : "No");
});
/* ------------------------------------ */
/* Dice */
/* ------------------------------------ */