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

Navigation menu