Lin Yue, a graduate student in history, transmigrates to the Great Jing dynasty and becomes Xiao Ce, the Marquis of Zhenbei, who is the protagonist. After being betrayed and defeated in battle, he activates the “Dandy Development System” in the imperial prison. By pulling ridiculous dandy stunts, he earns Dandy Points that increase his personal combat strength. He also buys pills from the shop, cultivates loyal retainers for the marquis’s estate, and secretly builds an underground power. Later, he racks up huge numbers of Dandy Points through a series of antics: snatching children’s snacks, flirting with the children of a vice minister, visiting brothels and drinking wine, teaching street thugs a lesson, buying quadruplets who are selling themselves to pay for their father’s funeral, brawling in the street with the sons of other officials, colliding with the princess’s carriage, and gambling at the gaming house, among other things. Along the way, he foils the Second and First Princes’ plots to frame him, sows discord between them, and secretly helps the princess seize power. He also engineers the First Prince’s rebellion and exposes the Second Prince’s embezzlement of disaster relief funds, his abduction of respectable women to build a pleasure pavilion, and his secret control over senior court officials. Once these schemes are exposed, the Second Prince and Noble Consort Li’s plot to poison the emperor is also uncovered, and they are demoted to commoners. In the end, Xiao Ce helps the Eldest Princess take the throne and becomes regent himself.