this water-gate device was two pipes drilled into the front which lead to two large tanks which acted as reservoirs and were installed with manual valves which lead into a complicated water pipe way that could be opened during the hottest summer days and could pour water over the deck to cool the ships outside hull .