Factorio Prototype DocsVersion 1.1.107

WindSound - 'wind-sound' Example code

A wind sound.

Properties

type :: "wind-sound"

Specification of the type of the prototype.

Specification of the type of the prototype.

name :: string

Unique textual identification of the prototype.

Unique textual identification of the prototype.

sound :: Sound

The sound file and volume.

The sound file and volume.

Properties

type :: "wind-sound"

Specification of the type of the prototype.

name :: string

Unique textual identification of the prototype.

sound :: Sound

The sound file and volume.

Example

{
  type = "wind-sound",
  name = "wind-1",
  sound =
  {
    filename = "__base__/sound/wind/wind.ogg",
    volume = 1.0
  }
}

Prototypes

Types