Researchers have discovered a roughly 290-million-year-old creature with some surprising eating habits.