...each ingredient in the menu has a certain value and if it adds up to another value it creates a new food. But how do I make the food created be identified as correct if it matches what the customer ordered ...
Is the order of ingredients also important or not?
For easy debugging, I would use strings. So the customer order would be a value like this: "ketchup_fries_salt".
You can separate cooking process into steps/actions, each step adds a bit of string to existing string like this: new food == food & "_" & "ketchup", and then: food == new food.
In the end you compare the food string to customer order string.
If the ingredients are in any order, you can separate the strings via delimiter into an array or list and loop through that.