remove Breakfast option, add Bag hide in battle option

This commit is contained in:
Buurazu authored and GitHub committed 2021-11-15 21:57:25 -05:00
1 parent 10734a46ca
commit c62d9b8c4d
1 file changed
+6 -6
+6 -6
View File
@@ -1080,26 +1080,26 @@ if MCMLoaded then
Info = {"If on, each result takes two lines; lower your displayed results accordingly"} Info = {"If on, each result takes two lines; lower your displayed results accordingly"}
} }
) )
-- Bag of Crafting Breakfast recipes -- Bag of Crafting Hide in Battle
MCM.AddSetting( MCM.AddSetting(
"EID", "EID",
"Crafting", "Crafting",
{ {
Type = ModConfigMenu.OptionType.BOOLEAN, Type = ModConfigMenu.OptionType.BOOLEAN,
CurrentSetting = function() CurrentSetting = function()
return EID.Config["BagOfCraftingDisplayBreakfast"] return EID.Config["BagOfCraftingHideInBattle"]
end, end,
Display = function() Display = function()
local onOff = "False" local onOff = "False"
if EID.Config["BagOfCraftingDisplayBreakfast"] then if EID.Config["BagOfCraftingHideInBattle"] then
onOff = "True" onOff = "True"
end end
return "Show Locked Recipes: " .. onOff return "Show Item Names: " .. onOff
end, end,
OnChange = function(currentBool) OnChange = function(currentBool)
EID.Config["BagOfCraftingDisplayBreakfast"] = currentBool EID.Config["BagOfCraftingHideInBattle"] = currentBool
end, end,
Info = {"Recipes for locked items turn into Breakfast, cluttering the list; the method to check for unlock status is not perfect, though"} Info = {"Hides the recipe list when in a fight"}
} }
) )