Originally Posted by Xrystal
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...