Add custom mod icon + custom mod name

This commit is contained in:
Valentin Lampriere committed 2022-01-14 11:29:43 +01:00
1 parent fc477adc4f
commit 66b8c307ba
4 files changed
+34 -18

No files matched your search

+8 -1
View File
@@ -49,7 +49,6 @@ EID.ItemTypeAnm2Names = {
"familiar", -- 4
"trinket" -- 5
}
EID.MODS = { }
---------------------------------------------------------------------------
-------------------------Handle API Functions -----------------------------
@@ -1010,3 +1009,11 @@ end
function EID:getErrorColor()
return EID:getColor(EID.Config["ErrorColor"], EID.InlineColors["ColorEIDError"])
end
function EID:addModIndicatorName(newName)
EID.ModIndicator[EID._currentMod].Name = newName
end
function EID:addModIndicatorIcon(iconMarkup)
EID.ModIndicator[EID._currentMod].Icon = iconMarkup
end