ai.h
changeset 826 fff56bbc3606
parent 165 f81fa8c27236
child 856 918759cedca8
equal deleted inserted replaced
825:66d2d61e77a8 826:fff56bbc3606
    69 
    69 
    70 // How long may we search cities and industry for a new route?
    70 // How long may we search cities and industry for a new route?
    71 #define AI_LOCATE_ROUTE_MAX_COUNTER 200
    71 #define AI_LOCATE_ROUTE_MAX_COUNTER 200
    72 
    72 
    73 // How many days must there be between building the first station and the second station
    73 // How many days must there be between building the first station and the second station
    74 //  within one city. This number is in days and should be more then 4 months.
    74 //  within one city. This number is in days and should be more than 4 months.
    75 #define AI_CHECKCITY_DATE_BETWEEN 180
    75 #define AI_CHECKCITY_DATE_BETWEEN 180
    76 
    76 
    77 // How many cargo is needed for one station in a city?
    77 // How many cargo is needed for one station in a city?
    78 #define AI_CHECKCITY_CARGO_PER_STATION 60
    78 #define AI_CHECKCITY_CARGO_PER_STATION 60
    79 // How much cargo must there not be used in a city before we can build a new station?
    79 // How much cargo must there not be used in a city before we can build a new station?
   128 
   128 
   129 // If there is <num> time as much cargo in the station then the vehicle can handle
   129 // If there is <num> time as much cargo in the station then the vehicle can handle
   130 //  reuse the station instead of building a new one!
   130 //  reuse the station instead of building a new one!
   131 #define AI_STATION_REUSE_MULTIPLER 2
   131 #define AI_STATION_REUSE_MULTIPLER 2
   132 
   132 
   133 // No more then this amount of vehicles per station..
   133 // No more than this amount of vehicles per station..
   134 #define AI_CHECK_MAX_VEHICLE_PER_STATION 10
   134 #define AI_CHECK_MAX_VEHICLE_PER_STATION 10
   135 
   135 
   136 // How many thick between building 2 vehicles
   136 // How many thick between building 2 vehicles
   137 #define AI_BUILD_VEHICLE_TIME_BETWEEN DAY_TICKS
   137 #define AI_BUILD_VEHICLE_TIME_BETWEEN DAY_TICKS
   138 
   138 
   147 //   Vehicles of 2 years do easier meet this setting then vehicles
   147 //   Vehicles of 2 years do easier meet this setting then vehicles
   148 //   of one year. This is a very good thing. New vehicles are filtered,
   148 //   of one year. This is a very good thing. New vehicles are filtered,
   149 //   while old vehicles stay longer, because we do get less in return.
   149 //   while old vehicles stay longer, because we do get less in return.
   150 #define AI_MINIMUM_ROUTE_PROFIT 1000
   150 #define AI_MINIMUM_ROUTE_PROFIT 1000
   151 
   151 
   152 // A vehicle is considered lost when he his cargo is more then 180 days old
   152 // A vehicle is considered lost when he his cargo is more than 180 days old
   153 #define AI_VEHICLE_LOST_DAYS 180
   153 #define AI_VEHICLE_LOST_DAYS 180
   154 
   154 
   155 // How many times may the AI try to find a route before it gives up
   155 // How many times may the AI try to find a route before it gives up
   156 #define AI_MAX_TRIES_FOR_SAME_ROUTE 8
   156 #define AI_MAX_TRIES_FOR_SAME_ROUTE 8
   157 
   157