]> git.lizzy.rs Git - Crafter.git/blobdiff - mods/main/sounds.lua
Clean up hurt sound
[Crafter.git] / mods / main / sounds.lua
index a60791ae10092dbfd1eda76e3f32c2b24c80d7e5..0310d28c5813ba07a6b67c84da5dc6966cf5c099 100644 (file)
@@ -34,9 +34,9 @@ function main.sandSound(table)
        table.footstep = table.footstep or
                        {name = "sand", gain = 0.2}
        table.dug = table.dug or
-                       {name = "", gain = 1.0}
+                       {name = "sand", gain = 0.3}
        table.place = table.place or
-                       {name = "sand", gain = 0.5}
+                       {name = "sand", gain = 0.3}
        --default.node_sound_defaults(table)
        return table
 end
@@ -54,3 +54,16 @@ function main.grassSound(table)
        --default.node_sound_defaults(table)
        return table
 end
+function main.dirtSound(table)
+       table = table or {}
+       table.dig = table.dig or
+                       {name = "dirt",gain=0.5}
+       table.footstep = table.footstep or
+                       {name = "dirt", gain = 0.3}
+       table.dug = table.dug or
+                       {name = "dirt", gain = 1.0}
+       table.place = table.place or
+                       {name = "dirt", gain = 0.5}
+       --default.node_sound_defaults(table)
+       return table
+end