This moisture detector is constructed from fabric stretched between brass support which also serve as contacts. The conductance of the wet fabric pulls against a 100k resistor to ground.