From f709b409fd59164959f18ea6a2b1d03984843d6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Tue, 28 Jul 2020 21:06:34 -0700 Subject: [PATCH] some sorting --- MWSE/mods/celediel/MoreAttentiveGuards/mcm.lua | 8 ++++++++ 1 file changed, 8 insertions(+) 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")