Модуль:Sandbox: различия между версиями
Нет описания правки |
Нет описания правки |
||
| Строка 342: | Строка 342: | ||
local input = buildreagents(frame, getchemicalreagents(recipe)) | local input = buildreagents(frame, getchemicalreagents(recipe)) | ||
local | local outputs = {} | ||
for _, v in pairs(recipe["effects"]) do | for _, v in pairs(recipe["effects"]) do | ||
table.insert( | table.insert(outputs, v.description) | ||
end | end | ||
output = table.concat( | output = table.concat(outputs, "\n") | ||
out = frame:preprocess("{{Recipe Box" .. | out = frame:preprocess("{{Recipe Box" .. | ||