Compare commits

...
3 Commits
Author SHA1 Message Date
Wofsauge 449d434803 chore: release 5.08
Check Localization / Check Localization process (push) Canceled after 0s
2025-09-30 11:11:48 +02:00
Wofsauge 521440a676 Fixed Dead Cat conditional not working anymore 2025-09-30 10:54:20 +02:00
Wofsauge ce75ffbae9 Fixed EID:ConcatTables() function causing errors in ab+ 2025-09-30 10:53:49 +02:00
4 changed files with 26 additions and 9 deletions

No files matched your search

+8 -6
View File
@@ -3146,14 +3146,16 @@ end
---Super simple table concatenation: https://www.tutorialspoint.com/concatenation-of-tables-in-lua-programming
---@generic T
---@param t1 T[]
---@param t2 T[]
---@param table1 T[]
---@param table2 T[]
---@return T[]
function EID:ConcatTables(t1, t2)
for i = 1, #t2 do
t1[#t1 + 1] = t2[i]
function EID:ConcatTables(table1, table2)
if table1 == nil then table1 = {} end
if table2 == nil then table2 = {} end
for _, value in ipairs(table2) do
table.insert(table1, value)
end
return t1
return table1
end
---Thing to fix find/replace pairs with hyphens (like "1-2") or pluses (like +1 Health) breaking because of special characters
+15
View File
@@ -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
+2 -2
View File
@@ -11,8 +11,8 @@ EID.isRepentance = REPENTANCE or EID.isRepentancePlus -- REPENTANCE variable can
require("eid_config")
EID.Config = EID.UserConfig
EID.Config.Version = "3.2" -- note: changing this will reset everyone's settings to default!
EID.ModVersion = 5.07
EID.ModVersionCommit = "fc0c4e3"
EID.ModVersion = 5.08
EID.ModVersionCommit = "521440a"
EID.DefaultConfig.Version = EID.Config.Version
EID.isHidden = false
EID.player = nil -- The primary Player Entity of Player 1
+1 -1
View File
@@ -56,7 +56,7 @@ There are multiple Versions of the mod, depending on which DLCs you have install
[img]https://i.imgur.com/jrdGbna.png[/img]
[url=https://github.com/wofsauge/External-Item-Descriptions/blob/master/CREDITS.md]Check out the credits here[/url]
</description>
<version>5.7</version>
<version>5.8</version>
<visibility>Public</visibility>
<tag id="Lua"/>
<tag id="Items"/>