Модуль:Meals Lookup: различия между версиями
Mhamster (обсуждение | вклад) Нет описания правки |
Mhamster (обсуждение | вклад) Нет описания правки |
||
| Строка 102: | Строка 102: | ||
local out = "" | local out = "" | ||
local id = frame.args[1]:gsub(' ', '') | local id = frame.args[1]:gsub(' ', '') | ||
local recipe = getrecipe("grindableRecipes", id) | local recipe = getrecipe(frame, "grindableRecipes", id) | ||
local result = buildreagents(frame, recipe["result"]) | local result = buildreagents(frame, recipe["result"]) | ||
out = frame:preprocess("{{Recipe Box".. | out = frame:preprocess("{{Recipe Box".. | ||