Code now creates ships around bases