Factorio Prototype DocsVersion 2.0.26

LightFlickeringDefinition :: struct

Specifies the light flicker. Note that this defaults to "showing a white light" instead of the usually expected "showing nothing".

Properties

minimum_intensity optional :: float

Brightness of the light in the range [0, 1] where 0 is no light and 1 is the maximum light.

Brightness of the light in the range [0, 1] where 0 is no light and 1 is the maximum light.

maximum_intensity optional :: float

Brightness of the light in the range [0, 1] where 0 is no light and 1 is the maximum light.

Brightness of the light in the range [0, 1] where 0 is no light and 1 is the maximum light.

derivation_change_frequency optional :: float
derivation_change_deviation optional :: float
border_fix_speed optional :: float
minimum_light_size optional :: float

The radius of the light in tiles. [...]

The radius of the light in tiles. [...]

light_intensity_to_size_coefficient optional :: float
color optional :: Color

Color of the light.

Color of the light.

Properties

minimum_intensity :: float optional

Default: 0.2

Brightness of the light in the range [0, 1] where 0 is no light and 1 is the maximum light.

maximum_intensity :: float optional

Default: 0.8

Brightness of the light in the range [0, 1] where 0 is no light and 1 is the maximum light.

derivation_change_frequency :: float optional

Default: 0.3

derivation_change_deviation :: float optional

Default: 0.06

border_fix_speed :: float optional

Default: 0.02

minimum_light_size :: float optional

Default: 0.5

The radius of the light in tiles. Note, that the light gets darker near the edges, so the effective size of the light seems to be smaller.

light_intensity_to_size_coefficient :: float optional

Default: 0.5

color :: Color optional

Default: {r=1, g=1, b=1} (White)

Color of the light.

Prototypes

Types

Defines