add learned recipe list and sort order
This commit is contained in:
1 parent
29fe0d59a3
commit
f5cc7b1501
2 files changed
+27
-10
No files matched your search
+20
-10
@@ -40,9 +40,9 @@ end
|
||||
|
||||
local function renderDummyBagOfCraftingDesc()
|
||||
EID.bagPlayer = Isaac.GetPlayer(0)
|
||||
EID.BoC.BagItemsOverride = {15,15,5,1,10}
|
||||
EID.BoC.RoomOverride = {8,8,8,9}
|
||||
EID.BoC.FloorOverride = {1,1,1,3,4,8,8,8,9}
|
||||
EID.BoC.BagItemsOverride = {15,15,5,1,10,8,8,9}
|
||||
EID.BoC.RoomOverride = {8,8,9}
|
||||
EID.BoC.FloorOverride = {1,1,1,3,4,8,8}
|
||||
EID.BoC.InventoryOverride = {21,22}
|
||||
EID.RefreshBagTextbox = true
|
||||
local craftingSuccess = EID:handleBagOfCraftingRendering(true)
|
||||
@@ -626,9 +626,9 @@ if MCMLoaded then
|
||||
EID:AddNumberSetting("Crafting", "DisplayBagOfCrafting", "Show Display", 1, #bagDisplays, { displayingTab = "Crafting", indexOf = bagDisplays, infoText = {"Always = Always show Results", "Hold = Show when holding up bag", "Never = Disable Bag of Crafting feature"}})
|
||||
|
||||
-- Bag of Crafting Display Mode
|
||||
local bagDisplayModes = {"Recipe List","Item Probability","Preview Only","Pickups Only"}
|
||||
local bagDisplayModes = {"Recipe List", "Learned Recipe List","Item Probability","Preview Only","Pickups Only"}
|
||||
EID:AddNumberSetting("Crafting", "BagOfCraftingDisplayRecipesMode", "Display Mode", 1, #bagDisplayModes, { indexOf = bagDisplayModes,
|
||||
infoText = {"Toggle showing a list of recipes, an item preview when bag is full, what item pool/quality you might get, or only the floor pickups"}})
|
||||
infoText = {"Toggle showing list of recipes, recipes you've learned, what item pool/quality you might get, item preview when bag is full, or only floor pickups"}})
|
||||
|
||||
-- Bag of Crafting Hide in Battle
|
||||
EID:AddBooleanSetting("Crafting", "BagOfCraftingHideInBattle", "Hide in Battle", {onText = "Yes", offText = "No",
|
||||
@@ -643,7 +643,21 @@ if MCMLoaded then
|
||||
|
||||
MCM.AddSpace("EID", "Crafting")
|
||||
MCM.AddText("EID", "Crafting", function() return "Recipe List Options" end)
|
||||
|
||||
|
||||
-- Bag of Crafting item names
|
||||
local bagSortTypes = {"Quality", "Name"}
|
||||
EID:AddNumberSetting("Crafting", "BagOfCraftingSortOrder", "Sort Recipes by", 1, #bagSortTypes,
|
||||
{ indexOf = bagSortTypes, infoText = "Sort the recipe list by quality + name, or just name", onChangeFunc =
|
||||
function(currentNum)
|
||||
EID.MCM_OptionChanged = true
|
||||
EID.BoC.SortNeeded = true
|
||||
EID.Config["BagOfCraftingSortOrder"] = bagSortTypes[currentNum]
|
||||
end})
|
||||
|
||||
-- Bag of Crafting item names
|
||||
EID:AddBooleanSetting("Crafting", "BagOfCraftingDisplayNames", "Show Item Names",
|
||||
{ infoText = "If on, each recipe result takes two lines, one for the item name, one for the recipe"})
|
||||
|
||||
-- Bag of Crafting results per page
|
||||
local bagSteps = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}
|
||||
EID:AddScrollSetting("Crafting", "BagOfCraftingResults", "Displayed Recipes", bagSteps,
|
||||
@@ -659,10 +673,6 @@ if MCMLoaded then
|
||||
EID:AddScrollSetting("Crafting", "BagOfCraftingRandomResults", "Random Calculations", calcSteps,
|
||||
{ infoText = "An additional X number of randomly chosen recipes will be checked, changing each pickup spawn/despawn or refresh"})
|
||||
|
||||
-- Bag of Crafting item names
|
||||
EID:AddBooleanSetting("Crafting", "BagOfCraftingDisplayNames", "Show Item Names",
|
||||
{ infoText = "If on, each recipe result takes two lines, one for the item name, one for the recipe"})
|
||||
|
||||
MCM.AddSpace("EID", "Crafting")
|
||||
|
||||
EID:AddHotkeySetting("Crafting",
|
||||
|
||||
Reference in new issue
Block a user