diff options
author | pasky <pasky@openttd.org> | 2005-03-12 08:52:40 +0000 |
---|---|---|
committer | pasky <pasky@openttd.org> | 2005-03-12 08:52:40 +0000 |
commit | e76912303c757f2b78443ac0a7afb8370b85e7c4 (patch) | |
tree | 978618c6fc58356b2c054f9c8aa76b598808869b /ai.h | |
parent | 2d9611f948776d0a26bfe0fad63d3d9dc7716909 (diff) | |
download | openttd-e76912303c757f2b78443ac0a7afb8370b85e7c4.tar.xz |
(svn r1998) Give penalty 100 to the AI for using foundations (buildonslopes). This prevents it from building long road lines on foundations unless really necessary.
Diffstat (limited to 'ai.h')
-rw-r--r-- | ai.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,8 @@ #define AI_PATHFINDER_PENALTY 150 // The penalty given to a tile that is going up #define AI_PATHFINDER_TILE_GOES_UP_PENALTY 450 +// The penalty given to a tile which would have to use fundation +#define AI_PATHFINDER_FOUNDATION_PENALTY 100 // Changing direction is a penalty, to prevent curved ways (with that: slow ways) #define AI_PATHFINDER_DIRECTION_CHANGE_PENALTY 200 // Same penalty, only for when road already exists |