• 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
Support creating by reference
Line 29: Line 29:  
return ship
 
return ship
 
end
 
end
 +
end
 +
 +
function Ship:create_from_reference(reference, base)
 +
name, model = self:process_ship_key(reference)
 +
if not name then
 +
name = base
 +
end
 +
return self(name, model)
 
end
 
end
  
Anonymous user

Navigation menu