Модуль:Meals Lookup: различия между версиями
Mhamster (обсуждение | вклад) Нет описания правки |
Mhamster (обсуждение | вклад) Нет описания правки |
||
| Строка 173: | Строка 173: | ||
local out = "" | local out = "" | ||
for id in pairs(getrecipesfromtype(frame, "heatableRecipes")) do | for id in pairs(getrecipesfromtype(frame, "heatableRecipes")) do | ||
out = out .. frame:preprocess("{{#invoke:Meals Lookup| | out = out .. frame:preprocess("{{#invoke:Meals Lookup|buildheatrecipebox|" .. id .. "}}") .. "\n" | ||
end | end | ||
return out | return out | ||
| Строка 238: | Строка 238: | ||
out = out .. p.buildslicerecipes(frame) | out = out .. p.buildslicerecipes(frame) | ||
out = out .. p.buildgrindrecipes(frame) | out = out .. p.buildgrindrecipes(frame) | ||
out = out .. p. | out = out .. p.buildheatrecipes(frame) | ||
-- out = out .. "\n" .. frame:preprocess("{{#invoke:Meals Lookup|buildmicrowaverecipebox|" .. frame.args[1] .. "}}") | -- out = out .. "\n" .. frame:preprocess("{{#invoke:Meals Lookup|buildmicrowaverecipebox|" .. frame.args[1] .. "}}") | ||
-- out = out .. "\n" .. frame:preprocess("{{#invoke:Meals Lookup|buildslicerecipebox|" .. frame.args[2] .. "}}") | -- out = out .. "\n" .. frame:preprocess("{{#invoke:Meals Lookup|buildslicerecipebox|" .. frame.args[2] .. "}}") | ||