- 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 61:
Line 61:
− table.insert(value, " ")
− +
− +
− table.insert(value, format{self._nickname_template, nickname = Formatting:format_stat(nickname)})+
− +
− +
Disable nicknames
local japanese_name = ship:japanese_name()
local japanese_name = ship:japanese_name()
if japanese_name and (text or link) ~= japanese_name then
if japanese_name and (text or link) ~= japanese_name then
table.insert(value, Formatting:format_stat(japanese_name))
table.insert(value, Formatting:format_stat(japanese_name))
end
end
local nickname = ship:nick()
--local nickname = ship:nick()
if nickname then
--if nickname then
-- table.insert(value, format{self._nickname_template, nickname = Formatting:format_stat(nickname)})
end
--end
return {values = {value = table.concat(value)}, bg_color = self._transparent, text_align = self._center_align}
return {values = {value = table.concat(value, " ")}, bg_color = self._transparent, text_align = self._center_align}
end
end