From 521440a67680828e25e3818bbb05bfd191d66b77 Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Tue, 30 Sep 2025 10:54:20 +0200 Subject: [PATCH] Fixed Dead Cat conditional not working anymore --- features/eid_conditionals_funcs.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/features/eid_conditionals_funcs.lua b/features/eid_conditionals_funcs.lua index 7b77e138..130df9a4 100644 --- a/features/eid_conditionals_funcs.lua +++ b/features/eid_conditionals_funcs.lua @@ -371,6 +371,21 @@ function EID:CheckForTaintedPlayer() return false end +-- Check if we have any characters that can't have Red Health, to print additions to descs like Dead Cat +function EID:CheckForNoRedHealthPlayer() + if EID.InsideItemReminder then + local player = EID.ItemReminderPlayerEntity + return EID.CharacterToHeartType[player:GetPlayerType()] ~= "Red" + else + for _, player in ipairs(EID.coopAllPlayers) do + if EID.CharacterToHeartType[player:GetPlayerType()] ~= "Red" then + return true + end + end + end + return false +end + -- Check if we have characters with Schoolbag or a pocket active item function EID:CheckForMultipleActives(_, onlyChargeablePockets) if EID.InsideItemReminder then