1
0
mirror of https://github.com/minetest/minetest_game.git synced 2025-06-29 13:20:25 +02:00

Default: Add metal sound table function and metal sounds

This commit is contained in:
Auke Kok
2016-10-19 16:23:05 -07:00
committed by paramat
parent f7325d26b6
commit fa9a34554b
10 changed files with 24 additions and 0 deletions

View File

@ -95,6 +95,19 @@ function default.node_sound_glass_defaults(table)
return table
end
function default.node_sound_metal_defaults(table)
table = table or {}
table.footstep = table.footstep or
{name = "default_metal_footstep", gain = 0.5}
table.dig = table.dig or
{name = "default_dig_metal", gain = 0.5}
table.dug = table.dug or
{name = "default_dug_metal", gain = 0.5}
table.place = table.place or
{name = "default_place_node_metal", gain = 0.5}
default.node_sound_defaults(table)
return table
end
--
-- Lavacooling