mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
Add in new mob punched sounds
This commit is contained in:
parent
8e7ce5a72a
commit
d5a38fef58
6 changed files with 6 additions and 2 deletions
|
@ -190,12 +190,12 @@ mobs.mob_punch = function(self, hitter, tflp, tool_capabilities, dir)
|
|||
|
||||
minetest_sound_play(weapon:get_definition().sounds[s], {
|
||||
object = self.object, --hitter,
|
||||
max_hear_distance = 8
|
||||
max_hear_distance = 16
|
||||
}, true)
|
||||
else
|
||||
minetest_sound_play("default_punch", {
|
||||
object = self.object,
|
||||
max_hear_distance = 5
|
||||
max_hear_distance = 16
|
||||
}, true)
|
||||
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 a new issue