The International Simutrans Forum

 

Author Topic: AI goods improvement - build most cheep cargo stations  (Read 2325 times)

0 Members and 1 Guest are viewing this topic.

Offline jk271

  • *
  • Posts: 292
  • Languages: CZ, EN, DE
AI goods improvement - build most cheep cargo stations
« 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.