- 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 40:
Line 40:
− +
Line 50:
Line 50:
− --function EnemyShipListKai:card(ship)+
− -- local value+
− -- if ship == false then+
− -- value = Formatting:format_image{self._blank, size = self._size}+
− -- else+
− -- value = ShipBattleCardKai:get{ship = ship, size = self._size, link = ship:link(), caption = ship:name()}+
− -- end+
− -- return {values = value, bg_color = self._transparent, text_align = self._center_align}+
− --end+
Line 100:
Line 100:
− --EnemyShipListKai.process_item_key = EnemyShip.process_item_key+
− --EnemyShipListKai.build_rows = EnemyShipListKai.build_rows_breaks_as_empty_rows+
Line 124:
Line 124:
− +
no edit summary
}
}
function EnemyShipListKai:name(ship)
--[[function EnemyShipListKai:name(ship)
local link, text, section = ship:link()
local link, text, section = ship:link()
local value = {Formatting:format_link(link, text, section)}
local value = {Formatting:format_link(link, text, section)}
end
end
function EnemyShipListKai:card(ship)
local value
if ship == false then
value = Formatting:format_image{self._blank, size = self._size}
else
value = ShipBattleCardKai:get{ship = ship, size = self._size, link = ship:link(), caption = ship:name()}
end
return {values = value, bg_color = self._transparent, text_align = self._center_align}
end
function EnemyShipListKai:type(ship)
function EnemyShipListKai:type(ship)
end
end
EnemyShipListKai.process_item_key = EnemyShip.process_item_key
EnemyShipListKai.build_rows = EnemyShipListKai.build_rows_breaks_as_empty_rows
function EnemyShipListKai:create_header()
function EnemyShipListKai:create_header()
return EnemyShipListKai:Table(args)
return EnemyShipListKai:Table(args)
end
end
]]--
return EnemyShipListKai
return EnemyShipListKai