From e12cdad6dedb13a0d02dca625795292a036a9985 Mon Sep 17 00:00:00 2001 From: Buurazu Date: Sat, 20 Nov 2021 01:48:19 -0500 Subject: [PATCH] avoid any potential issues from AB+ using the collectible unlock check --- eid_api.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eid_api.lua b/eid_api.lua index c77a8798..8e6ecd32 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -800,6 +800,8 @@ function EID:isCollectibleUnlocked(collectibleID, itemPoolOfItem) end function EID:isCollectibleUnlockedAnyPool(collectibleID) + --THIS FUNCTION IS FOR REPENTANCE ONLY due to using Repentance XML data; currently used by the Achievement Check, Spindown Dice, and Bag of Crafting + if not REPENTANCE then return true end local item = EID.itemConfig:GetCollectible(collectibleID) if EID.itemUnlockStates[collectibleID] == nil then --whitelist all quest items and items with no associated achievement