Prototype/AutoplaceControl

From Official Factorio Wiki
Revision as of 18:56, 26 October 2017 by Bilka (talk | contribs) (→‎order: fixed type)
Jump to navigation Jump to search

Basics

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

Properties

type

Type: Types/string

Must be "autoplace-control".

name

Type: Types/string

The unique name of this autoplace control.

order

Type: Types/Order

Controls are sorted in the map creation GUI according to their order field. A control with order="a" will always come before a control with order="b".

richness

Type: Types/bool

Optional. Sets whether this control's richness can be set by the player or not. Default is false.

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