From 708e4969a1943f52b611f4070eb7d0c90c2e4761 Mon Sep 17 00:00:00 2001 From: Buurazu Date: Sun, 16 Jan 2022 04:11:59 -0500 Subject: [PATCH] fix bug with empty Flippable pedestals after you dropped Flip --- eid_api.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eid_api.lua b/eid_api.lua index 749893f6..9c0ea8dd 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -508,7 +508,9 @@ function EID:hasDescription(entity) isAllowed = isAllowed or (entity.Variant == PickupVariant.PICKUP_TRINKET and EID.Config["DisplayTrinketInfo"]) isAllowed = isAllowed or (entity.Variant == PickupVariant.PICKUP_TAROTCARD and EID.Config["DisplayCardInfo"]) isAllowed = isAllowed or (entity.Variant == PickupVariant.PICKUP_PILL and EID.Config["DisplayPillInfo"]) - return isAllowed and (entity.SubType > 0 or EID:getEntityData(entity, "EID_FlipItemID")) + return isAllowed and (entity.SubType > 0 or + -- For Flip descriptions, allow 5.100.0 pedestals to have descriptions under VERY specific criteria! + (REPENTANCE and EID:getEntityData(entity, "EID_FlipItemID") and EID:PlayersHaveCollectible(CollectibleType.COLLECTIBLE_FLIP))) end if entity.Type == 6 and entity.Variant == 16 and EID.Config["DisplayCraneInfo"] and REPENTANCE then isAllowed = not entity:GetSprite():IsPlaying("Broken") and not entity:GetSprite():IsPlaying("Prize") and EID.CraneItemType[tostring(entity.InitSeed)]