That sounds very similar to VAT in the UK.
Raw food is an "essential" and has no VAT on it.
Cooked food is a "luxury" and has 17.5% VAT (20% VAT from Jan) on it.
Going shopping and taking food home is an "essential" and has no VAT on it.
Eating out is a "luxury" and has 17.5% VAT (20% VAT from Jan) on it.
Combined these come to sometimes some odd situations.
Go to Subway and order a ham sub with salad to take away and it'll be VAT-free (despite being prepared, its cold and taken away. Get it toasted or eat it in and VAT is chargeable. Go to Starbucks and buy a muffin and it'll have two prices on it, one for eating in and another for take away. When I was little I used to think shops were charging for the priviledge of eating in and found that rather mean. Go to Domino's and order a pizza and it will always be charged VAT as it was cooked, but a dessert may be VAT-free.
The rules are more complex than just that though as to which items are luxuries or essentials, leading to debates as to eg is a Kit-Kat a biscuit or chocolate? One has VAT the other doesn't.