update punch sound to cc0 version

This commit is contained in:
tenplus1 2022-11-25 18:47:15 +00:00
parent d49c0727f1
commit 4e963e6b90
4 changed files with 7 additions and 4 deletions

View File

@ -25,7 +25,7 @@ local use_cmi = minetest.global_exists("cmi")
mobs = { mobs = {
mod = "redo", mod = "redo",
version = "20221115", version = "20221125",
intllib = S, intllib = S,
invis = minetest.global_exists("invisibility") and invisibility or {} invis = minetest.global_exists("invisibility") and invisibility or {}
} }
@ -2936,7 +2936,7 @@ function mob_class:on_punch(hitter, tflp, tool_capabilities, dir, damage)
-- select tool use sound if found, or fallback to default -- select tool use sound if found, or fallback to default
local snd = weapon_def.sound and weapon_def.sound.use local snd = weapon_def.sound and weapon_def.sound.use
or "default_punch" or "mobs_punch"
minetest.sound_play(snd, {object = self.object, max_hear_distance = 8}, true) minetest.sound_play(snd, {object = self.object, max_hear_distance = 8}, true)

Binary file not shown.

View File

@ -1,7 +1,10 @@
Creative Commons sounds from Freesound.org Creative Commons 0 sounds from Freesound.org
mobs_swing.ogg by qubodup mobs_swing.ogg by qubodup
- http://freesound.org/people/qubodup/sounds/60012/ - http://freesound.org/people/qubodup/sounds/60012/
mobs_spell.ogg by littlerobotsoundfactory mobs_spell.ogg by littlerobotsoundfactory
- http://freesound.org/people/LittleRobotSoundFactory/sounds/270396/ - http://freesound.org/people/LittleRobotSoundFactory/sounds/270396/
mobs_punch.ogg by Merrick079
- https://freesound.org/people/Merrick079/sounds/566436/

BIN
sounds/mobs_punch.ogg Normal file

Binary file not shown.