Prototype/WindSound: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
 
(Set prototype parent)
Line 1: Line 1:
{{Prototype parent}}
==Basics==
==Basics==
Prototype type: '''wind-sound'''
Prototype type: '''wind-sound'''

Revision as of 14:52, 24 July 2019

Prototype definitions » Prototype/WindSound


Basics

Prototype type: wind-sound

Properties

type

Type: Types/string

Specification of the type of the prototype. Must be "wind-sound".

name

Type: Types/string

Unique textual identification of the prototype.

sound

Type: Types/Sound

The sound file and volume.

Example

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