- 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 170:
Line 170:
− +
Don't link when consumed equipment is the same as the improved equipment
for equip, count in pairs(consumed_equipment_table) do
for equip, count in pairs(consumed_equipment_table) do
local equipment = equip ~= true and Equipment(equip) or row_data.item
local equipment = equip ~= true and Equipment(equip) or row_data.item
table.insert(consumed_equipment, format{self._equipment_item, count = count, icon = Formatting:format_image{Formatting:format_equipment_icon_simple(equipment:icon()), size = self._small_icon_size}, name = Formatting:format_link(equipment:link())})
table.insert(consumed_equipment, format{self._equipment_item, count = count, icon = Formatting:format_image{Formatting:format_equipment_icon_simple(equipment:icon()), size = self._small_icon_size}, name = equip == true and Formatting:format_stat(equipment:name()) or Formatting:format_link(equipment:link())})
end
end
if #consumed_equipment > 0 then
if #consumed_equipment > 0 then