• 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
m
no edit summary
Line 108: Line 108:  
     equips = function(ship)
 
     equips = function(ship)
 
         return U.ijoin(U.imap(ship._equipment or {}, function (e)
 
         return U.ijoin(U.imap(ship._equipment or {}, function (e)
             if not e or not e.equipment then
+
             if not e or e.equipment == nil then
                 return '? '
+
                 return '(?)'
 +
            end
 +
            if e.equipment == false then
 +
                return '[[File:Xx_c.png]]'
 
             end
 
             end
 
             local eq = Equipment(e.equipment)
 
             local eq = Equipment(e.equipment)
             return Formatting:format_image{Formatting:format_equipment_icon(eq:icon()), caption = Formatting:format_equipment_type(eq:type())}
+
             local icon = Formatting:format_image{Formatting:format_equipment_icon(eq:icon()), caption = Formatting:format_equipment_type(eq:type())}
 +
            return icon
 
         end), '')
 
         end), '')
 
     end,
 
     end,
cssedit, gkautomate
6,928

edits

Navigation menu