From 2ee771168d9efc606bb8cca1c22e0f51f82d5b8d Mon Sep 17 00:00:00 2001 From: cadowtin Date: Mon, 7 Aug 2023 16:45:15 -0500 Subject: [PATCH] Added settings to json --- scripts/settings.js | 52 ++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/scripts/settings.js b/scripts/settings.js index 555be5e..9c9b632 100644 --- a/scripts/settings.js +++ b/scripts/settings.js @@ -1,28 +1,28 @@ -Hooks.on("init", () => { +// Hooks.on("init", () => { - game.settings.register("pf2e-rpg-numbers", "font-size", { - name: game.i18n.localize("pf2e-rpg-numbers.module-settings.font-size.name"), - hint: game.i18n.localize("pf2e-rpg-numbers.module-settings.font-size.hint"), - scope: "world", - config: true, - default: 20, - type: Number, - }); - game.settings.register("pf2e-rpg-numbers", "max-font-scale", { - name: game.i18n.localize("pf2e-rpg-numbers.module-settings.max-font-scale.name"), - hint: game.i18n.localize("pf2e-rpg-numbers.module-settings.max-font-scale.hint"), - scope: "world", - config: true, - default: 3, - type: Number, - }); - game.settings.register("pf2e-rpg-numbers", "top-offset", { - name: game.i18n.localize("pf2e-rpg-numbers.module-settings.top-offset.name"), - hint: game.i18n.localize("pf2e-rpg-numbers.module-settings.top-offset.hint"), - scope: "world", - config: true, - default: 25, - type: Number, - }); +// game.settings.register("pf2e-rpg-numbers", "font-size", { +// name: game.i18n.localize("pf2e-rpg-numbers.module-settings.font-size.name"), +// hint: game.i18n.localize("pf2e-rpg-numbers.module-settings.font-size.hint"), +// scope: "world", +// config: true, +// default: 20, +// type: Number, +// }); +// game.settings.register("pf2e-rpg-numbers", "max-font-scale", { +// name: game.i18n.localize("pf2e-rpg-numbers.module-settings.max-font-scale.name"), +// hint: game.i18n.localize("pf2e-rpg-numbers.module-settings.max-font-scale.hint"), +// scope: "world", +// config: true, +// default: 3, +// type: Number, +// }); +// game.settings.register("pf2e-rpg-numbers", "top-offset", { +// name: game.i18n.localize("pf2e-rpg-numbers.module-settings.top-offset.name"), +// hint: game.i18n.localize("pf2e-rpg-numbers.module-settings.top-offset.hint"), +// scope: "world", +// config: true, +// default: 25, +// type: Number, +// }); -}); \ No newline at end of file +// }); \ No newline at end of file