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

Нет описания правки
мНет описания правки
Строка 20: Строка 20:
     local protSlash = frame.args.protSlash or "-" -- Режущий
     local protSlash = frame.args.protSlash or "-" -- Режущий
     local protPiercing = frame.args.protPiercing or "-" -- Колющий
     local protPiercing = frame.args.protPiercing or "-" -- Колющий
     local protHead = frame.args.protHead or "-" -- Высокотемпературный
     local protHeat = frame.args.protHeat or "-" -- Высокотемпературный
     local protRadiation = frame.args.protRadiation or "-" -- Кислотный
     local protRadiation = frame.args.protRadiation or "-" -- Кислотный
     local protCaustic = frame.args.protCaustic or "-" -- Радиационный
     local protCaustic = frame.args.protCaustic or "-" -- Радиационный
Строка 49: Строка 49:
     out = out .. '|style="font-weight:500;color: indianred;background-color: ' .. backgroundColor .. '"|' .. protSlash .. '\n'
     out = out .. '|style="font-weight:500;color: indianred;background-color: ' .. backgroundColor .. '"|' .. protSlash .. '\n'
     out = out .. '|style="font-weight:500;color: darksalmon;background-color: ' .. backgroundColor .. '"|' .. protPiercing .. '\n'
     out = out .. '|style="font-weight:500;color: darksalmon;background-color: ' .. backgroundColor .. '"|' .. protPiercing .. '\n'
     out = out .. '|style="font-weight:500;color: orange;background-color: ' .. backgroundColor .. '"|' .. protHead .. '\n'
     out = out .. '|style="font-weight:500;color: orange;background-color: ' .. backgroundColor .. '"|' .. protHeat .. '\n'
     out = out .. '|style="font-weight:500;color: plum;background-color: ' .. backgroundColor .. '"|' .. protRadiation .. '\n'
     out = out .. '|style="font-weight:500;color: plum;background-color: ' .. backgroundColor .. '"|' .. protRadiation .. '\n'
     out = out .. '|style="font-weight:500;color: limegreen;background-color: ' .. backgroundColor .. '"|' .. protCaustic .. '\n'
     out = out .. '|style="font-weight:500;color: limegreen;background-color: ' .. backgroundColor .. '"|' .. protCaustic .. '\n'