Added option to hide soulstone descriptions when they are obstructed

This commit is contained in:
Wofsauge committed 2021-06-20 17:01:28 +02:00
1 parent 72cfe38931
commit 5838e8f2e4
3 files changed
+33 -5

No files matched your search

+21
View File
@@ -537,6 +537,27 @@ if MCMLoaded then
end
}
)
MCM.AddSetting(
"EID",
"Display",
{
Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function()
return EID.Config["DisplayObstructedSoulstoneInfo"]
end,
Display = function()
local onOff = "False"
if EID.Config["DisplayObstructedSoulstoneInfo"] then
onOff = "True"
end
return "Soulstone Infos: " .. onOff
end,
OnChange = function(currentBool)
EID.Config["DisplayObstructedSoulstoneInfo"] = currentBool
end
}
)
MCM.AddSetting(
"EID",