trouble with sound
I'm trying to create a new block with the default wood sound for when it is walked on. I thought this line of code would do it, but causes minetest to crash on loading.
Can someone explain what I'm doing wrong?
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
sounds = default.node_sound_wood_defaults()
Can someone explain what I'm doing wrong?