Hmm.... I missed this post last week or maybe I could have given you some ideas. Good job working on it and figuring it out on your own though!
I might be able to help you simplify it if you are interested. Here is a capx I put together based on your system.
https://www.dropbox.com/s/a5tp1k9f2s9e9 ... .capx?dl=0
The major improvement is that it is infinitely scale able by using loops - it does not matter how many parts there are to any recipe. Also you will never refer to any material/ingredient/item by name or any specific amount in the events, this keeps things flexible. Otherwise, you might end up creating an event for every recipe you have, which could be hundreds!
Also, I highly recommend using different tokens in your recipe book (, and |)! Then you can use nested tokenats and it will be much easier to wrap your head around.
Hopefully this will be of help to you, and you can figure out how to use it best for your own project and add features ect. I commented the capx, but let me know if you have any questions about how it works.