Add wood place/dug sound

master
Wuzzy 2022-01-03 02:26:57 +01:00
parent 037d1f9d6f
commit 80513ed1c8
5 changed files with 8 additions and 1 deletions

View File

@ -46,6 +46,11 @@ Sounds:
- <http://opengameart.org/content/fantasy-weapons-and-apparel-sfx-library>
- All sounds are organic and unprocessed, apart from normalization and downmixing to mono.
- 96 files, 44.1kHz, 16bit.
- Place/dug:
- by youandbiscuitme
- License: CC BY 3.0
- Origin: <https://freesound.org/people/youandbiscuitme/sounds/258244/>
- Changes were made
- All other sounds come from Minetest Game (see license of Minetest Game 5.4.1 for details)
Code:

View File

@ -38,7 +38,9 @@ function lzr_sounds.node_sound_wood_defaults(table)
table.footstep = table.footstep or
{name = "lzr_sounds_footstep_wood", gain = 0.3}
table.dug = table.dug or
{name = "lzr_sounds_footstep_wood", gain = 1.0}
{name = "lzr_sounds_place_wood", gain = 1.0, pitch = 0.95 }
table.place = table.place or
{name = "lzr_sounds_place_wood", gain = 1.0}
lzr_sounds.node_sound_defaults(table)
return table
end

Binary file not shown.

Binary file not shown.

Binary file not shown.