Prototype/WindSound: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
 
Line 1: Line 1:
{{Prototype parent}}
{{Prototype parent}}
A wind sound.


==Basics==
{{Prototype TOC|wind-sound}}
Prototype type: '''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
    }
  }