forked from MineClone5/MineClone5
Add in new mob punched sounds
This commit is contained in:
parent
8e7ce5a72a
commit
d5a38fef58
|
@ -190,12 +190,12 @@ mobs.mob_punch = function(self, hitter, tflp, tool_capabilities, dir)
|
||||||
|
|
||||||
minetest_sound_play(weapon:get_definition().sounds[s], {
|
minetest_sound_play(weapon:get_definition().sounds[s], {
|
||||||
object = self.object, --hitter,
|
object = self.object, --hitter,
|
||||||
max_hear_distance = 8
|
max_hear_distance = 16
|
||||||
}, true)
|
}, true)
|
||||||
else
|
else
|
||||||
minetest_sound_play("default_punch", {
|
minetest_sound_play("default_punch", {
|
||||||
object = self.object,
|
object = self.object,
|
||||||
max_hear_distance = 5
|
max_hear_distance = 16
|
||||||
}, true)
|
}, true)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
default_punch.1 = https://freesound.org/people/Merrick079/sounds/566436/
|
||||||
|
default_punch.2 = https://freesound.org/people/Merrick079/sounds/566435/
|
||||||
|
default_punch.3 = https://freesound.org/people/Merrick079/sounds/566434/
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue