Factorio Prototype DocsVersion 1.1.107

SoundDefinition :: struct

Properties

filename :: FileName

Supported sound file formats are .ogg (Vorbis) and .wav.

Supported sound file formats are .ogg (Vorbis) and .wav.

volume optional :: float
preload optional :: bool
speed optional :: float

Speed must be >= 1 / 64. [...]

Speed must be >= 1 / 64. [...]

min_speed optional :: float

Only loaded if speed is not defined. [...]

Only loaded if speed is not defined. [...]

max_speed optional :: float

Only loaded, and mandatory, if min_speed is defined. [...]

Only loaded, and mandatory, if min_speed is defined. [...]

Properties

filename :: FileName

Supported sound file formats are .ogg (Vorbis) and .wav.

volume :: float optional

Default: 1.0

preload :: bool optional

speed :: float optional

Default: 1.0

Speed must be >= 1 / 64. This sets both min and max speeds.

min_speed :: float optional

Default: 1.0

Only loaded if speed is not defined.

Must be >= 1 / 64.

max_speed :: float optional

Default: 1.0

Only loaded, and mandatory, if min_speed is defined.

Must be >= min_speed.

Prototypes

Types