Модуль:Meals Lookup: различия между версиями
Mhamster (обсуждение | вклад) buildtoolmaderecipes |
Mhamster (обсуждение | вклад) buildixablerecipes |
||
| Строка 234: | Строка 234: | ||
output .. "}}|image=File:Mousegif.gif|amount=" .. outamount .. "}}" .. | output .. "}}|image=File:Mousegif.gif|amount=" .. outamount .. "}}" .. | ||
"}}") | "}}") | ||
return out | |||
end | |||
function p.buildixablerecipes(frame) | |||
local out = "" | |||
for id in pairs(getrecipesfromtype(frame, "mixableRecipes")) do | |||
out = out .. frame:preprocess("{{#invoke:Meals Lookup|buildmixablerecipebox|" .. id .. "}}") .. "\n" | |||
end | |||
return out | return out | ||
end | end | ||
| Строка 248: | Строка 256: | ||
out = out .. p.buildheatrecipes(frame) | out = out .. p.buildheatrecipes(frame) | ||
out = out .. p.buildtoolmaderecipes(frame) | out = out .. p.buildtoolmaderecipes(frame) | ||
out = out .. p.buildixablerecipes(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] .. "}}") | ||