I was thinking it would be possible if upon activating the oven, it opens a menu, which has a variety of foods listed. I would also have a book of recipes. but when a player clicks on the choice in the menu for say, a sandwich, it checks the inventory of the Player, for Bread Loaf, Cheese, and Ham. It would then remove them from the inventory, and add a Sandwich item into the inventory. But alas I have no grasp on scripting at all, so I am not sure how to accomplish this.
EDIT: Whoops, I meant noob to scripting >.<