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

# Factorio Prototype Docs Version 2.0.7

## MapGenPreset :: struct

## Properties

- default
- sorted

order | :: Order | Specifies the ordering in the map generator GUI.
Specifies the ordering in the map generator GUI.
default optional | :: bool | Whether this is the default preset. [...]
Whether this is the default preset. [...]
basic_settings optional | :: MapGenSettings | If any setting is not set, it will use the default values.
If any setting is not set, it will use the default values.
advanced_settings optional | :: AdvancedMapGenSettings | If any setting is not set, it will use the default values.
If any setting is not set, it will use the default values.

order | :: Order | Specifies the ordering in the map generator GUI.
Specifies the ordering in the map generator GUI.
advanced_settings optional | :: AdvancedMapGenSettings | If any setting is not set, it will use the default values.
If any setting is not set, it will use the default values.
basic_settings optional | :: MapGenSettings | If any setting is not set, it will use the default values.
If any setting is not set, it will use the default values.
default optional | :: bool | Whether this is the default preset. [...]
Whether this is the default preset. [...]

## Properties

### order :: Order

Specifies the ordering in the map generator GUI.

### default :: bool optional

Default: `true`

Whether this is the default preset. If `true`, this preset may not have any other properties besides this and order.

If no MapGenPreset has `default = true`, the preset selector will have a blank preset label, with default settings. The "blank" preset goes away when another preset is selected.

### basic_settings :: MapGenSettings optional

If any setting is not set, it will use the default values.

### advanced_settings :: AdvancedMapGenSettings optional

If any setting is not set, it will use the default values.

#### AdvancedMapGenSettings :: struct

## Properties

### asteroids :: MapGenPresetAsteroidSettings optional

### pollution :: MapGenPresetPollutionSettings optional

### enemy_evolution :: MapGenPresetEnemyEvolutionSettings optional

### enemy_expansion :: MapGenPresetEnemyExpansionSettings optional

### difficulty_settings :: MapGenPresetDifficultySettings optional

Type used in

- MapGenPresets::custom_properties