1
0
mirror of https://github.com/minetest/minetest.git synced 2025-06-30 23:20:22 +02:00

Add sounds for falling and attached nodes (#7719)

* Add sounds for falling and attached nodes

The sound specified in `node_definition.sounds.fall` is used.
When a falling node is spawned at a position or an attached node drops, the sound is played at this position.

* allow all sorts of soundspecs
This commit is contained in:
DS
2019-03-05 08:17:48 +01:00
committed by Loïc Blot
parent ee698770b9
commit 60ab2d94f0
2 changed files with 10 additions and 1 deletions

View File

@ -6084,6 +6084,7 @@ Used by `minetest.register_node`.
dug = <SimpleSoundSpec>,
place = <SimpleSoundSpec>,
place_failed = <SimpleSoundSpec>,
fall = <SimpleSoundSpec>,
},
drop = "",