The International Simutrans Forum

Development => Patches & Projects => Topic started by: jk271 on February 07, 2012, 04:05:48 PM

Title: AI goods improvement - build most cheep cargo stations
Post by: jk271 on February 07, 2012, 04:05:48 PM
I wrote a patch, that can improve a little bit player "artificial intelligence goods".

AI goods now (in current master) chooses which platform to build randomly. Platforms have big maitenance costs in some paksets. Having a platform with level bigger than 1 is not necessary in most cases. My patch it changes.

Patch:
AI firstly selects cheepest platforms from all available ones.
Than is randomly selected one of them.