From e76912303c757f2b78443ac0a7afb8370b85e7c4 Mon Sep 17 00:00:00 2001 From: pasky Date: Sat, 12 Mar 2005 08:52:40 +0000 Subject: (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. --- ai.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ai.h') diff --git a/ai.h b/ai.h index 8d60de149..479fd27aa 100644 --- a/ai.h +++ b/ai.h @@ -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 -- cgit v1.2.3-54-g00ecf