Added mod indicator to custom poop

This commit is contained in:
Wofsauge committed 2024-10-28 19:58:19 +01:00
1 parent 0cf767bc51
commit bb94e101a3
2 files changed
+6 -3

No files matched your search

+5 -2
View File
@@ -616,10 +616,13 @@ function EID:ItemReminderHandlePoopSpells(player)
end
if ignoreExisting or not displayedPoopTypes[customPoop] then
EID:ItemReminderAddTempDescriptionEntry(customPoop[1], customPoop[2], customPoop[3])
local poopName = customPoop[2]
if customPoop[4] then
poopName = poopName + EID:getModNameString({ ["ModName"] = customPoop[4] })
end
EID:ItemReminderAddTempDescriptionEntry(customPoop[1], poopName, customPoop[3])
displayedPoopTypes[customPoop] = true
descsAvailableToRender = descsAvailableToRender - 1
end
end