Factorio Prototype DocsVersion 1.1.107

AutoplaceControl - 'autoplace-control'

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

Prototype limited to 255 total instances.

Inherits from PrototypeBase

Properties

category :: "resource" or "terrain" 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 :: bool

Sets whether this control's richness can be changed. [...]

Sets whether this control's richness can be changed. [...]

can_be_disabled optional :: bool

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. [...]

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. [...]

Properties

category :: "resource" or "terrain" or "enemy"

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

richness :: bool 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 :: bool 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.

Prototypes

Types