Children |
| sound optional | :: Sound | |
| audible_distance_modifier optional | :: double | Modifies how far a sound can be heard. [...] |
Modifies how far a sound can be heard. [...] | ||
| probability optional | :: double | Modifies how often the sound is played. |
Modifies how often the sound is played. | ||
| fade_in_ticks optional | :: uint32 | Can't be used when |
Can't be used when | ||
| fade_out_ticks optional | :: uint32 | Can't be used when |
Can't be used when | ||
| activity_to_volume_modifiers optional | :: ActivityMatchingModifiers | |
| activity_to_speed_modifiers optional | :: ActivityMatchingModifiers | |
| match_progress_to_activity optional | :: bool | |
| match_volume_to_activity optional | :: bool | |
| match_speed_to_activity optional | :: bool | |
| play_for_working_visualisations optional | :: array[string] | |
| activity_to_speed_modifiers optional | :: ActivityMatchingModifiers | |
| activity_to_volume_modifiers optional | :: ActivityMatchingModifiers | |
| audible_distance_modifier optional | :: double | Modifies how far a sound can be heard. [...] |
Modifies how far a sound can be heard. [...] | ||
| fade_in_ticks optional | :: uint32 | Can't be used when |
Can't be used when | ||
| fade_out_ticks optional | :: uint32 | Can't be used when |
Can't be used when | ||
| match_progress_to_activity optional | :: bool | |
| match_speed_to_activity optional | :: bool | |
| match_volume_to_activity optional | :: bool | |
| play_for_working_visualisations optional | :: array[string] | |
| probability optional | :: double | Modifies how often the sound is played. |
Modifies how often the sound is played. | ||
| sound optional | :: Sound | |


Default: 1
Modifies how far a sound can be heard. Can only be 1 or lower, has to be a positive number.

Default: 1
Modifies how often the sound is played.
probability = 1 / (3 * 60) -- average pause between the sound is 3 seconds

Default: 0
Can't be used when match_progress_to_activity is true.

Default: 0
Can't be used when match_progress_to_activity is true.




Prototypes
Types
Defines