diff --git a/lang/en.json b/lang/en.json
index 4e724675..c11d926c 100755
--- a/lang/en.json
+++ b/lang/en.json
@@ -2752,6 +2752,7 @@
"label": "Appearance Settings",
"hint": "Modify the look of various parts of the system",
"duality": "Duality Rolls",
+ "globalSettings": "GM Settings",
"globalAnimations": "Global Animations",
"diceAppearance": "Dice Appearance",
"animations": "Animations",
diff --git a/module/applications/settings/appearanceSettings.mjs b/module/applications/settings/appearanceSettings.mjs
index 87135b06..9827ad48 100644
--- a/module/applications/settings/appearanceSettings.mjs
+++ b/module/applications/settings/appearanceSettings.mjs
@@ -50,7 +50,8 @@ export default class DHAppearanceSettings extends HandlebarsApplicationMixin(App
{ id: 'hope', label: 'DAGGERHEART.GENERAL.hope' },
{ id: 'fear', label: 'DAGGERHEART.GENERAL.fear' },
{ id: 'advantage', label: 'DAGGERHEART.GENERAL.Advantage.full' },
- { id: 'disadvantage', label: 'DAGGERHEART.GENERAL.Disadvantage.full' }
+ { id: 'disadvantage', label: 'DAGGERHEART.GENERAL.Disadvantage.full' },
+ { id: 'general', label: 'DAGGERHEART.GENERAL.general' }
],
initial: 'hope'
}
@@ -102,6 +103,7 @@ export default class DHAppearanceSettings extends HandlebarsApplicationMixin(App
context.tabs = this._prepareTabs('general');
context.dsnTabs = this._prepareTabs('diceSoNice');
+
context.isGM = game.user.isGM;
return context;
@@ -174,6 +176,7 @@ export default class DHAppearanceSettings extends HandlebarsApplicationMixin(App
(acc, key) => ({
...acc,
[key]: {
+ diceTab: key !== 'general',
values: this.setting.diceSoNice[key],
fields: this.setting.schema.getField(`diceSoNice.${key}`).fields,
animations: ['hope', 'fear'].includes(key) ? getAnimationsOptions(key) : {}
diff --git a/module/systemRegistration/handlebars.mjs b/module/systemRegistration/handlebars.mjs
index 9ccb16f4..f51e1035 100644
--- a/module/systemRegistration/handlebars.mjs
+++ b/module/systemRegistration/handlebars.mjs
@@ -46,6 +46,7 @@ export const preloadHandlebarsTemplates = async function () {
'systems/daggerheart/templates/ui/chat/parts/target-part.hbs',
'systems/daggerheart/templates/ui/chat/parts/button-part.hbs',
'systems/daggerheart/templates/ui/itemBrowser/itemContainer.hbs',
- 'systems/daggerheart/templates/scene/dh-config.hbs'
+ 'systems/daggerheart/templates/scene/dh-config.hbs',
+ 'systems/daggerheart/templates/settings/appearance-settings/diceSoNiceTab.hbs'
]);
};
diff --git a/templates/settings/appearance-settings/diceSoNice.hbs b/templates/settings/appearance-settings/diceSoNice.hbs
index 3e46b38e..c76ee7e3 100644
--- a/templates/settings/appearance-settings/diceSoNice.hbs
+++ b/templates/settings/appearance-settings/diceSoNice.hbs
@@ -2,20 +2,6 @@