diff --git a/api.lua b/api.lua index e72ed66..5022b27 100644 --- a/api.lua +++ b/api.lua @@ -25,7 +25,7 @@ local use_cmi = minetest.global_exists("cmi") mobs = { mod = "redo", - version = "20221115", + version = "20221125", intllib = S, 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 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) diff --git a/sounds/default_punch.ogg b/sounds/default_punch.ogg deleted file mode 100644 index 28a500b..0000000 Binary files a/sounds/default_punch.ogg and /dev/null differ diff --git a/sounds/license.txt b/sounds/license.txt index 3b160fe..acf8d1c 100644 --- a/sounds/license.txt +++ b/sounds/license.txt @@ -1,7 +1,10 @@ -Creative Commons sounds from Freesound.org +Creative Commons 0 sounds from Freesound.org mobs_swing.ogg by qubodup - http://freesound.org/people/qubodup/sounds/60012/ - + mobs_spell.ogg by littlerobotsoundfactory - http://freesound.org/people/LittleRobotSoundFactory/sounds/270396/ + +mobs_punch.ogg by Merrick079 + - https://freesound.org/people/Merrick079/sounds/566436/ diff --git a/sounds/mobs_punch.ogg b/sounds/mobs_punch.ogg new file mode 100644 index 0000000..86cabff Binary files /dev/null and b/sounds/mobs_punch.ogg differ