Factorio Prototype DocsVersion 2.0.19

CliffPlacementSettings :: struct

Properties

name optional :: EntityID

Name of the CliffPrototype.

Name of the CliffPrototype.

control optional :: AutoplaceControlID

Name of the AutoplaceControl.

Name of the AutoplaceControl.

cliff_elevation_0 optional :: float

Elevation at which the first row of cliffs is placed. [...]

Elevation at which the first row of cliffs is placed. [...]

cliff_elevation_interval optional :: float

Elevation difference between successive rows of cliffs. [...]

Elevation difference between successive rows of cliffs. [...]

cliff_smoothing optional :: float

Smoothing makes cliffs straighter on rough elevation but makes placement inaccurate. [...]

Smoothing makes cliffs straighter on rough elevation but makes placement inaccurate. [...]

richness optional :: float

Corresponds to 'continuity' in the GUI. [...]

Corresponds to 'continuity' in the GUI. [...]

Properties

name :: EntityID optional

Name of the CliffPrototype.

control :: AutoplaceControlID optional

Name of the AutoplaceControl.

cliff_elevation_0 :: float optional

Default: 10

Elevation at which the first row of cliffs is placed. Can not be set from the map generation GUI.

cliff_elevation_interval :: float optional

Default: 40

Elevation difference between successive rows of cliffs. This is inversely proportional to 'frequency' in the map generation GUI. Specifically, when set from the GUI the value is 40 / frequency.

cliff_smoothing :: float optional

Default: 1

Smoothing makes cliffs straighter on rough elevation but makes placement inaccurate. 0 is no smoothing, 1 is full smoothing. Values outside of 0-1 are possible for specific effects but not recommended.

richness :: float optional

Corresponds to 'continuity' in the GUI. This value is not used directly, but is used by the 'cliffiness' noise expression, which in combination with elevation and the two cliff elevation properties drives cliff placement (cliffs are placed when elevation crosses the elevation contours defined by cliff_elevation_0 and cliff_elevation_interval when 'cliffiness' is greater than 0.5). The default 'cliffiness' expression interprets this value such that larger values result in longer unbroken walls of cliffs, and smaller values (between 0 and 1) result in larger gaps in cliff walls.

Prototypes

Types

Defines