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 been able to test this PR much, as pipes aren't really working at the moment.