• 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 52: Line 52:     
function EnemyShipListKai:name(ship)
 
function EnemyShipListKai:name(ship)
local name = ship:name()
+
local name = Formatting:format_link(ship:name())
 
local value = {name}
 
local value = {name}
 
local japanese_name = ship:japanese_name()
 
local japanese_name = ship:japanese_name()
 
if japanese_name and name ~= japanese_name then
 
if japanese_name and name ~= japanese_name then
 +
local reading = ship:reading()
 +
if reading then
 +
japanese_name = Formatting:japanese_text(japanese_name, reading)
 +
end
 
table.insert(value, Formatting:format_stat(japanese_name))
 
table.insert(value, Formatting:format_stat(japanese_name))
 
end
 
end
Anonymous user

Navigation menu