default boolean discoverStraight(int r) {
        IConnectable c = getStraight(r);
        if (c != null) {
            return canConnectPart(c, r) && c.connectStraight(this, rotFromStraight(r), -1);
        }
        return discoverStraightOverride(absoluteDir(this, r));
    }
Tries to locate a corner connectable part towards r and establish a connection.

@param r The rotation towards the external corner part
@return True if connection was established
core/src/main/java/mrtjp/projectred/core/part/IConnectableFacePart.java