Adds feature to hide the descriptions when in battle
This commit is contained in:
1 parent
d3decba7be
commit
b2dff9ef7e
3 files changed
+32
-3
No files matched your search
@@ -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--------------
|
||||
|
||||
|
||||
Reference in new issue
Block a user