Factorio Runtime DocsVersion 2.1.7

PlayMusicSpecification - Runtime Docs

PlayMusicSpecification :: table new

Table fields

name :: string

The name of ambient sound to play.

The name of ambient sound to play.

skip_natural_pause :: boolean?

Skip the natural pause between music tracks. If there is currently a track playing, this has no effect. Defaults to false.

Skip the natural pause between music tracks. If there is currently a track playing, this has no effect. Defaults to false.

dont_transition_from :: boolean?

Don't transition from this music track on surface change. Defaults to false.

Don't transition from this music track on surface change. Defaults to false.

delay_duration :: uint32?

Number of ticks for the music transition delay.

Number of ticks for the music transition delay.

fade_out_duration :: uint32?

Number of ticks for the music transition fade out.

Number of ticks for the music transition fade out.

pause_duration :: uint32?

Number of ticks for the music transition pause.

Number of ticks for the music transition pause.

fade_in_duration :: uint32?

Number of ticks for the music transition fade in.

Number of ticks for the music transition fade in.

Fulltext search

Classes

Concepts

Events

Defines

Fulltext search for