Модуль:Meals Lookup: различия между версиями
Mhamster (обсуждение | вклад) buildslicerecipes |
Mhamster (обсуждение | вклад) Нет описания правки |
||
| Строка 115: | Строка 115: | ||
function p.buildslicerecipes(frame) | function p.buildslicerecipes(frame) | ||
local out = "" | local out = "" | ||
for id in pairs(getrecipesfromtype(frame, " | for id in pairs(getrecipesfromtype(frame, "sliceableRecipes")) do | ||
out = out .. frame:preprocess("{{#invoke:Meals Lookup|buildslicerecipebox|" .. id .. "}}") .. "\n" | out = out .. frame:preprocess("{{#invoke:Meals Lookup|buildslicerecipebox|" .. id .. "}}") .. "\n" | ||
end | end | ||