1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2024-12-27 03:00:40 +01:00

Use metal sounds for enhanced shields

This commit is contained in:
stujones11 2017-04-09 15:43:35 +01:00
parent 3951c833da
commit e5e926a02e

View File

@ -61,10 +61,10 @@ if armor.materials.wood then
damage_groups = {cracky=3, snappy=2, choppy=3, crumbly=2, level=2},
reciprocate_damage = true,
on_damage = function(player, stack)
play_sound_effect(player, "default_wood_footstep")
play_sound_effect(player, "default_dig_metal")
end,
on_destroy = function(player, stack)
play_sound_effect(player, "default_wood_footstep")
play_sound_effect(player, "default_dug_metal")
end,
})
minetest.register_craft({
@ -100,10 +100,10 @@ if armor.materials.cactus then
damage_groups = {cracky=3, snappy=3, choppy=2, crumbly=2, level=2},
reciprocate_damage = true,
on_damage = function(player, stack)
play_sound_effect(player, "default_dirt_footstep")
play_sound_effect(player, "default_dig_metal")
end,
on_destroy = function(player, stack)
play_sound_effect(player, "default_dirt_footstep")
play_sound_effect(player, "default_dug_metal")
end,
})
minetest.register_craft({