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

# Factorio Prototype Docs Version 2.0.77

# AutoplaceControl - Prototype Docs

## AutoplaceControl 'autoplace-control'

A setting in the map creation GUI. Used by the autoplace system.

Prototype limited to 255 total instances.

Inherits from Prototype « PrototypeBase

## Properties

- default
- sorted

category | :: `"resource"` or `"terrain"` or `"cliff"` or `"enemy"` | Controls in what tab the autoplace is shown in the map generator GUI.
Controls in what tab the autoplace is shown in the map generator GUI.
richness optional | :: boolean | Sets whether this control's richness can be changed. [...]
Sets whether this control's richness can be changed. [...]
can_be_disabled optional | :: boolean | Whether there is an "enable" checkbox for the autoplace control in the map generator GUI. [...]
Whether there is an "enable" checkbox for the autoplace control in the map generator GUI. [...]
related_to_fight_achievements optional | :: boolean | Whether this settings being lower than default disables fight related achievements.
Whether this settings being lower than default disables fight related achievements.

Inherited from Prototype

factoriopedia_alternative optional | :: string | The ID type corresponding to the prototype that inherits from this. [...]
The ID type corresponding to the prototype that inherits from this. [...]
custom_tooltip_fields optional | :: array[CustomTooltipField] | Allows to add extra description items to the tooltip and Factoriopedia.
Allows to add extra description items to the tooltip and Factoriopedia.

Inherited from PrototypeBase

type | :: string | Specifies the kind of prototype this is. [...]
Specifies the kind of prototype this is. [...]
name | :: string | Unique textual identification of the prototype. [...]
Unique textual identification of the prototype. [...]
order optional | :: Order | Used to order prototypes in inventory, recipes and GUIs. [...]
Used to order prototypes in inventory, recipes and GUIs. [...]
localised_name optional | :: LocalisedString | Overwrites the name set in the locale file. [...]
Overwrites the name set in the locale file. [...]
localised_description optional | :: LocalisedString | Overwrites the description set in the locale file. [...]
Overwrites the description set in the locale file. [...]
factoriopedia_description optional | :: LocalisedString | Provides additional description used in factoriopedia.
Provides additional description used in factoriopedia.
subgroup optional | :: ItemSubGroupID | The name of an ItemSubGroup.
The name of an ItemSubGroup.
hidden[overridden] optional | :: boolean | Hides the autoplace control from the map generation screen.
Hides the autoplace control from the map generation screen.
hidden_in_factoriopedia optional | :: boolean |
parameter optional | :: boolean | Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.
Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.
factoriopedia_simulation optional | :: SimulationDefinition | The simulation shown when looking at this prototype in the Factoriopedia GUI.
The simulation shown when looking at this prototype in the Factoriopedia GUI.

category | :: `"resource"` or `"terrain"` or `"cliff"` or `"enemy"` | Controls in what tab the autoplace is shown in the map generator GUI.
Controls in what tab the autoplace is shown in the map generator GUI.
can_be_disabled optional | :: boolean | Whether there is an "enable" checkbox for the autoplace control in the map generator GUI. [...]
Whether there is an "enable" checkbox for the autoplace control in the map generator GUI. [...]
related_to_fight_achievements optional | :: boolean | Whether this settings being lower than default disables fight related achievements.
Whether this settings being lower than default disables fight related achievements.
richness optional | :: boolean | Sets whether this control's richness can be changed. [...]
Sets whether this control's richness can be changed. [...]

Inherited from Prototype

custom_tooltip_fields optional | :: array[CustomTooltipField] | Allows to add extra description items to the tooltip and Factoriopedia.
Allows to add extra description items to the tooltip and Factoriopedia.
factoriopedia_alternative optional | :: string | The ID type corresponding to the prototype that inherits from this. [...]
The ID type corresponding to the prototype that inherits from this. [...]

Inherited from PrototypeBase

name | :: string | Unique textual identification of the prototype. [...]
Unique textual identification of the prototype. [...]
type | :: string | Specifies the kind of prototype this is. [...]
Specifies the kind of prototype this is. [...]
factoriopedia_description optional | :: LocalisedString | Provides additional description used in factoriopedia.
Provides additional description used in factoriopedia.
factoriopedia_simulation optional | :: SimulationDefinition | The simulation shown when looking at this prototype in the Factoriopedia GUI.
The simulation shown when looking at this prototype in the Factoriopedia GUI.
hidden[overridden] optional | :: boolean | Hides the autoplace control from the map generation screen.
Hides the autoplace control from the map generation screen.
hidden_in_factoriopedia optional | :: boolean |
localised_description optional | :: LocalisedString | Overwrites the description set in the locale file. [...]
Overwrites the description set in the locale file. [...]
localised_name optional | :: LocalisedString | Overwrites the name set in the locale file. [...]
Overwrites the name set in the locale file. [...]
order optional | :: Order | Used to order prototypes in inventory, recipes and GUIs. [...]
Used to order prototypes in inventory, recipes and GUIs. [...]
parameter optional | :: boolean | Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.
Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.
subgroup optional | :: ItemSubGroupID | The name of an ItemSubGroup.
The name of an ItemSubGroup.

## Properties

### category :: `"resource"` or `"terrain"` or `"cliff"` or `"enemy"`

Controls in what tab the autoplace is shown in the map generator GUI.

### richness :: boolean optional

Default: `false`

Sets whether this control's richness can be changed. The map generator GUI will only show the richness slider when the `category` is `"resource"`.

If the autoplace control is used to generate ores, you probably want this to be true.

### can_be_disabled :: boolean optional

Default: `true`

Whether there is an "enable" checkbox for the autoplace control in the map generator GUI. If this is false, the autoplace control cannot be disabled from the GUI.

### related_to_fight_achievements :: boolean optional

Default: `false`

Whether this settings being lower than default disables fight related achievements.

## Overridden Properties

### hidden :: boolean optional

Default: `false`

Hides the autoplace control from the map generation screen.