ItemReminder: Added player selection feature and description entry limit

This commit is contained in:
Wofsauge committed 2024-04-23 22:25:28 +02:00
1 parent 96cd905a10
commit de7668bcba
6 files changed
+114 -52

No files matched your search

+7
View File
@@ -1971,4 +1971,11 @@ function EID:GetIconStringByDescriptionObject(descObj)
end
end
return "{{Blank}}"
end
-- returns the markup for a given player ID or type. If no icon was found, returns the customTransformation icon markup
function EID:GetPlayerIcon(playerID, altFallback)
local fallback = altFallback or "{{CustomTransformation}}"
return EID:getIcon("Player" .. playerID) ~= EID.InlineIcons["ERROR"] and "{{Player" .. playerID .. "}}" or fallback
end