From e5e926a02ee85bac373b82c7b3b00267fc3899ed Mon Sep 17 00:00:00 2001 From: stujones11 Date: Sun, 9 Apr 2017 15:43:35 +0100 Subject: [PATCH] Use metal sounds for enhanced shields --- shields/init.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shields/init.lua b/shields/init.lua index 0a40eaa..f03ecce 100644 --- a/shields/init.lua +++ b/shields/init.lua @@ -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({