morrowind-more-attentive-gu.../MWSE/mods/celediel/MoreAttentiveGuards/config.lua

26 lines
547 B
Lua

local common = require("celediel.MoreAttentiveGuards.common")
local this = {}
local currentConfig
this.default = {
-- common
language = "english",
debug = false,
-- sneak
sneakEnable = true,
sneakDialogue = true,
sneakDialogueTimer = 5,
sneakDialogueChance = 67,
-- combat
combatEnable = true,
combatDistance = 850,
combatDialogue = true
}
function this.getConfig()
currentConfig = currentConfig or mwse.loadConfig(common.configString, this.default)
return currentConfig
end
return this