You've already asked this, why create a new post? Have you tried searching this forum or tutorials?
It's not an easy task and hard-coding all crafting combinations with events is definitely a bad idea. You need some sort of a database (for example a text file in XML, JSON or CSV format) with the list of all items and materials needed to craft them.