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 = ship, size = self._size, link = ship:link(), caption = ship:name()}
value = ShipCardKai:get{ship = ship, size = self._size, link = ship:link(), caption = ship: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}