Package horizons :: Package ai :: Package aiplayer :: Package personality :: Module default :: Class DefaultPersonality :: Class VillageBuilder
[hide private]
[frames] | no frames]

Class VillageBuilder

source code

DefaultPersonality.AreaBuilder --+
                                 |
                                DefaultPersonality.VillageBuilder

Class Variables [hide private]
  max_village_section_size = 22
  tent_value = 10
  bad_road_penalty = 1
  double_road_penalty = 30
  max_coverage_building_capacity = 22
  normal_coverage_building_capacity = 20
  max_fire_station_capacity = 40
  normal_fire_station_capacity = 30
  max_doctor_capacity = 40
  normal_doctor_capacity = 30
  min_coverage_building_options = 10
  coverage_building_option_ratio = 0.4
    Inherited from AreaBuilder
  path_boundary_penalty_threshold = 10
  path_distant_road_penalty = 0.5
  path_near_boundary_constant_penalty = 0.3
  path_near_boundary_linear_penalty = 0.03
  path_near_road_constant_penalty = 0.7
  path_near_road_linear_penalty = 0.15
  path_road_penalty_threshold = 9
  path_unreachable_boundary_penalty = 0.1
  path_unreachable_road_penalty = 0.1