Changes
Refactor
value = Formatting:format_image{self._blank, size = self._size}
value = Formatting:format_image{self._blank, size = self._size}
else
else
value = ShipCardKai:card{ship = row[1], size = self._size, link = row[1]:link(), caption = row[1]:name()}
value = ShipCardKai:get{ship = row[1], size = self._size, link = row[1]:link(), caption = row[1]:name()}
end
end
return {values = {ship_card = value}, bg_color = self._transparent, text_align = self._center_align}
return {values = {ship_card = value}, bg_color = self._transparent, text_align = self._center_align}