News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

AI goods improvement - build most cheep cargo stations

Started by jk271, February 07, 2012, 04:05:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jk271

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.