So here is my first addon for OpenTTD after who knows how many years playing: CoronaAI Fix. It's a version of CoronaAI that preserves the simple original behaviour for the most part, while fixing some issues. It is available for download on Bananas, separate from the original AI.
A full list of important changes can be found on the Git repository - which is available under an MIT license like the original - but the main changes are:
- Should work with more (but not all) combinations of NewGRF road vehicles and road types. Most notably, and the original problem I wanted to fix, it shouldn't fail to build anything when there are trams available.
- More robust construction of infrastructure in towns, so it shouldn't only build half a service or build unconnected stations that don't work.
- Support for loading it in existing saves; while it doesn't save anything, it detects what it's built before and doesn't repeat it.
- Will continuously go through all towns with a year delay to (re)build in towns with no service, if they meet the conditions.