AIConstructionChances

From TTWiki
Jump to navigationJump to search

Set the probability with which the AI will attempt to build new route types.

2.0.1 alpha 41 or later

Switch

Configuration file:

aichoosechances on|off (enable feature)

aibuildrailchance <num>

aibuildrvchance <num>

aibuildairchance <num>

Command line: none

Description

This feature allows you to decide with what probability the AI will try to construct new routes. You can also disable certain transport types for the AI entirely.

Enable this feature using "aichoosechances on", then set the individual probabilities with the remaining three switches. Each takes a number from 0 to 65535, where 65535 is equivalent to 100%. The remainder of the probabilities is used for shipping routes.

This feature was contributed by Marijn.