Fixed Dead Cat conditional not working anymore

This commit is contained in:
Wofsauge committed 2025-09-30 10:54:20 +02:00
1 parent ce75ffbae9
commit 521440a676
1 file changed
+15
+15
View File
@@ -371,6 +371,21 @@ function EID:CheckForTaintedPlayer()
return false return false
end 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 -- Check if we have characters with Schoolbag or a pocket active item
function EID:CheckForMultipleActives(_, onlyChargeablePockets) function EID:CheckForMultipleActives(_, onlyChargeablePockets)
if EID.InsideItemReminder then if EID.InsideItemReminder then