mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-22 20:43:43 +01:00
Use metal sounds for enhanced shields
This commit is contained in:
parent
3951c833da
commit
e5e926a02e
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user