diff --git a/MWSE/mods/celediel/MoreAttentiveGuards/mcm.lua b/MWSE/mods/celediel/MoreAttentiveGuards/mcm.lua index f3fa9d2..3bae032 100644 --- a/MWSE/mods/celediel/MoreAttentiveGuards/mcm.lua +++ b/MWSE/mods/celediel/MoreAttentiveGuards/mcm.lua @@ -1,6 +1,8 @@ local config = require("celediel.MoreAttentiveGuards.config").getConfig() local common = require("celediel.MoreAttentiveGuards.common") +-- {{{ helper functions + local function createTableVar(id) return mwse.mcm.createTableVariable({id = id, table = config}) end local function createLanguageOptions() @@ -14,6 +16,10 @@ local function createLanguageOptions() return options end +-- }}} + +-- {{{ main settings page + local template = mwse.mcm.createTemplate(common.modName) template:saveOnClose(common.configString, config) @@ -24,6 +30,8 @@ local page = template:createSideBarPage({ local mainCategory = page:createCategory(common.modName) +-- }}} + -- {{{ general settings local generalCategory = mainCategory:createCategory("Common settings")