Модуль:tableofchemicals
| Строка 134: | Строка 134: | ||
templateArgs.effects = getEffects(chemPrototype.id) | templateArgs.effects = getEffects(chemPrototype.id) | ||
templateArgs.recipes_count = tablelength(chemPrototype.recipes) | templateArgs.recipes_count = tablelength(chemPrototype.recipes) | ||
-- Добавляем параметры для отображения цвета снизу названия | |||
templateArgs.displayColor = chemPrototype.color or "#808080" | |||
templateArgs.displayTextColor = chemPrototype.textColor or "#FFFFFF" | |||
templateArgs.displayHex = chemPrototype.color or "прозрачный" | |||
templateArgs.reactants = "" | templateArgs.reactants = "" | ||