- 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 10:
Line 10:
− +
− +
− +
no edit summary
}
}
function EquipmentCardListKai:card(ship)
function EquipmentCardListKai:card(equipment)
local value
local value
if ship == false then
if equipment == false then
value = Formatting:format_image{self._blank, size = self._size}
value = Formatting:format_image{self._blank, size = self._size}
else
else
value = EquipmentCardKai:card{ship = ship, size = self._size, link = ship:link(), caption = ship:name()}
value = EquipmentCardKai:card{equipment = equipment, size = self._size, link = equipment:link(), caption = equipment:name()}
end
end
return {values = {value = value}, bg_color = self._transparent, text_align = self._center_align}
return {values = {value = value}, bg_color = self._transparent, text_align = self._center_align}