Модуль:Meals Lookup: различия между версиями

Нет описания правки
Нет описания правки
Строка 20: Строка 20:
     for type, recipes in pairs(p.meals) do
     for type, recipes in pairs(p.meals) do
         for recipeId, recipe in pairs(recipes) do
         for recipeId, recipe in pairs(recipes) do
             if string(recipeId) == string(id) then
             if (recipeId == id) or (recipe["id"] == id) then
                 out = type
                 out = type
                 break
                 break