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

Нет описания правки
Нет описания правки
Строка 44: Строка 44:
         out = out .. frame:preprocess("{{Chem Recipe Component|reagent=" .. item .. "|amount=" .. amount .. "}}")
         out = out .. frame:preprocess("{{Chem Recipe Component|reagent=" .. item .. "|amount=" .. amount .. "}}")
     end
     end
    return out
end
function p.imageslist(frame)
    local out = "'''REQUIRED IMAGES:'''<br><br>"
    for cat, recipes in pairs(p.meals) do
        for id, recipe in pairs(recipes) do
            out = out .. id .. "[[File:" .. id .. ".png]]<br>"
        end
    end
    out = out .. "<br><hr>"
    return out
end
function p.buildeverything(frame)
    local out = ""
    out = out .. p.buildmicrowaverecipes(frame)
    out = out .. p.buildslicerecipes(frame)
    out = out .. p.buildgrindrecipes(frame)
    out = out .. p.buildheatrecipes(frame)
    out = out .. p.buildtoolmaderecipes(frame)
    out = out .. p.buildixablerecipes(frame)
     return out
     return out
end
end