- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 103:
Line 103:
− +
Line 213:
Line 213:
− +
no edit summary
function ShipInfoKai:image(ship)
function ShipInfoKai:image(ship)
return Formatting:format_image(ship:card())
return Formatting:format_image{ship:card()}
end
end
equipment = equipment == false and "- Unequipped -" or Formatting:format_stat(equipment)
equipment = equipment == false and "- Unequipped -" or Formatting:format_stat(equipment)
end
end
icon = Formatting:format_image(Formatting:format_equipment_icon(icon))
icon = Formatting:format_image{Formatting:format_equipment_icon(icon), caption = Formatting:format_equipment_type(equipment:type())}
end
end
table.insert(slots, format{self._slot_template, icon = icon, equipment = equipment, slot_size = Formatting:format_stat(size), color = Formatting:format_equipment_back(color), extra_style = Formatting:extra_style_background_image(false, color >= 4)})
table.insert(slots, format{self._slot_template, icon = icon, equipment = equipment, slot_size = Formatting:format_stat(size), color = Formatting:format_equipment_back(color), extra_style = Formatting:extra_style_background_image(false, color >= 4)})