it was designed so that if a string were pulled , small pressure containers were punctured and jets of compressed air shot out through the mock steam-tubes , sailing the box across the room and scattering candy as it went .