Added option to hide soulstone informations in shops

This commit is contained in:
Wofsauge committed 2021-05-26 22:00:50 +02:00
1 parent 2792b764d7
commit bc5ced7f8c
3 files changed
+29 -2

No files matched your search

+23 -1
View File
@@ -517,6 +517,27 @@ if MCMLoaded then
}
)
MCM.AddSetting(
"EID",
"Display",
{
Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function()
return EID.Config["DisplaySoulstoneInfoShop"]
end,
Display = function()
local onOff = "False"
if EID.Config["DisplaySoulstoneInfoShop"] then
onOff = "True"
end
return "Soulstone Infos: " .. onOff
end,
OnChange = function(currentBool)
EID.Config["DisplaySoulstoneInfoShop"] = currentBool
end
}
)
-- Spindown Dice results
local diceSteps = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
MCM.AddSetting(
@@ -623,7 +644,8 @@ if MCMLoaded then
end,
OnChange = function(currentNum)
EID.Config["Scale"] = textScales[currentNum]
end
end,
Info = {"Change text size. CAN BE HARD TO READ IN SOME SETTINGS!"}
}
)