Fixes compatibility with MCM

This commit is contained in:
Wofsauge committed 2021-01-10 22:04:43 +01:00
1 parent 6e128aae91
commit 5d3bc9c905
2 files changed
+28 -28

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ https://moddingofisaac.com/mod/1079/external-item-descriptions
- [url=https://steamcommunity.com/id/whytefang/]adc[/url] for creating an awesome new Languagepack and providing ideas for new functionalities - [url=https://steamcommunity.com/id/whytefang/]adc[/url] for creating an awesome new Languagepack and providing ideas for new functionalities
[img]https://i.imgur.com/P6a8043.png[/img] [url=https://github.com/wofsauge/External-Item-Descriptions]Any Problems? Visit this project on GitHub[/url]</description> [img]https://i.imgur.com/P6a8043.png[/img] [url=https://github.com/wofsauge/External-Item-Descriptions]Any Problems? Visit this project on GitHub[/url]</description>
<version>3.13</version> <version>3.14</version>
<visibility>Public</visibility> <visibility>Public</visibility>
<tag id="Lua"/> <tag id="Lua"/>
<tag id="Items"/> <tag id="Items"/>
+27 -27
View File
@@ -70,7 +70,7 @@ if MCMLoaded then
"EID", "EID",
"General", "General",
{ {
Type = ModConfigMenuOptionType.NUMBER, Type = ModConfigMenu.OptionType.NUMBER,
CurrentSetting = function() CurrentSetting = function()
return AnIndexOf(EID.Languages, EID.Config["Language"]) return AnIndexOf(EID.Languages, EID.Config["Language"])
end, end,
@@ -92,7 +92,7 @@ if MCMLoaded then
"EID", "EID",
"General", "General",
{ {
Type = ModConfigMenuOptionType.NUMBER, Type = ModConfigMenu.OptionType.NUMBER,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["TranslateItemName"] return EID.Config["TranslateItemName"]
end, end,
@@ -114,7 +114,7 @@ if MCMLoaded then
"EID", "EID",
"General", "General",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["DisableOnCurse"] return EID.Config["DisableOnCurse"]
end, end,
@@ -136,7 +136,7 @@ if MCMLoaded then
"EID", "EID",
"General", "General",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["ShowUnidentifiedPillDescriptions"] return EID.Config["ShowUnidentifiedPillDescriptions"]
end, end,
@@ -156,7 +156,7 @@ if MCMLoaded then
"EID", "EID",
"General", "General",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["HideInBattle"] return EID.Config["HideInBattle"]
end, end,
@@ -182,7 +182,7 @@ if MCMLoaded then
"EID", "EID",
"General", "General",
{ {
Type = ModConfigMenuOptionType.NUMBER, Type = ModConfigMenu.OptionType.NUMBER,
CurrentSetting = function() CurrentSetting = function()
return AnIndexOf(indicators, EID.Config["Indicator"]) return AnIndexOf(indicators, EID.Config["Indicator"])
end, end,
@@ -206,7 +206,7 @@ if MCMLoaded then
"EID", "EID",
"General", "General",
{ {
Type = ModConfigMenuOptionType.SCROLL, Type = ModConfigMenu.OptionType.SCROLL,
CurrentSetting = function() CurrentSetting = function()
return AnIndexOf(distances, EID.Config["MaxDistance"]) - 1 return AnIndexOf(distances, EID.Config["MaxDistance"]) - 1
end, end,
@@ -230,7 +230,7 @@ if MCMLoaded then
"EID", "EID",
"Display", "Display",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["DisplayItemInfo"] return EID.Config["DisplayItemInfo"]
end, end,
@@ -253,7 +253,7 @@ if MCMLoaded then
"EID", "EID",
"Display", "Display",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["DisplayTrinketInfo"] return EID.Config["DisplayTrinketInfo"]
end, end,
@@ -275,7 +275,7 @@ if MCMLoaded then
"EID", "EID",
"Display", "Display",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["DisplayCardInfo"] return EID.Config["DisplayCardInfo"]
end, end,
@@ -297,7 +297,7 @@ if MCMLoaded then
"EID", "EID",
"Display", "Display",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["DisplayPillInfo"] return EID.Config["DisplayPillInfo"]
end, end,
@@ -318,7 +318,7 @@ if MCMLoaded then
"EID", "EID",
"Display", "Display",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["DisplaySacrificeInfo"] return EID.Config["DisplaySacrificeInfo"]
end, end,
@@ -340,7 +340,7 @@ if MCMLoaded then
"EID", "EID",
"Display", "Display",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["DisplayDiceInfo"] return EID.Config["DisplayDiceInfo"]
end, end,
@@ -365,7 +365,7 @@ if MCMLoaded then
"EID", "EID",
"Display", "Display",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["DisplayCardInfoShop"] return EID.Config["DisplayCardInfoShop"]
end, end,
@@ -387,7 +387,7 @@ if MCMLoaded then
"EID", "EID",
"Display", "Display",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["DisplayPillInfoShop"] return EID.Config["DisplayPillInfoShop"]
end, end,
@@ -412,7 +412,7 @@ if MCMLoaded then
"EID", "EID",
"Visuals", "Visuals",
{ {
Type = ModConfigMenuOptionType.NUMBER, Type = ModConfigMenu.OptionType.NUMBER,
CurrentSetting = function() CurrentSetting = function()
return AnIndexOf(fontTypes, EID.Config["FontType"]) return AnIndexOf(fontTypes, EID.Config["FontType"])
end, end,
@@ -435,7 +435,7 @@ if MCMLoaded then
"EID", "EID",
"Visuals", "Visuals",
{ {
Type = ModConfigMenuOptionType.NUMBER, Type = ModConfigMenu.OptionType.NUMBER,
CurrentSetting = function() CurrentSetting = function()
return AnIndexOf(textScales, EID.Config["Scale"]) return AnIndexOf(textScales, EID.Config["Scale"])
end, end,
@@ -456,7 +456,7 @@ if MCMLoaded then
"EID", "EID",
"Visuals", "Visuals",
{ {
Type = ModConfigMenuOptionType.SCROLL, Type = ModConfigMenu.OptionType.SCROLL,
CurrentSetting = function() CurrentSetting = function()
return AnIndexOf(transparencies, EID.Config["Transparency"]) - 1 return AnIndexOf(transparencies, EID.Config["Transparency"]) - 1
end, end,
@@ -477,7 +477,7 @@ if MCMLoaded then
"EID", "EID",
"Visuals", "Visuals",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["ShowItemName"] return EID.Config["ShowItemName"]
end, end,
@@ -498,7 +498,7 @@ if MCMLoaded then
"EID", "EID",
"Visuals", "Visuals",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["ShowItemType"] return EID.Config["ShowItemType"]
end, end,
@@ -518,7 +518,7 @@ if MCMLoaded then
"EID", "EID",
"Visuals", "Visuals",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["ShowItemIcon"] return EID.Config["ShowItemIcon"]
end, end,
@@ -540,7 +540,7 @@ if MCMLoaded then
"EID", "EID",
"Visuals", "Visuals",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["TransformationText"] return EID.Config["TransformationText"]
end, end,
@@ -561,7 +561,7 @@ if MCMLoaded then
"EID", "EID",
"Visuals", "Visuals",
{ {
Type = ModConfigMenuOptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["TransformationIcons"] return EID.Config["TransformationIcons"]
end, end,
@@ -586,7 +586,7 @@ if MCMLoaded then
"EID", "EID",
"Colors", "Colors",
{ {
Type = ModConfigMenuOptionType.NUMBER, Type = ModConfigMenu.OptionType.NUMBER,
CurrentSetting = function() CurrentSetting = function()
return AnIndexOf(colorNameArray, EID.Config["TextColor"]) return AnIndexOf(colorNameArray, EID.Config["TextColor"])
end, end,
@@ -609,7 +609,7 @@ if MCMLoaded then
"EID", "EID",
"Colors", "Colors",
{ {
Type = ModConfigMenuOptionType.NUMBER, Type = ModConfigMenu.OptionType.NUMBER,
CurrentSetting = function() CurrentSetting = function()
return AnIndexOf(colorNameArray, EID.Config["ItemNameColor"]) return AnIndexOf(colorNameArray, EID.Config["ItemNameColor"])
end, end,
@@ -632,7 +632,7 @@ if MCMLoaded then
"EID", "EID",
"Colors", "Colors",
{ {
Type = ModConfigMenuOptionType.NUMBER, Type = ModConfigMenu.OptionType.NUMBER,
CurrentSetting = function() CurrentSetting = function()
return AnIndexOf(colorNameArray, EID.Config["TransformationColor"]) return AnIndexOf(colorNameArray, EID.Config["TransformationColor"])
end, end,
@@ -655,7 +655,7 @@ if MCMLoaded then
"EID", "EID",
"Colors", "Colors",
{ {
Type = ModConfigMenuOptionType.NUMBER, Type = ModConfigMenu.OptionType.NUMBER,
CurrentSetting = function() CurrentSetting = function()
return AnIndexOf(colorNameArray, EID.Config["ErrorColor"]) return AnIndexOf(colorNameArray, EID.Config["ErrorColor"])
end, end,