View Single Post
10-13-18, 06:15 AM   #16
LudiusMaximus
A Rage Talon Dragon Guard
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 321
Originally Posted by Xrystal View Post
This might help you. It details how to understand the parts of the itemstring. Recipe strings should be very similar so a similar set of code should result in what you want.

https://wow.gamepedia.com/ItemLink

EG.

item links include the value item:xxxx which is the type of link followed by its id

Give it a test run as it doesn't specify that it has been updated for BfA so there may be some additional info that they haven't documented.

Hm, the ItemLink does not seem to include the recipeID.

E.g. the reicpeID of "Savory Deviate Delight" is 8238

But string.match(itemLink, "item[%-?%d:]+") for "Savory Deviate Delight" returns

item:6661::::::::::56:71:::::::



Also the category of a recipe does not seem to have anything to do with the expansion it belongs to.

E.g. the category of "Savory Deviate Delight" is "Unusual Delights", and there is no further parent category...

Last edited by LudiusMaximus : 10-13-18 at 06:28 AM.
  Reply With Quote