Long before vending machines sold drinks and snacks, an ancient inventor described a device operated by coins.
When a coin landed on a small platform, its weight temporarily activated the water-release mechanism.
The https://profile.hatena.ne.jp/JILIWINGONET/