Модуль: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 = | local output = p.chemicals[id]["effects"]["Entity"] | ||
local outamount = | local outamount = p.chemicals[id]["effects"]["Number"] | ||
out = frame:preprocess("{{Recipe Box" .. | out = frame:preprocess("{{Recipe Box" .. | ||
"| name = " .. | "| name = " .. | ||