Before dogs were trained to hunt truffles, farmers used pigs, but often the pig devoured the truffle before the farmer could save it.