Adds reversed trinaries and digital tvalve.
Created by: ComicIronic
Fixes the pipe dispenser, and adds the new pipes to it. Adds the digital tvalve to the RPD and pipe dispenser, as well as making it wrenchable and unwrenchable. Adds reversible piping! And now, by popular demand! New thermal pipes added to RPD and machine. 4-way manifold sprites fixed to show correctly. Fixed the way the RPD was displaying disposal pipes.
Needs testing. Code explanation: The trinary devices that can be mirrored store their mirror sprites in the 45 degree offsets between their regular directional sprites. A trinary device, when wrenched, if not facing north, south, east, or west, is determined to be displayed a mirrored sprite and its dir is adjusted back 45 degrees for the mirrored pipe (stored under the mirror var) is created instead. This process is reversed for unwrenching. Trinary mirrors simply swap the position of their node1 and node3 relative to their dir, so that all the actions are preformed with the same nodes but in the reverse direction.