Just to clarify more.
Since this seems near on impossible (from what I have tried to find out, I am here hoping someone tells me it is easy) to get this done I have toyed with other ideas.
Like on first cast start take a snapshot of the inventory - then on last cast end take a new snapshot of the inventory and hold them up against each other.
This would in theory give me the item and number of items created - but there are some uncertainties with this way as some craft has a higher yield than 1 pr cast to begin with.
I could probably also do a regex of the cast name since there is a pattern to it "<type>: <item name>" - but this pattern MAY not be complete (I have not seen all recepies) and may at some time become broken.
All in all - I need that recipeID somehow - and hope I can get help.
|