These curious looking nodules are the seed pods of Cautleya spicata. Up until recently they put me in mind of sugared almonds. This was until the Medlar Fairy commented that they look like maggots. Maggots it is then. Sometimes this plant is known as the Chinese Butterfly which you must admit is far more romantic than maggot lily.
It belongs to the family of ginger lilies, Zingiberaceae, and grows perfectly happy in our garden and is the least of my worries when it comes to tenderness. It is deciduous and when it dies back we give it a token mulch to protect it from the worst of the weather, but can withstand some degree of frost. It is native to the eastern Himalayas/Nepal, not known for their balmy winters, where it grows in moist shade on forest floors or even as an epiphyte in the trees. It is exotic looking and is indeed exotic, with lush green leaves and yellow flower spikes with vivid red bracts. These spikes eventually turn into these equally attractive, to my mind and anyone who likes maggots, seed heads. The pith of the stem is allegedly edible and can be eaten as a vegetable and the root can be concocted into a potion to cure stomach problems. We grow it in part shade where it is protected in the slim chance it might get too much sun (some hope).