- 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 112:
Line 112:
− if equipment:has_card_name() then +
+
− +
− +
no edit summary
function EquipmentInfoKai:card(equipment)
function EquipmentInfoKai:card(equipment)
local card_name = equipment:card_name()
if card_name then
local card_caption = {}
local card_caption = {}
local card_local = equipment:card_localized_name()
local card_local = equipment:card_localized_name()
if card_local ~= false then
if card_local ~= false then
table.insert(card_caption, Formatting:format_stat_with_max(equipment:card_name(), card_local))
table.insert(card_caption, Formatting:format_stat_with_max(card_name, card_local))
else
else
table.insert(card_caption, equipment:card_name())
table.insert(card_caption, card_name)
end
end
table.insert(card_caption, "/")
table.insert(card_caption, "/")