small Pandora's/Void bug fixes (#742)

* Reduce line break in pandora desc
* Include Alabaster Box in single use
* fix out of order ids
* Improve Void + single use actives
* remove single use check in api
This commit is contained in:
Buurazu authored and GitHub committed 2024-11-18 19:41:57 +01:00
1 parent f6d96b9d8c
commit e4cc1e05c1
6 files changed
+18 -8

No files matched your search

+10 -1
View File
@@ -377,8 +377,17 @@ function EID:CheckVoidAbsorbs(_, _, player)
player = player or EID.player
local playerID = EID:getPlayerID(player, true)
EID.absorbedItems[tostring(playerID)] = EID.absorbedItems[tostring(playerID)] or {}
-- Remove single use items from Void on use in Repentance
if EID.isRepentance then
for k,_ in pairs(EID.SingleUseCollectibles) do
EID.absorbedItems[tostring(playerID)][tostring(k)] = nil
end
end
for _,v in ipairs(EID:VoidRoomCheck()) do
EID.absorbedItems[tostring(playerID)][tostring(v)] = true
-- Don't include single use items in AB+ (they're immediately used and gone)
if EID.isRepentance or not EID.SingleUseCollectibles[v] then
EID.absorbedItems[tostring(playerID)][tostring(v)] = true
end
end
EID.RecheckVoid = true
end