Add comments to new API functions
This commit is contained in:
1 parent
de5465f8b8
commit
67eb9a5f61
1 file changed
+3
-1
+3
-1
@@ -1049,10 +1049,12 @@ function EID:getErrorColor()
|
||||
return EID:getColor(EID.Config["ErrorColor"], EID.InlineColors["ColorEIDError"])
|
||||
end
|
||||
|
||||
|
||||
-- Specify the name of the mod which will be displayed next to the item name
|
||||
-- By default EID takes the mod name
|
||||
function EID:setModIndicatorName(newName)
|
||||
EID.ModIndicator[EID._currentMod].Name = newName
|
||||
end
|
||||
-- Set an icon for the mod which will be displayed next to the item name
|
||||
function EID:setModIndicatorIcon(iconMarkup, override)
|
||||
if override == nil then override = true end -- overide previous value if not specified
|
||||
if EID.ModIndicator[EID._currentMod].Icon ~= nil and override == false then return end
|
||||
|
||||
Reference in new issue
Block a user