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

buildixablerecipes
Нет описания правки
Строка 42: Строка 42:
     local out = ""
     local out = ""
     for item, amount in pairs(array) do
     for item, amount in pairs(array) do
         out = out .. frame:preprocess("{{Chem Recipe Component|reagent=" .. item .. "|amount={{{" .. amount .. "|1}}}}}")
         out = out .. frame:preprocess("{{Chem Recipe Component|reagent=" .. item .. "|amount=" .. amount .. "}}")
     end
     end
     return out
     return out