API Functions/Items

Details could be found in "Red 5 Studios\Firefall\system\gui\lib\lib_Items.lua".

require "lib/lib_Items"; require "lib/lib_TextFormat";
 * Examples:

-- 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);