diff --git a/src/module/settings/index.ts b/src/module/settings/index.ts index 800031b4d..f2b7a8405 100644 --- a/src/module/settings/index.ts +++ b/src/module/settings/index.ts @@ -131,6 +131,20 @@ export function registerWorkbenchSettings() { onChange: () => updateHooks(), }); + game.settings.register(MODULENAME, "rkBreakdown", { + name: `${MODULENAME}.macros.recallKnowledge.breakdown.name`, + hint: `${MODULENAME}.macros.recallKnowledge.breakdown.hint`, + scope: "world", + config: true, + default: "all", + type: String, + choices: { + all: game.i18n.localize(`${MODULENAME}.macros.recallKnowledge.breakdown.all`), + extra: game.i18n.localize(`${MODULENAME}.macros.recallKnowledge.breakdown.extra`), + none: game.i18n.localize(`${MODULENAME}.macros.recallKnowledge.breakdown.none`), + }, + }); + game.settings.register(MODULENAME, "customPauseImage", { name: `${MODULENAME}.SETTINGS.customPauseImage.name`, hint: `${MODULENAME}.SETTINGS.customPauseImage.hint`, diff --git a/static/lang/en.json b/static/lang/en.json index 103268401..7d0f80dd1 100644 --- a/static/lang/en.json +++ b/static/lang/en.json @@ -123,6 +123,15 @@ "noSpellcastingEntry": "You must have either an NPC character sheet open and selected, or a single NPC token selected. Also, said NPC must have a spellcasting entry.", "generatedSpellbookFor": "Generated spellbook for {name}" }, + "recallKnowledge": { + "breakdown": { + "name": "Recall Knowledge: Show roll breakdowns", + "hint": "Show a breakdown of the modifiers applied to each skill on a line below the result.", + "all": "All modifiers", + "extra": "Extra modifiers; omit skill and proficiency", + "none": "Don't show any modifiers" + } + }, "refocus": { "regains": "Regains {focus} focus points.", "notPsychic": "spent at least {regain} focus points",