1
0
Fork 0

Add in new mob punched sounds

This commit is contained in:
jordan4ibanez 2021-04-23 16:19:37 -04:00
parent 8e7ce5a72a
commit d5a38fef58
6 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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.