Added damaged veteran dialog

This commit is contained in:
Aaron Lutomski
2026-06-13 11:37:51 -07:00
parent b662e86587
commit 3c2d009493
34 changed files with 1946 additions and 383 deletions
+9
View File
@@ -1,3 +1,4 @@
import { getDisorderLabel } from "../profession/disorders.js";
import DGUtils from "./utility-functions.js";
export default function registerHandlebarsHelpers() {
@@ -100,6 +101,14 @@ export default function registerHandlebarsHelpers() {
return game.user.isGM;
});
Handlebars.registerHelper("dgDisorderLabel", (value) => {
try {
return getDisorderLabel(value);
} catch {
return value ?? "";
}
});
Handlebars.registerHelper("showImpossibleLandscapesContent", () => {
let result = false;
const setting = game.settings.get(