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

Нет описания правки
Нет описания правки
Строка 499: Строка 499:
     for _, patt in pairs(frame.args) do
     for _, patt in pairs(frame.args) do
         local ids = getrecipesbyname(frame, tablo, patt)
         local ids = getrecipesbyname(frame, tablo, patt)
        out = out .. table.length(ids)
         for type, recipes in pairs(ids) do
         for type, recipes in pairs(ids) do
            out = out .. table.length(recipes)
             for n, recipe in pairs(recipes) do
             for n, recipe in pairs(recipes) do
                 local id = recipe["id"]
                 local id = recipe["id"]