Prototype/WindSound: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(0.17)
 
(Converted to SMW format)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Basics==
{{Prototype parent}}
Prototype type: '''wind-sound'''
A wind sound.
 
{{Prototype TOC|wind-sound}}


==Properties==
==Properties==
=== type ===
'''Type''': [[Types/string]]


{{Prototype property|type|[[Types/string|string]]}}
Specification of the type of the prototype. Must be "wind-sound".
Specification of the type of the prototype. Must be "wind-sound".


=== name ===
{{Prototype property|name|[[Types/string|string]]}}
'''Type''': [[Types/string]]
 
Unique textual identification of the prototype.
Unique textual identification of the prototype.


=== sound ===
{{Prototype property|sound|[[Types/Sound|Sound]]}}
'''Type''': [[Types/Sound]]
 
The sound file and volume.
The sound file and volume.



Latest revision as of 22:19, 27 July 2019

Prototype definitions » Prototype/WindSound


A wind sound.


Prototype/WindSound — wind-sound
name::string
sound::Sound
type::string

Properties

type

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

name

Type: string
Unique textual identification of the prototype.

sound

Type: Sound
The sound file and volume.

Example

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