Originally Posted by Solution_Lop
Hello, I'm looking for a method that will return me string SI_ITEMTYPEDISPLAYCATEGORY
I've been looking for a long time and haven't found anything like it. The task is to find which category the itemLink belongs to.
For example, that Heartwood is Woodworking, etc.
I've already tried the GetItemLinkCraftingSkillType(itemLink) method, but it doesn't return what I need. For example, weapons are sent to the Blacksmithing category.
|
Okay, I went into the source code of the inventory and found a solution. In case anyone is interested:
Lua Code:
local category, subcategory = GetItemLinkFilterTypeInfo(itemLink)
d(GetString("SI_ITEMFILTERTYPE", test1))
d(GetString("SI_ITEMFILTERTYPE", test2))