mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-25 02:00:21 +01:00
update punch sound to cc0 version
This commit is contained in:
parent
d49c0727f1
commit
4e963e6b90
4
api.lua
4
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)
|
||||
|
||||
|
Binary file not shown.
@ -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/
|
||||
|
BIN
sounds/mobs_punch.ogg
Normal file
BIN
sounds/mobs_punch.ogg
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user