Модуль:tableofchemicals
| Строка 51: | Строка 51: | ||
end | end | ||
if firstProductId and p.chem[firstProductId] then | if firstProductId and p.chem[firstProductId] then | ||
templateArgs.id = p.chem[firstProductId].id | |||
templateArgs.name = p.chem[firstProductId].name | |||
templateArgs.description = p.chem[firstProductId].desc .. " На вид " .. p.chem[firstProductId].physicalDesc .. "." | |||
templateArgs.color = p.chem[firstProductId].color | |||
templateArgs.textColor = p.chem[firstProductId].textColor | |||
templateArgs.effects = getEffects(firstProductId) | |||
templateArgs.recipes_count = tablelength(p.chem[firstProductId].recipes) | |||
end | end | ||
local template = "Строка_реакции" | local template = "Строка_реакции" | ||