Changes
no edit summary
},
},
_blank = "blank.png",
_blank = "blank.png",
_default_size = ShipCardKai._card_size,
}
}
local value
local value
if ship == false then
if ship == false then
value = Formatting:format_image{self._blank, size = self._blank_size}
value = Formatting:format_image{self._blank, size = self._size}
else
else
value = ShipCardKai:card{ship = ship, link = ship:link(), caption = ship:name()}
value = ShipCardKai:card{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}
end
function BaseTable:create_table_prep()
self._size = self._args.image_size or self._default_size
end
end