In the first year of the Tianqi era, machines developed rapidly, and old and new factions competed for power. Shen Wen, a scholar from the Qi Nan Region who was skilled in craftsmanship, accidentally became involved in stealing a secret treasure from the imperial palace.