Sounds: Remove 'default_dig_crumbly' from leaves defaults table
authorparamat <mat.gregory@virginmedia.com>
Sun, 22 Jan 2017 06:54:59 +0000 (06:54 +0000)
committerparamat <mat.gregory@virginmedia.com>
Sun, 22 Jan 2017 07:47:04 +0000 (07:47 +0000)
Now that the missing 'default_dig_snappy' sound has been added we can
remove the dirt dig sound from the table. All nodes that use the
leaves defaults table have group 'snappy' so 'default_dig_snappy' now
becomes their default dig sound.

mods/default/functions.lua

index 11c42d5928877b5b34ac7188ec082d4c2b99ac04..957bce60a8dc5a8a8e035b3195e6a92c82f4836f 100644 (file)
@@ -77,8 +77,6 @@ function default.node_sound_leaves_defaults(table)
                        {name = "default_grass_footstep", gain = 0.45}
        table.dug = table.dug or
                        {name = "default_grass_footstep", gain = 0.7}
-       table.dig = table.dig or
-                       {name = "default_dig_crumbly", gain = 0.4}
        table.place = table.place or
                        {name = "default_place_node", gain = 1.0}
        default.node_sound_defaults(table)