Unciv/tests
Oskar Niesen 169ccf5d03
AI worker road priority rework (#10918)
* WorkerAutomation now caches the roads to use

* Workers now build roads differently

* Fixed error if unit movement is zero

* Fixed civ researching an unwanted tech in a test

* Fixed spelling

* Increased road building priority

* getRoadConnectionBetweenCities no longer does unnecessary sorting

* roadsToConnectCitiesCache no longer stores roads that are already built

* ChooseImprovement now builds roads on resource tiles!

* Fixed tryConnectingCities error related to using minByOrNull instead of firstOrNull

* Roads can't have a negative value if they are bigger
2024-01-21 19:12:14 +02:00
..
src/com/unciv AI worker road priority rework (#10918) 2024-01-21 19:12:14 +02:00
build.gradle.kts Remove source compatibility to java 8, in preparation for Gradle 8.5 upgrade 2023-12-28 23:07:24 +02:00