Модуль:TableOfChemicals: различия между версиями

Нет описания правки
Нет описания правки
Строка 173: Строка 173:
end
end
for _, metabolismGroup in pairs(chemPrototype.metabolisms) do
for metabolismGroupKey, metabolismGroup in pairs(chemPrototype.metabolisms) do
effects = attachAsNewLine(effects, "* "..metabolismGroup.rate)
effects = attachAsNewLine(effects, string.format("* %s (%s единиц в секунду)", metabolismGroupKey, metabolismGroup.rate))
for _, effect in pairs(metabolismGroup.effects) do
for _, effect in pairs(metabolismGroup.effects) do
if effect.description ~= "" then
if effect.description ~= "" then