Well, this sounds like a crafting system, and I have seen a lot of those, and there is even one in RMRK's database. Search around using that search term, and you should have better results. I doubt there is one exactly like what you request, but there is probably one similar and it might be a bit more appealing to a scripter if he does not have to work from scratch.