Not much to explain but is there any way to make this more efficient? Each succeeding line is the same but with one added value. There ought to be a way to make this take up less lines and space. Is there?
local tier1Food = {'FrenchBread'}
local tier2Food = {'FrenchBread', 'Muffin'}
local tier3Food = {'FrenchBread', 'Muffin', 'Donut'}
local tier4Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie'}
local tier5Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie', 'Bagel'}
local tier6Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie', 'Bagel', 'Coffee'}
local tier7Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie', 'Bagel', 'Coffee', 'Muffin'}
local tier8Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie', 'Bagel', 'Coffee', 'Muffin', 'ApplePie'}
local tier9Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie', 'Bagel', 'Coffee', 'Muffin', 'ApplePie', 'Croissant'}
local tier10Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie', 'Bagel', 'Coffee', 'Muffin', 'ApplePie', 'Croissant', 'VanillaCake'}
local tier11Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie', 'Bagel', 'Coffee', 'Muffin', 'ApplePie', 'Croissant', 'VanillaCake', 'Cupcake'}
local tier12Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie', 'Bagel', 'Coffee', 'Muffin', 'ApplePie', 'Croissant', 'VanillaCake', 'Cupcake', 'Tea'}
local tier13Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie', 'Bagel', 'Coffee', 'Muffin', 'ApplePie', 'Croissant', 'VanillaCake', 'Cupcake', 'Tea', 'ChocolateCake'}
local tier14Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie', 'Bagel', 'Coffee', 'Muffin', 'ApplePie', 'Croissant', 'VanillaCake', 'Cupcake', 'Tea', 'ChocolateCake', 'PumpkinPie'}
local tier15Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie', 'Bagel', 'Coffee', 'Muffin', 'ApplePie', 'Croissant', 'VanillaCake', 'Cupcake', 'Tea', 'ChocolateCake', 'PumpkinPie', 'BlueberryPie'}
local tier16Food = {'FrenchBread', 'Muffin', 'Donut', 'ChocolateChipCookie', 'Bagel', 'Coffee', 'Muffin', 'ApplePie', 'Croissant', 'VanillaCake', 'Cupcake', 'Tea', 'ChocolateCake', 'PumpkinPie', 'BlueberryPie', 'StrawberryPie'}

2 comments
How are these tables being used? Are you using them to know what types of food(s) that the tiers can specifically access?
Thank you everyone who submitted answers. I apologize for being unclear about my intentions with the tables but every answer worked as I intended.