API Functions/Items

Details could be found in "Red 5 Studios\Firefall\system\gui\lib\lib_Items.lua".
;Examples:
<nowiki>
require "lib/lib_Items";
require "lib/lib_TextFormat";
-- render a item with item color on text frame
local tf = TextFormat.Create();
tf:AppendColor(LIB_ITEMS.GetResourceQualityColor(item.quality));
tf:AppendText(item.name);
tf:AppendColor(LIB_ITEMS.GetResourceQualityColor(1));
tf:ApplyTo(MainHUDText);
</nowiki>
Category:Addon_API