Added option to disable the achievement warning
This commit is contained in:
1 parent
e9e9751913
commit
5d700d6e29
3 files changed
+29
-1
No files matched your search
@@ -354,6 +354,29 @@ if MCMLoaded then
|
||||
Info = {"Distance to the object until descriptions are displayed."}
|
||||
}
|
||||
)
|
||||
|
||||
-- disable achievements
|
||||
MCM.AddSetting(
|
||||
"EID",
|
||||
"General",
|
||||
{
|
||||
Type = ModConfigMenu.OptionType.BOOLEAN,
|
||||
CurrentSetting = function()
|
||||
return EID.Config["DisableAchievementCheck"]
|
||||
end,
|
||||
Display = function()
|
||||
local onOff = "Enabled"
|
||||
if EID.Config["DisableAchievementCheck"] then
|
||||
onOff = "Disabled"
|
||||
end
|
||||
return "Achievement warning: " .. onOff
|
||||
end,
|
||||
OnChange = function(currentBool)
|
||||
EID.Config["DisableAchievementCheck"] = currentBool
|
||||
end,
|
||||
Info = {"Use this to turn off the achievement warning"}
|
||||
}
|
||||
)
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
---------------------------------Display-----------------------------------
|
||||
|
||||
Reference in new issue
Block a user