Модуль:Meals Lookup: различия между версиями
Mhamster (обсуждение | вклад) mixablerecipes |
Mhamster (обсуждение | вклад) Нет описания правки |
||
| Строка 154: | Строка 154: | ||
function getchemicalreagents(recipe) | function getchemicalreagents(recipe) | ||
local out = | local out = {} | ||
for ingredient, data in pairs(recipe["reactants"]) do | for ingredient, data in pairs(recipe["reactants"]) do | ||
out[ingredient] = data["amount"] | out[ingredient] = data["amount"] | ||