Changes
no edit summary
function ShipInfoKai:bg_color(ship)
function ShipInfoKai:bg_color(ship)
local rarity = ship:rarity()
local rarity = ship:rarity()
return Formatting:format_ship_back(rarity), Formatting:extra_style_background_image(rarity and rarity > 7, rarity and rarity > 6)
return Formatting:format_ship_back(rarity), Formatting:extra_style_background_image(rarity and rarity > 7, rarity and rarity > 6) or ""
end
end
labels[k] = Formatting:format_stat_name(k)
labels[k] = Formatting:format_stat_name(k)
end
end
vars.classes = collapsible and "mw-collapsible" or ""
vars.table_class = collapsible and "mw-collapsible" or ""
vars.icons = icons
vars.icons = icons
vars.labels = labels
vars.labels = labels