From 13664ce393dcb32b2529d689c71cc3717d783891 Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Sat, 15 May 2021 15:47:45 +0200 Subject: [PATCH] Added option to change Bag of Crafting Results --- eid_config.lua | 10 +++++++++- main.lua | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/eid_config.lua b/eid_config.lua index 8e910c2a..e85bfcf2 100644 --- a/eid_config.lua +++ b/eid_config.lua @@ -57,9 +57,12 @@ EID.DefaultConfig = { ["HideInBattle"] = false, -------------CURSE------------- - -- Display informations when the floor has curse of the blind ( ? - Items) + -- Disable informations when the floor has curse of the blind ( ? - Items) -- Default = true ["DisableOnCurse"] = true, + -- Disable Item informations for the second Treasure room item on alt paths + -- Default = true + ["DisableOnAltPath"] = true -- CURRENTLY NOT WORKING! ----------ITEM NAMES----------- -- Toggle Display of Collectible / Card and Pill names @@ -121,6 +124,11 @@ EID.DefaultConfig = { -- Default = true ["DisplayDiceInfo"] = true, -------------MISC--------------- + + -- Changes the number of Results shown in the Bag of crafting description + -- Higher numbers can cause more lag! + -- Default = 7 + ["BagOfCraftingResults"] = 7, -- Error message displayed when an error occurs -- Default = [Effect not defined] diff --git a/main.lua b/main.lua index 58e77d3c..306f7f5c 100644 --- a/main.lua +++ b/main.lua @@ -373,7 +373,7 @@ local function handleBagOfCraftingRendering() end end end - if resultCount >9 then + if resultCount > EID.Config["BagOfCraftingResults"] then break end end