*The 12th-century Burmese monk who wrote it down first** called it "The Tale of Romavisaya"
**That we know of
Except it had no robots.
A young craftsman named oh let's call him Vishva wants to change that.
*Rome, yup! Although in Ajatashatru and Ashoka's time it should rightfully be "Yavanavisaiya" or Greece.
So Vishva wants to get the secret of Romavisayan robots. But how?
Once in Romavisaya he woos the daughter of the chief yantakara and marries her, and has a son. When his son is grown, he gets her to filch the plans for robots from her father.
And sews them into his leg.
Then he flees Romavisaya. The flying execution robots catch and kill him. His son collects his body and takes it to Pataliputra.
*The Chicago of its day, with fewer robots
1. Expanding the Maghadan kingdom using war machines
2. Building the burial stupa of the Buddha, who probably died during his reign
*Meaning in other legends with fewer robots
But he definitely built sword-swinging, whirling, spinning killer robots to guard Buddha's tomb.
King Ashoka converts to Buddhism shortly after killing a zillion people expanding his empire. A question haunts him: What would Buddha want? (Besides "Give the empire back to everyone you just killed.")
But the bones and relics of Buddha are all in his tomb, guarded by killbots! What to do?
Ashoka orders the empire searched for a yantakara.
*The tale does not say he uploaded his mind into a robot body but then again it doesn't say he didn't
Here endeth the lesson.
All this stuff, plus Ajatashatru's robot tank, goes into HELLENISTIKA of course.