Enhance Route Finding To Consider Canals


  • Admin

    With the release of RSOC v3, the lack of canal validation during route finding is very apparent. This has been true for all maps but most have only a handful of canals where RSOC has hundreds. Route finding should do some basic canal checks to ensure the canal is controlled and at least 1 of the selected units can move through.

    Before (Fighter Tries to Pass Through Rail Connection Land Canals)
    0_1536639296446_4d8d5826-055e-44f0-a988-5727d8947bbf-image.png

    After (Fighter Properly Calculates a Route Ignoring the Land Canal Connections)
    0_1536639353285_044245ca-68ab-4c38-975f-9ed4123862bb-image.png

    PR: https://github.com/triplea-game/triplea/pull/4026