Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# WorldAmbientSoundDefinition - Prototype Docs

## WorldAmbientSoundDefinition :: struct or Sound

## Properties

- default
- sorted

sound optional | :: Sound |
radius optional | :: double |
min_entity_count optional | :: uint32 | Has to be less than or equal to `max_entity_count`.
Has to be less than or equal to `max_entity_count`.
max_entity_count optional | :: uint32 |
entity_to_sound_ratio optional | :: float |
average_pause_seconds optional | :: double |

average_pause_seconds optional | :: double |
entity_to_sound_ratio optional | :: float |
max_entity_count optional | :: uint32 |
min_entity_count optional | :: uint32 | Has to be less than or equal to `max_entity_count`.
Has to be less than or equal to `max_entity_count`.
radius optional | :: double |
sound optional | :: Sound |

## Properties

### sound :: Sound optional

### radius :: double optional

Default: `10`

### min_entity_count :: uint32 optional

Default: `5`

Has to be less than or equal to `max_entity_count`.

### max_entity_count :: uint32 optional

Default: `15`

### entity_to_sound_ratio :: float optional

Default: `0.2`

### average_pause_seconds :: double optional

Default: `0.0`

Type used in

- EntityPrototype::ambient_sounds
- TilePrototype::ambient_sounds