Модуль:Песочница/Pok: различия между версиями

мНет описания правки
Нет описания правки
Строка 38: Строка 38:
                 found = true
                 found = true
                 local tech = research.technology
                 local tech = research.technology
                 local iconPath = tech.icon and tech.icon.sprite or nil -- иконка берётся из tech.icon.sprite
                 local iconPath = "{{#invoke:Entity Sprite|main|image|".. tech.icon and tech.icon.sprite or nil .."}}"
                 local tierColor = tierColors[tech.tier] or "#FFFFFF"
                 local tierColor = tierColors[tech.tier] or "#FFFFFF"
                 local disciplineName = disciplineMapping[tech.discipline] or "Неизвестная дисциплина"
                 local disciplineName = disciplineMapping[tech.discipline] or "Неизвестная дисциплина"