Replaces connect type system

Replaces the connect type system used by the supply/scrubber pipe system. The lists of integers seemed really unnecessary.

I haven't really been able to test this PR much.