From 7d96ff9a24bce3293ac2cceec6783e35c74fcdd9 Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Tue, 20 Sep 2022 00:07:53 +0200 Subject: [PATCH] Added Bag of Crafting item reminder that tells you how many items you are missing --- eid_holdmapdesc.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/eid_holdmapdesc.lua b/eid_holdmapdesc.lua index 26f1f9df..333fc1c0 100644 --- a/eid_holdmapdesc.lua +++ b/eid_holdmapdesc.lua @@ -110,6 +110,18 @@ function EID:getHoldMapDescription(player, checkingTwin) blacklist["5.100.392"] = true end end + + -- Bag of Crafting + if REPENTANCE and player:HasCollectible(710) then + local floorQuery = EID.BoC.FloorOverride or EID.BoC.FloorQuery + local inventoryQuery= EID.BoC.InventoryOverride or EID.BoC.InventoryQuery + local bagItems = EID.BoC.BagItemsOverride or EID.BoC.BagItems + local total = #floorQuery + #inventoryQuery+#bagItems + local text = total.." of 8 items available" + if total < 8 then text = text .. "#{{Warning}} Needs at least 8 to show crafting recipes!" end + blacklist["5.100.710"] = true + append("{{Collectible710}}", EID:getObjectName(5,100,710), text) + end -- Recently Acquired Item Descriptions if EID.Config["ItemReminderShowRecentItem"] > 0 then