1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-21 11:55:43 +02:00

Add event manager and use it to trigger sounds

This commit is contained in:
Perttu Ahola
2012-03-23 20:23:03 +02:00
parent e53794868e
commit 6c14025b2d
15 changed files with 388 additions and 14 deletions

View File

@@ -654,6 +654,10 @@ minetest.register_node("default:dirt_with_grass", {
is_ground_content = true,
groups = {crumbly=3},
drop = 'default:dirt',
sounds = {
--footstep = "default_grass_footstep",
footstep = {name="default_grass_footstep", gain=0.5},
},
})
minetest.register_node("default:dirt_with_grass_footsteps", {