• 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 76: Line 76:  
   end
 
   end
 
   if not ship_form_table then
 
   if not ship_form_table then
 +
    local id = tonumber(name)
 
     ship_form_table = {
 
     ship_form_table = {
         _name = type(name) == 'string' and name or nil,
+
         _name = not id and name or nil,
         _api_id = type(name) == 'number' and name or nil,
+
         _suffix = not id and model or nil,
         _suffix = model,
+
         _api_id = id or nil,
 
         _dummy = true
 
         _dummy = true
 
     }
 
     }
cssedit, gkautomate
7,064

edits

Navigation menu