News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

new way check for build ways

Started by Andarix, February 28, 2026, 04:26:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

I am revising the exam for way build.

The previous functions ( get_fullway()/all_control() ) were too rigid regarding directions.

The new version checks more flexibly. However, the last field is not always selected. This occurs when the distance to the target field does not decrease.

Currently, road construction in Chapter 2 Step G and railway construction in Chapter 3 Step B have been changed.

code found here