Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Runtime Docs Version 2.0.7

## MapAndDifficultySettings :: table

A standard table containing all MapSettings attributes plus an additional table that contains all DifficultySettings properties.

#### Table fields

pollution | :: PollutionMapSettings |
enemy_evolution | :: EnemyEvolutionMapSettings |
enemy_expansion | :: EnemyExpansionMapSettings |
unit_group | :: UnitGroupMapSettings |
steering | :: SteeringMapSettings |
path_finder | :: PathFinderMapSettings |
asteroids | :: AsteroidMapSettings |
max_failed_behavior_count | :: uint | If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters getting stuck within their own base.
difficulty_settings | :: MapDifficultySettings |