Changes

m
no edit summary
Line 20: Line 20:  
     },
 
     },
 
     --]=]
 
     --]=]
 +
    _cell = [[${values.value}]],
 
     _columns = {
 
     _columns = {
 
         "ship",
 
         "ship",
Line 35: Line 36:     
function NanaminFleet:ship(row)
 
function NanaminFleet:ship(row)
 +
    local value
 
     if row[1] == 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}
Line 40: Line 42:  
         value = ShipCardKai:card{ship = row[1], size = self._size, link = row[1]:link(), caption = row[1]: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 = {value = value}, bg_color = self._transparent, text_align = self._center_align}
 
end
 
end
   Line 49: Line 51:     
function NanaminFleet:equips(row)
 
function NanaminFleet:equips(row)
     value = "|-|Lol|-|Lol2|-|Lol3|-|Lol4"
+
     local value = "|-|Lol|-|Lol2|-|Lol3|-|Lol4"
     return {values = {equips = value}, bg_color = self._equip_bg, text_align = self._center_align}
+
     return {values = {value = value}, bg_color = self._equip_bg, text_align = self._center_align}
 
end
 
end
  
48

edits