Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Author: DaffyDavinko
- -- Name: Recipe Manager
- -- Desc: Handles all recipes.
- local RecipeManager = {}
- Recipes = {
- [ "Grilled Cheese Sandwhich" ] = {
- Ingredient1 = "Bread",
- Ingredient2 = "Butter",
- Ingredient3 = "American Cheese"
- }
- }
- local ItemRecipeName = {"Grilled Cheese Sandwhich"}
- function FindRecipe(Recipes)
- for i,v in pairs(Recipes) do
- table.find(Recipes, ItemRecipeName[1])
- end
- end
- return RecipeManager
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement