Long ago it lived in mines, but once the minerals that make up its diet became scarcer, Klefki began appearing in human settlements.