mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-10-01 09:31:52 +02:00
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
|
||||||
|
|
||||||
|
4
mods/ENTITIES/mcl_mobs/sounds/attributes.txt
Normal file
4
mods/ENTITIES/mcl_mobs/sounds/attributes.txt
Normal 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/
|
BIN
mods/ENTITIES/mcl_mobs/sounds/default_punch.1.ogg
Normal file
BIN
mods/ENTITIES/mcl_mobs/sounds/default_punch.1.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mcl_mobs/sounds/default_punch.2.ogg
Normal file
BIN
mods/ENTITIES/mcl_mobs/sounds/default_punch.2.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mcl_mobs/sounds/default_punch.3.ogg
Normal file
BIN
mods/ENTITIES/mcl_mobs/sounds/default_punch.3.ogg
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user