Модуль:Prototypes/Машина/Станок: различия между версиями

мНет описания правки
мНет описания правки
Строка 35: Строка 35:
end
end


function p.getLatheRecipes(frame)
function p.main(frame)
     local latheId = frame.args[1] or ""
     local latheId = frame.args[1] or ""
     if latheId == "" then
     if latheId == "" then
Строка 124: Строка 124:
                     end
                     end
                     output = output .. '</ul>'
                     output = output .. '</ul>'
                     output = output .. '<div>Исследование: ' .. researchInfo.name
                     output = output .. '<div>Исследование: ' .. researchInfo.discipline .. researchInfo.name
                     output = output .. ' (Уровень: ' .. researchInfo.tier .. ')</div>'
                     output = output .. ' (Уровень: ' .. researchInfo.tier .. ')</div>'
                     output = output .. '</li>'
                     output = output .. '</li>'