Prototype/AutoplaceControl

From Official Factorio Wiki
Revision as of 07:51, 12 February 2014 by Immibis (talk | contribs) (Created page.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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/string

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.