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

# Factorio Prototype Docs Version 2.0.77

# MapSettings - Prototype Docs

## MapSettings 'map-settings'

The default map settings.

Prototype limited to 1 total instances.

## Properties

- default
- sorted

type | :: `"map-settings"` |
name | :: string | Name of the map-settings. [...]
Name of the map-settings. [...]
pollution | :: PollutionSettings |
steering | :: SteeringSettings |
enemy_evolution | :: EnemyEvolutionSettings |
enemy_expansion | :: EnemyExpansionSettings |
unit_group | :: UnitGroupSettings |
path_finder | :: PathFinderSettings |
max_failed_behavior_count | :: uint32 | If a behavior fails this many times, the enemy (or enemy group) is destroyed. [...]
If a behavior fails this many times, the enemy (or enemy group) is destroyed. [...]
difficulty_settings | :: DifficultySettings |
asteroids | :: AsteroidSettings |

asteroids | :: AsteroidSettings |
difficulty_settings | :: DifficultySettings |
enemy_evolution | :: EnemyEvolutionSettings |
enemy_expansion | :: EnemyExpansionSettings |
max_failed_behavior_count | :: uint32 | If a behavior fails this many times, the enemy (or enemy group) is destroyed. [...]
If a behavior fails this many times, the enemy (or enemy group) is destroyed. [...]
name | :: string | Name of the map-settings. [...]
Name of the map-settings. [...]
path_finder | :: PathFinderSettings |
pollution | :: PollutionSettings |
steering | :: SteeringSettings |
type | :: `"map-settings"` |
unit_group | :: UnitGroupSettings |

## Properties

### type :: `"map-settings"`

### name :: string

Name of the map-settings. Base game uses "map-settings".

### pollution :: PollutionSettings

### steering :: SteeringSettings

#### SteeringSettings :: struct

## Properties

### default :: StateSteeringSettings

### moving :: StateSteeringSettings

### enemy_evolution :: EnemyEvolutionSettings

### enemy_expansion :: EnemyExpansionSettings

### unit_group :: UnitGroupSettings

### path_finder :: PathFinderSettings

### max_failed_behavior_count :: uint32

If a behavior fails this many times, the enemy (or enemy group) is destroyed. This solves biters stuck within their own base.

### difficulty_settings :: DifficultySettings

### asteroids :: AsteroidSettings