Changes

no edit summary
Line 53: Line 53:  
 
 
'Kaiboukan No.22', 'Inagi', 'Shirakumo', 'Salmon', 'Asahi', 'C.Cappellini', 'Javelin', 'Nevada', 'Rodney',
 
'Kaiboukan No.22', 'Inagi', 'Shirakumo', 'Salmon', 'Asahi', 'C.Cappellini', 'Javelin', 'Nevada', 'Rodney',
 +
 +
'Drum', 'I-41', 'I-36', 'Heian Maru',
 +
 +
'Mogador', 'Valiant', 'Gloire', 'Phoenix', 'Lexington',
 +
 +
'Ootomari', 'Wahoo', 'Kaya', 'Kirov', 'Sugi', 'Shimane Maru', 'Minneapolis',
 +
 +
'Norge', 'Eidsvold', 'Glorious', 'Nankai', 'Nosaki', 'Kashi', 'Dace', 'Leonardo da Vinci', 'Wasp',
 
}
 
}
   Line 82: Line 90:  
['Hard']    = 'Hard+',
 
['Hard']    = 'Hard+',
 
['?']      = '?',
 
['?']      = '?',
['Regular'] = '',
+
['Regular'] = '✔️',
 
}
 
}
   Line 145: Line 153:     
function log(message, value)
 
function log(message, value)
tbl.debug = tbl.debug .. string.format('%s: %s\n', message, value)
+
-- tbl.debug = tbl.debug .. string.format('%s: %s\n', message, value)
 
end
 
end
   Line 280: Line 288:  
function showTable(tbl)
 
function showTable(tbl)
   −
local res = format{table_format.header, classes = tbl.classes or ''}
+
local res = { format{table_format.header, classes = tbl.classes or ''} }
    
function add(str)
 
function add(str)
res = res .. str
+
table.insert(res, str)
 
end
 
end
   Line 343: Line 351:  
end
 
end
   −
return res
+
return table.concat(res, '')
    
end
 
end
7,212

edits