Added option to toggle off item description in the april fools challenge

This commit is contained in:
Wofsauge committed 2021-05-26 21:39:46 +02:00
1 parent ef48ea6880
commit 2792b764d7
3 files changed
+26 -1

No files matched your search

+21
View File
@@ -134,6 +134,27 @@ if MCMLoaded then
end
}
)
-- Disable April Fools
MCM.AddSetting(
"EID",
"General",
{
Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function()
return EID.Config["DisableOnAprilFoolsChallenge"]
end,
Display = function()
local onOff = "True"
if EID.Config["DisableOnAprilFoolsChallenge"] then
onOff = "False"
end
return 'Show on April Fools Challenge: ' .. onOff
end,
OnChange = function(currentBool)
EID.Config["DisableOnAprilFoolsChallenge"] = currentBool
end
}
)
-- Disable Alt Item option
MCM.AddSetting(
"EID",