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:
@@ -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", {
|
||||
|
Reference in New Issue
Block a user