While trapped in Springfield cave, Lisa recounts a day with Mr. Burns where she was chased into his mansion by a mountain goat and forced to hear how Monty gained possession of Maggie's pacifier. Burns tells a tale within the tale of losing his money to the rich Texan until Moe's treasure helped bail him out. Moe recounts the story of how he robbed a young Jailbird to impress Ms. Krabappel and tossed the priceless doubloons in a jukebox when she refused to run away with him. Mr. Burns used the doubloons to buy back his empire from the Rich Texan and Homer tricked Lisa into taking him to the cave to track down the buried treasure. All parties square off for the treasure and Marge saves them from themselves by throwing the loot into a chasm.