Модуль:firearmsstats
| Строка 43: | Строка 43: | ||
end | end | ||
if stamina > 0 then | if stamina > 0 then | ||
out = out .. frame:preprocess('{{цвет|text|endurance|c=<b>'.. stamina ..'</b>}}')'Выносливость\n' | out = out .. frame:preprocess('{{цвет|text|endurance|c=<b>' .. stamina .. '</b>}}')'Выносливость\n' | ||
end | end | ||
if blunt > 0 then | if blunt > 0 then | ||
out = out .. frame:preprocess('{{цвет|text|blunt|c=<b>'.. blunt ..'</b>}}')'Ушибы\n' | out = out .. frame:preprocess('{{цвет|text|blunt|c=<b>' .. blunt .. '</b>}}')'Ушибы\n' | ||
end | end | ||
if slash > 0 then | if slash > 0 then | ||
out = out .. frame:preprocess('{{цвет|text|slash|c=<b>'.. slash ..'</b>}}')'Режущие\n' | out = out .. frame:preprocess('{{цвет|text|slash|c=<b>' .. slash .. '</b>}}')'Режущие\n' | ||
end | end | ||
if piercing > 0 then | if piercing > 0 then | ||
out = out .. frame:preprocess('{{цвет|text|piercing|c=<b>'.. piercing ..'</b>}}')'Уколы\n' | out = out .. frame:preprocess('{{цвет|text|piercing|c=<b>' .. piercing .. '</b>}}')'Уколы\n' | ||
end | end | ||
if heat > 0 then | if heat > 0 then | ||
out = out .. frame:preprocess('{{цвет|text|heat|c=<b>'.. heat ..'</b>}}')'Термические\n' | out = out .. frame:preprocess('{{цвет|text|heat|c=<b>' .. heat .. '</b>}}')'Термические\n' | ||
end | end | ||
if radiation > 0 then | if radiation > 0 then | ||
out = out .. frame:preprocess('{{цвет|text|radiation|c=<b>'.. radiation ..'</b>}}')'Радиация\n' | out = out .. frame:preprocess('{{цвет|text|radiation|c=<b>' .. radiation .. '</b>}}')'Радиация\n' | ||
end | end | ||
if caustic > 0 then | if caustic > 0 then | ||
out = out .. frame:preprocess('{{цвет|text|caustic|c=<b>'.. caustic ..'</b>}}')'Кислотные\n' | out = out .. frame:preprocess('{{цвет|text|caustic|c=<b>' .. caustic .. '</b>}}')'Кислотные\n' | ||
end | end | ||
if structural > 0 then | if structural > 0 then | ||
out = out .. frame:preprocess('{{цвет|text|structural|c=<b>'.. structural ..'</b>}}')'Структурные\n' | out = out .. frame:preprocess('{{цвет|text|structural|c=<b>' .. structural .. '</b>}}')'Структурные\n' | ||
end | end | ||