Adds feature to hide the descriptions when in battle

This commit is contained in:
Wofsauge committed 2020-11-27 23:22:20 +01:00
1 parent d3decba7be
commit b2dff9ef7e
3 files changed
+32 -3

No files matched your search

+20
View File
@@ -167,6 +167,26 @@ if MCMLoaded then
end
}
)
ModConfigMenu.AddSetting(
"EID",
"Rooms",
{
Type = ModConfigMenuOptionType.BOOLEAN,
CurrentSetting = function()
return EID.Config["HideInBattle"]
end,
Display = function()
local onOff = "False"
if EID.Config["HideInBattle"] then
onOff = "True"
end
return "Hide in Battle: " .. onOff
end,
OnChange = function(currentBool)
EID.Config["HideInBattle"] = currentBool
end
}
)
------------Collectibles--------------