Snow nodes make snow sounds
This commit is contained in:
parent
57813ba9bc
commit
563d537164
2 changed files with 14 additions and 6 deletions
|
@ -52,6 +52,18 @@ function mcl_sounds.node_sound_sand_defaults(table)
|
|||
return table
|
||||
end
|
||||
|
||||
function mcl_sounds.node_sound_snow_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name="default_snow_footstep", gain=0.5}
|
||||
table.dug = table.dug or
|
||||
{name="default_snow_footstep", gain=1.0}
|
||||
table.place = table.place or
|
||||
{name="default_place_node", gain=1.0}
|
||||
mcl_sounds.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
||||
function mcl_sounds.node_sound_wood_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue