One does not simply invent the potato! What, you think somebody just suddenly came up with the idea of the potato, and there it was? No!
Before a thing can be invented, the proper conditions must be developed first! First society had to carefully design dirt, and then began the work on plants...