Act I
We are in the square in the town of Bela, the followers of two rival councillors, Kalina and Malina, are praising their respective champion. Bonifac, an ex-serviceman in Kalina’s household, is wooing Madame Roza Malinova, and through their dialogue we learn that twenty years earlier, the then-poor Kalina had asked for the hand of Róza, sister of Malina, but her parents forbade the marriage because of Kalina’s relative poverty. Kalina then married another relatively poor woman, while Róza never married. Kalina is now a widower and has had a house built for himself across the town square from the Malina's. Kalina and Roza meet each other in the square and, in front of the townspeople, bicker. Malina and Kalina, egged on by their supporters, start to trade insults and curry favour by plying the old ballad singer Skrivánek with beer. Trying to keep both men happy with a song that ends up describing Roza’s and Kalina’s plight, Malina is moved by the song and proposes that he and Kalina bury their animosity and he offers Kalina a little financial help so that he and Roza may marry. But Kalina is stung by the implication that he is still poor (though he does indeed owe the builders of his new house a substantial sum) and Roza now reveals why she is so cold towards Kalina – it is because the now-deceased Father Barnabas had told her that Kalina had a secret that would have allowed him to become rich and thereby win Roza’s hand, had he wanted. Clearly, Roza surmises, his protestations of love for her all those years ago were all lies. When a bagpiper strikes up a tune and the opportunist Bonifac plucks a flower and presents it to Roza as an invitation to dance with him, Kalina threatens the piper who drops his bagpipes and flees while the two rival bands of supporters start to brawl with each other. They are interrupted by Kalina’s son Vitek and Malina’s daughter Blazenka, who calm the councillors down. We realize that Vit and Blazenka have become lovers, despite the animosity between their two families. Bonifac returns carrying a wooden baton which he had pulled from a window frame to use as a makeshift weapon. In the melee the baton has snapped and Bonifac has found inside it a yellowed piece of paper. He gives it to Kalina to read. It is the secret that Friar Barnabas told to Roza – a map that will take Kalina to hidden treasure. Kalina makes Bonifac and Vit swear to keep the secret, but while Kalina and Vit discuss the content of the map inside Kalina’s house, the bricklayer comes to ask for payment from Kalina. Don’t worry, Bonifac assures him, Kalina will soon be very rich for – and they must solemnly swear to keep this a secret – Kalina has discovered Friar Barnabas’s message. The bricklayer heads straight for the tavern and tells the innkeeper there not to whisper a word to anyone but… . They are overheard by the bellringer Jirka, who swears solemnly not to breathe a word about the secret, and he heads off to the church. It is now late and in the darkness on a bench in the square Vit and Blazenka are enjoying a secret assignation when they hear Jirka who is in the bell tower of the church, bellowing down a speaking trumpet to the ballad singer Skrivanek who is a little hard of hearing: “It is a secret. Now, solemnly swear…”
Act II
It is early evening on the slopes of Mount Bezdez. A rocky overhang is to one side of the stage, a broken down gate permits entry to a pathway which leads up to the ruined castle and monastery, with the spire of a church also visible. Kalina is lamenting his fate – to be forever working to compensate for his poverty. He pulls from a hidey-hole a lantern, cloak, hoe and spade, then conceals them again and falls asleep. In a dreamlike sequence earth spirits warn that he who seeks treasure will blacken their soul while the ghost of Friar Barnabas declares that the most precious treasure is a loving woman. Kalina wakes up in a holy terror. A group of bridesmaids head toward the church and Kalina, looking for spiritual help, follows them. Vitek and Blazenka enter the now-deserted spot and pour out their love for each other but they have been observed by Bonifac, who summons Roza, Kalina, Malina, everybody in the town, to witness the couple’s shame. Yet even with threats of being disowned by their fathers, the couple, supported by the townspeople, is defiant and now Roza admonishes the two men for believing that true love cares for worldly goods. Roza blesses Vit and Blazenka for following their hearts,and as the crowd disperses Roza is left alone, lamenting that Kalina did not defy the world as Vitek just had… for despite it all, she does still love Kalina. She is disturbed by Bonifac who has come to woo her again and to reveal Kalina’s secret yet Kalina himself returns, having decided he will risk his soul to find the treasure. Retrieving the hoe and spade he levers a rock aside to reveal a tunnel. Bonifaz refuses Roza’s request to stop Kalina and she herself rushes forward to stop him but Kalina, to a clap of thunder, jumps down into the tunnel.
Act III
We are in the communal kitchen of Malina’s house and despite it being hop harvesting time and the promise of golden beer, there is turmoil for Malina is still furious with his daughter for daring to love Vitek. Urged by the labourers and Roza she sings a tearful ballad before running off. Malina declares he would be a fool to give his daughter to such a proud man who – the bricklayer can confirm – is in debt. Malina refuses to listen to Roza’s pleadings and vows he will only permit the marriage if Kalina comes to his house and begs him humbly. And now the opportunist Bonifac seizes the moment to tell everyone that Kalina will never ever come to Malina’s house… for he has been lured by the promise of treasure, has disappeared, and the devil most likely has now taken possession of his soul. The news horrifies the audience, more so because they hear an eery scaping and then a clanking originating from behind the black door of the oven. Blazenka returns to the room with Vit who is dressed for a journey. He has come to thank Roza for her blessing and despite being disowned by his father, he declares he will chance his luck in the world but rich or poor he will return in a year and again ask for Blazenka’s hand. Bonifac takes the opportunity to ask Malina to allow Vit and Blazenka to wed, while also pressing his own suit to marry Roza. She coolly tells him she will think it over when they are again startled at sounds coming from inside the oven. Bonifac and Skrivanek are urged to sing to lighten the mood and they strike up a song about Friar Barnabas but it is interrupted by a furious rattling of the oven door and all except Roza rush out of the room, terrified. The door flies open and coated in dust, the caped Kalina stumbles into the room. Roza and Kalina together understand now what Barnabas meant when he marked the location of the treasure Kalina would find. The two fall into each other’s arms, and as Malina, Blazenka, Vit and the townspeople pour back into the room, Kalina does indeed beg Malina on behalf of his son and for himself. Pride set aside, Malina cries “God bless you all, get married!” and the bystanders join in a chorus “You who belong to each other, get married, that’s the secret; nothing else matters – old love will triumph!”