Модуль:Prototypes/Роль/Лодаут: различия между версиями

мНет описания правки
мНет описания правки
Строка 100: Строка 100:
                                                                             local req = eff.requirement
                                                                             local req = eff.requirement
                                                                             if req["!type"] == "DepartmentTimeRequirement" and req.department and req.time then
                                                                             if req["!type"] == "DepartmentTimeRequirement" and req.department and req.time then
                                                                                 extraInfo = extraInfo .. "<b>{{ucfirst:{{#invoke:Ftl|main|translation|department-" .. req.department .. "}}}}</b>: " .. req.time .. "<br>"
                                                                                 extraInfo = extraInfo .. "<b>{{ucfirst:{{#invoke:Ftl|main|translation|department-" .. req.department .. "}}}}</b>: {{#invoke:Code/Формат/Время|main|minutes|" .. req.time .. "}}<br>"
                                                                             elseif req["!type"] == "RoleTimeRequirement" and req.role and req.time then
                                                                             elseif req["!type"] == "RoleTimeRequirement" and req.role and req.time then
                                                                                 extraInfo = extraInfo .. "<b>{{ucfirst:{{#invoke:Ftl|main|translation|" .. req.role .. "}}}}</b>: " .. req.time .. "<br>"
                                                                                 extraInfo = extraInfo .. "<b>{{ucfirst:{{#invoke:Ftl|main|translation|" .. req.role .. "}}}}</b>: {{#invoke:Code/Формат/Время|main|minutes|" .. req.time .. "}}<br>"
                                                                             end
                                                                             end
                                                                         end
                                                                         end
Строка 138: Строка 138:
                                                                             local req = eff.requirement
                                                                             local req = eff.requirement
                                                                             if req["!type"] == "DepartmentTimeRequirement" and req.department and req.time then
                                                                             if req["!type"] == "DepartmentTimeRequirement" and req.department and req.time then
                                                                                 extraInfo = extraInfo .. "<b>{{ucfirst:{{#invoke:Ftl|main|translation|department-" .. req.department .. "}}}}</b>: " .. req.time .. "<br>"
                                                                                 extraInfo = extraInfo .. "<b>{{ucfirst:{{#invoke:Ftl|main|translation|department-" .. req.department .. "}}}}</b>: {{#invoke:Code/Формат/Время|main|minutes|" .. req.time .. "}}<br>"
                                                                             elseif req["!type"] == "RoleTimeRequirement" and req.role and req.time then
                                                                             elseif req["!type"] == "RoleTimeRequirement" and req.role and req.time then
                                                                                 extraInfo = extraInfo .. "<b>{{ucfirst:{{#invoke:Ftl|main|translation|" .. req.role .. "}}}}</b>: " .. req.time .. "<br>"
                                                                                 extraInfo = extraInfo .. "<b>{{ucfirst:{{#invoke:Ftl|main|translation|" .. req.role .. "}}}}</b>: {{#invoke:Code/Формат/Время|main|minutes|" .. req.time .. "}}<br>"
                                                                             end
                                                                             end
                                                                         end
                                                                         end