• 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 35: Line 35:     
function NanaminFleet:ship(row)
 
function NanaminFleet:ship(row)
     if ship == false then
+
     if row[1] == false then
 
         value = Formatting:format_image{self._blank, size = self._size}
 
         value = Formatting:format_image{self._blank, size = self._size}
 
     else
 
     else
         value = ShipCardKai:card{ship = ship, size = self._size, link = ship:link(), caption = ship:name()}
+
         value = ShipCardKai:card{ship = row[1], size = self._size, link = row[1]:link(), caption = row[1]:name()}
 
     end
 
     end
 
     return {values = {ship_card = value}, bg_color = self._transparent, text_align = self._center_align}
 
     return {values = {ship_card = value}, bg_color = self._transparent, text_align = self._center_align}
Line 44: Line 44:     
function NanaminFleet:ship2(row)
 
function NanaminFleet:ship2(row)
 +
    row = {row[3], row[4]}
 
     return self:ship(row)
 
     return self:ship(row)
 
end
 
end
Line 93: Line 94:  
             end
 
             end
 
         end
 
         end
         if count % 5 == 0 then
+
         if count % 5 == 1 or count % 5 == 2 then
 +
            table.insert(row, item)
 +
        end
 +
        if count % 10 == 0 then
 
             table.insert(self._items, row)
 
             table.insert(self._items, row)
 
             row = {}
 
             row = {}
48

edits

Navigation menu