The three boys, or the Time Warp Trio, need to stop an ancient Mesopotamian man, Hamonri, who had taken control of their book. At the Hanging Gardens of Babylon, Queen Amytis helps the boys by leading them into an irrigation system, one of the technologies developed during the times of ancient Mesopotamia, and she describes how the irrigation system works. The Time Warp Trio helps to open the gates of the irrigation system to flood the building to stop Hamonri.