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

Нет описания правки
Нет описания правки
Строка 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|buildheatrecipes|" .. id .. "}}") .. "\n"
         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.buildheatrecipebox(frame)
     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] .. "}}")