Hides Mod config menu Options in AB+, that are exclusive for Repentance

This commit is contained in:
Wofsauge committed 2021-12-12 19:42:50 +01:00
1 parent 5bcfd82347
commit c7b8f6deab
2 files changed
+34 -11

No files matched your search

+17 -9
View File
@@ -93,6 +93,7 @@ EID.UserConfig = {
-- Default = true -- Default = true
["DisableOnCurse"] = true, ["DisableOnCurse"] = true,
-- Disable Item informations for the second Treasure room item on alt paths -- Disable Item informations for the second Treasure room item on alt paths
-- REPENTANCE ONLY!!!
-- Default = true -- Default = true
["DisableOnAltPath"] = true, ["DisableOnAltPath"] = true,
-- Disable Item informations on the April fools challenge -- Disable Item informations on the April fools challenge
@@ -119,6 +120,13 @@ EID.UserConfig = {
-- Set the color-name of the Itemname description text. Color names can be found& defined in "eid_data.lua" -- Set the color-name of the Itemname description text. Color names can be found& defined in "eid_data.lua"
-- Default = "ColorEIDObjName" -- Default = "ColorEIDObjName"
["ItemNameColor"] = "ColorEIDObjName", ["ItemNameColor"] = "ColorEIDObjName",
-- Show ID of described object in the format "Type.Variant.SubType" next to the name
-- Default = false
["ShowObjectID"] = false,
-- Enables or disables item quality after item name
-- REPENTANCE ONLY!!!
-- Default = true
["ShowQuality"] = true,
-------TRANSFORMATIONS--------- -------TRANSFORMATIONS---------
@@ -141,15 +149,18 @@ EID.UserConfig = {
-- Default = false -- Default = false
["DisplayCardInfoShop"] = false, ["DisplayCardInfoShop"] = false,
-- Toggle Display of Soulstone descriptions when its a shop item -- Toggle Display of Soulstone descriptions when its a shop item
-- REPENTANCE ONLY!!!
-- Default = true -- Default = true
["DisplaySoulstoneInfoShop"] = true, ["DisplaySoulstoneInfoShop"] = true,
-- Toggle Display of Card / Rune descriptions when its not accessable with walking. AKA behind rock, blocks, spikes -- Toggle Display of Card / Rune descriptions when its not accessable with walking. AKA behind rock, blocks, spikes
-- Default = false -- Default = false
["DisplayObstructedCardInfo"] = false, ["DisplayObstructedCardInfo"] = false,
-- Toggle Display of Soulstone descriptions when its not accessable with walking. AKA behind rock, blocks, spikes -- Toggle Display of Soulstone descriptions when its not accessable with walking. AKA behind rock, blocks, spikes
-- REPENTANCE ONLY!!!
-- Default = true -- Default = true
["DisplayObstructedSoulstoneInfo"] = true, ["DisplayObstructedSoulstoneInfo"] = true,
-- Toggle Display of Card / Rune descriptions that are spawned with the Options? item -- Toggle Display of Card / Rune descriptions that are spawned with the Options? item
-- REPENTANCE ONLY!!!
-- Default = false -- Default = false
["DisplayCardInfoOptions?"] = false, ["DisplayCardInfoOptions?"] = false,
@@ -165,6 +176,7 @@ EID.UserConfig = {
-- Default = false -- Default = false
["DisplayObstructedPillInfo"] = false, ["DisplayObstructedPillInfo"] = false,
-- Toggle Display of Pill descriptions that are spawned with the Options? item -- Toggle Display of Pill descriptions that are spawned with the Options? item
-- REPENTANCE ONLY!!!
-- Default = true -- Default = true
["DisplayPillInfoOptions?"] = true, ["DisplayPillInfoOptions?"] = true,
-- Toggle Display of Pill descriptions that arent known to you yet -- Toggle Display of Pill descriptions that arent known to you yet
@@ -184,6 +196,7 @@ EID.UserConfig = {
["DisplayDiceInfo"] = true, ["DisplayDiceInfo"] = true,
---------Bag of Crafting----------- ---------Bag of Crafting-----------
-- REPENTANCE ONLY!!!
-- When to show the Bag of Crafting display -- When to show the Bag of Crafting display
-- Options: "always", "hold", "never" -- Options: "always", "hold", "never"
@@ -255,17 +268,15 @@ EID.UserConfig = {
-------------MISC--------------- -------------MISC---------------
-- Changes the number of Results shown for the additional Spindown dice description -- Changes the number of Results shown for the additional Spindown dice description
-- REPENTANCE ONLY!!!
-- Default = 3 -- Default = 3
["SpindownDiceResults"] = 3, ["SpindownDiceResults"] = 3,
-- Spindown dice preview can skip over locked items, however the method for determining an item's locked status is not perfect -- Spindown dice preview can skip over locked items, however the method for determining an item's locked status is not perfect
-- REPENTANCE ONLY!!!
-- Default = false -- Default = false
["SpindownDiceSkipLocked"] = false, ["SpindownDiceSkipLocked"] = false,
-- Show ID of described object in the format "Type.Variant.SubType" next to the name
-- Default = false
["ShowObjectID"] = false,
-- Error message displayed when an error occurs -- Error message displayed when an error occurs
-- Default = [Effect not defined] -- Default = [Effect not defined]
["ErrorMessage"] = "[Effect not defined]", ["ErrorMessage"] = "[Effect not defined]",
@@ -278,9 +289,6 @@ EID.UserConfig = {
-- Enables or disables custom Descriptions for entities -- Enables or disables custom Descriptions for entities
-- Default = true -- Default = true
["EnableEntityDescriptions"] = true, ["EnableEntityDescriptions"] = true,
-- Enables or disables item quality after item name
-- Default = true
["ShowQuality"] = true
} }
--END CONFIG-- --END CONFIG--
@@ -328,6 +336,8 @@ EID.DefaultConfig = {
["DisplayItemInfo"] = true, ["DisplayItemInfo"] = true,
["DisplayTrinketInfo"] = true, ["DisplayTrinketInfo"] = true,
["ItemNameColor"] = "ColorEIDObjName", ["ItemNameColor"] = "ColorEIDObjName",
["ShowQuality"] = true,
["ShowObjectID"] = false,
["TransformationText"] = true, ["TransformationText"] = true,
["TransformationIcons"] = true, ["TransformationIcons"] = true,
["TransformationColor"] = "ColorEIDTransform", ["TransformationColor"] = "ColorEIDTransform",
@@ -365,6 +375,4 @@ EID.DefaultConfig = {
["TextColor"] = "ColorEIDText", ["TextColor"] = "ColorEIDText",
["ErrorColor"] = "ColorEIDError", ["ErrorColor"] = "ColorEIDError",
["EnableEntityDescriptions"] = true, ["EnableEntityDescriptions"] = true,
["ShowQuality"] = true,
["ShowObjectID"] = false,
} }
+17 -2
View File
@@ -369,6 +369,8 @@ if MCMLoaded then
end end
} }
) )
if REPENTANCE then
-- Disable Alt Item option -- Disable Alt Item option
MCM.AddSetting( MCM.AddSetting(
"EID", "EID",
@@ -390,6 +392,7 @@ if MCMLoaded then
end end
} }
) )
end
--------ShowUnidentifiedPillDescriptions--------- --------ShowUnidentifiedPillDescriptions---------
MCM.AddSetting( MCM.AddSetting(
@@ -616,10 +619,12 @@ if MCMLoaded then
} }
) )
local diceSteps = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}
if REPENTANCE then
MCM.AddSpace("EID", "Display") MCM.AddSpace("EID", "Display")
-- Spindown Dice results -- Spindown Dice results
local diceSteps = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}
MCM.AddSetting( MCM.AddSetting(
"EID", "EID",
"Display", "Display",
@@ -662,6 +667,7 @@ if MCMLoaded then
Info = {"Skip locked items in the preview just as the dice will; the method to check for unlock status is not perfect, though"} Info = {"Skip locked items in the preview just as the dice will; the method to check for unlock status is not perfect, though"}
} }
) )
end
--------Obstruction--------- --------Obstruction---------
MCM.AddSpace("EID", "Display") MCM.AddSpace("EID", "Display")
@@ -709,6 +715,7 @@ if MCMLoaded then
} }
) )
if REPENTANCE then
MCM.AddSetting( MCM.AddSetting(
"EID", "EID",
"Display", "Display",
@@ -729,6 +736,7 @@ if MCMLoaded then
end end
} }
) )
end
MCM.AddSetting( MCM.AddSetting(
"EID", "EID",
@@ -798,6 +806,7 @@ if MCMLoaded then
} }
) )
if REPENTANCE then
MCM.AddSetting( MCM.AddSetting(
"EID", "EID",
"Display", "Display",
@@ -863,6 +872,7 @@ if MCMLoaded then
end end
} }
) )
end
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
---------------------------------Visuals----------------------------------- ---------------------------------Visuals-----------------------------------
-- Font Type -- Font Type
@@ -1097,6 +1107,8 @@ if MCMLoaded then
end end
} }
) )
if REPENTANCE then
-------Quality ICON--------- -------Quality ICON---------
MCM.AddSetting( MCM.AddSetting(
"EID", "EID",
@@ -1118,6 +1130,7 @@ if MCMLoaded then
end end
} }
) )
end
-------Object ID--------- -------Object ID---------
MCM.AddSetting( MCM.AddSetting(
"EID", "EID",
@@ -1140,8 +1153,9 @@ if MCMLoaded then
} }
) )
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
---------------------------------Visuals----------------------------------- -----------------------------BAG OF CRAFTING-------------------------------
if REPENTANCE then
-- Bag of Crafting Display -- Bag of Crafting Display
local bagDisplays = {"always","hold","never"} local bagDisplays = {"always","hold","never"}
MCM.AddSetting( MCM.AddSetting(
@@ -1326,6 +1340,7 @@ if MCMLoaded then
Info = {"Press this to clear all currently detected items on the floor"} Info = {"Press this to clear all currently detected items on the floor"}
} }
) )
end
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
-----------------------------Mouse Controls-------------------------------- -----------------------------Mouse Controls--------------------------------