some sorting
This commit is contained in:
parent
f98c564a0d
commit
f709b409fd
1 changed files with 8 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Reference in a new issue