Changes
Support creating by reference
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