Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Runtime Docs Version 2.0.77

# MapAndDifficultySettings - Runtime Docs

## 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 | :: uint32 | 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 |

Concept used in

- MapExchangeStringData