Changes
Refactor
value = Formatting:format_image{self._blank, size = self._size}
value = Formatting:format_image{self._blank, size = self._size}
else
else
value = EquipmentCardKai:card{equipment = equipment, size = self._size, link = equipment:link(), caption = equipment:name()}
value = EquipmentCardKai:get{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}