Chemical traces left in bizarre tooth patterns reveal a psychoactive nut used as a prehistoric painkiller.