Fixed Conditionals not working for missing translations; + code cleanup

This commit is contained in:
Wofsauge committed 2024-02-08 20:21:00 +01:00
1 parent dd757d4995
commit 22878c9244
2 files changed
+13 -12

No files matched your search

+7
View File
@@ -901,3 +901,10 @@ EID.LocalModePositionOffset = {
Default = Vector(0, 20),
Shop = function(entity) if entity and not EID:IsGridEntity(entity) and entity:ToPickup() and entity:ToPickup():IsShopItem() then return Vector(0, 35) end end,
}
-- Character IDs that aren't allowed to have Red Health: ???, The Lost, The Soul
EID.NoRedHeartsPlayerIDs = { [4] = true, [10] = true, [17] = true }
if REPENTANCE then
-- ???, The Lost, Black Judas, The Soul, Tainted Judas, Tainted ???, Tainted Lost, Tainted Forgotten, Tainted Bethany, Tainted Soul
EID.NoRedHeartsPlayerIDs = { [4] = true, [10] = true, [12] = true, [17] = true, [24] = true, [25] = true, [31] = true, [35] = true, [36] = true, [40] = true }
end