Модуль:Meals Lookup: различия между версиями
Mhamster (обсуждение | вклад) Нет описания правки |
Mhamster (обсуждение | вклад) Нет описания правки |
||
| Строка 167: | Строка 167: | ||
local recipe = p.chemicals[id] | local recipe = p.chemicals[id] | ||
local input = buildreagents(frame, getchemicalreagents(recipe)) | local input = buildreagents(frame, getchemicalreagents(recipe)) | ||
local output = recipe["effects"]["Entity"] | local output = recipe["effects"][1]["Entity"] | ||
local outamount = recipe["effects"]["Number"] | local outamount = recipe["effects"][1]["Number"] | ||
out = frame:preprocess("{{Recipe Box" .. | out = frame:preprocess("{{Recipe Box" .. | ||
"| name = " .. | "| name = " .. | ||