Prototype/AutoplaceControl: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.16)
(Added prototype type to page)
Line 1: Line 1:
== Basics ==
== Basics ==
Prototype type: '''autoplace-control'''
A setting in the map creation GUI. Used by the [[Types/AutoplaceSpecification#control|autoplace system]].
A setting in the map creation GUI. Used by the [[Types/AutoplaceSpecification#control|autoplace system]].



Revision as of 16:27, 21 January 2019

Basics

Prototype type: autoplace-control

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

Mandatory properties

Inherits all properties from Prototype.

category

Type: Types/string

Either "resource" or "terrain".

Optional properties

richness

Type: Types/bool

Default: false

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

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

Differing defaults

order

See Prototype#order

Default: ""

Controls are sorted in the map creation GUI according to this property.