Prototype/WindSound: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Converted to SMW format)
(Updated styling of prototype doc migration note)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/prototypes/WindSound.html https://lua-api.factorio.com/latest/prototypes/WindSound.html]
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
{{Prototype parent}}
{{Prototype parent}}
A wind sound.
A wind sound.

Latest revision as of 10:43, 21 September 2023

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/prototypes/WindSound.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.


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
    }
  }