Added new config options to toggle collectible and trinket descriptions

This commit is contained in:
wofsauge committed 2020-04-05 19:51:17 +02:00
1 parent 99a4207c62
commit b4dae6b71a
4 files changed
+160 -40

No files matched your search

+36
View File
@@ -100,6 +100,42 @@ if ModConfigMenu then
})
------------Collectibles--------------
ModConfigMenu.AddSetting("EID","General", {
Type = ModConfigMenuOptionType.BOOLEAN,
CurrentSetting = function()
return EIDConfig["DisplayItemInfo"]
end,
Display = function()
local onOff = "False"
if EIDConfig["DisplayItemInfo"] then
onOff = "True"
end
return "Collectible Infos: " .. onOff
end,
OnChange = function(currentBool)
EIDConfig["DisplayItemInfo"] = currentBool
end,
})
------------Trinkets--------------
ModConfigMenu.AddSetting("EID","General", {
Type = ModConfigMenuOptionType.BOOLEAN,
CurrentSetting = function()
return EIDConfig["DisplayTrinketInfo"]
end,
Display = function()
local onOff = "False"
if EIDConfig["DisplayTrinketInfo"] then
onOff = "True"
end
return "Trinket Infos: " .. onOff
end,
OnChange = function(currentBool)
EIDConfig["DisplayTrinketInfo"] = currentBool
end,
})
------------CARDS--------------
ModConfigMenu.AddSetting("EID","General", {