mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-03-11 06:07:44 +01:00
Add some missing sounds for mobs (#4875)
- Eating sound for Sheep (file already here) - Damage sound for Sheep - mobs_mc_sheep_damage.ogg all taken from https://freesound.org/people/Breviceps/sounds/644830/ released under CC0 - More random baa sounds for Sheep - mobs_mc_sheep_random.1.ogg is taken from here https://freesound.org/people/michaelperfect/sounds/710298/ and is released under CC0 - mobs_mc_sheep_random.2.ogg is taken from here https://freesound.org/people/satoristudios3/sounds/677221/ and is released under CC0 - Footsteps for Skeletons fixed - Random Sounds for Skeletons fixed - Sounds for Iron Golem - mobs_mc_iron_golem_clank_damage.1.ogg comes from https://freesound.org/people/F.M.Audio/sounds/616200/ CC-BY-4.0 - mobs_mc_iron_golem_clank_damage.2.ogg comes from https://freesound.org/people/F.M.Audio/sounds/620435/ CC-BY-4.0 - mobs_mc_iron_golem_clank_damage.3.ogg comes from https://freesound.org/people/F.M.Audio/sounds/620830/ CC-BY-4.0 - mobs_mc_iron_golem_death.ogg taken from https://freesound.org/people/yottasounds/sounds/175180/ under cc-by-3.0 - mobs_mc_iron_golem_random.1.ogg taken from https://freesound.org/people/LemmaEOF/sounds/538065/ under cc-by-4.0 - mobs_mc_iron_golem_random.2.ogg taken from https://freesound.org/people/newagesoup/sounds/337841/ released under CC0 Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4875 Reviewed-by: kno10 <kno10@noreply.git.minetest.land> Co-authored-by: SmokeyDope <smokey@tilde.team> Co-committed-by: SmokeyDope <smokey@tilde.team>
This commit is contained in:
parent
373c6134fe
commit
22ff4d3694
12 changed files with 15 additions and 4 deletions
mods/ENTITIES/mobs_mc
|
@ -33,7 +33,12 @@ mcl_mobs.register_mob("mobs_mc:iron_golem", {
|
|||
},
|
||||
visual_size = {x=3, y=3},
|
||||
makes_footstep_sound = true,
|
||||
-- TODO: sounds
|
||||
sounds = {
|
||||
random = "mobs_mc_iron_golem_random",
|
||||
death = "mobs_mc_iron_golem_death",
|
||||
damage = "mobs_mc_iron_golem_clank_damage",
|
||||
distance = 16,
|
||||
},
|
||||
view_range = 16,
|
||||
stepheight = 1.1,
|
||||
owner = "",
|
||||
|
|
|
@ -92,9 +92,9 @@ mcl_mobs.register_mob("mobs_mc:sheep", {
|
|||
},
|
||||
fear_height = 4,
|
||||
sounds = {
|
||||
random = "mobs_sheep",
|
||||
random = "mobs_mc_sheep_random",
|
||||
death = "mobs_sheep",
|
||||
damage = "mobs_sheep",
|
||||
damage = "mobs_mc_sheep_damage",
|
||||
sounds = "mobs_mc_animal_eat_generic",
|
||||
distance = 16,
|
||||
},
|
||||
|
@ -149,6 +149,11 @@ mcl_mobs.register_mob("mobs_mc:sheep", {
|
|||
self.object:set_velocity(vector.zero())
|
||||
self.gotten = false
|
||||
self.object:set_properties({ textures = self.base_texture })
|
||||
minetest.sound_play({name="mobs_mc_animal_eat_generic", gain=0.4}, {
|
||||
pos = pos,
|
||||
gain= 0.4,
|
||||
max_hear_distance = 16,
|
||||
}, true)
|
||||
end
|
||||
end)
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@ local skeleton = {
|
|||
"mobs_mc_skeleton.png", -- skeleton
|
||||
} },
|
||||
makes_footstep_sound = true,
|
||||
walk_velocity = 1,
|
||||
textures = {
|
||||
{
|
||||
"mobs_mc_empty.png", -- armor
|
||||
|
@ -47,7 +48,7 @@ local skeleton = {
|
|||
},
|
||||
-- TODO: change random to new api when min minetest version is 5.8
|
||||
sounds = {
|
||||
random = "mobs_mc_skeleton_random.2",
|
||||
random = "mobs_mc_skeleton_random",
|
||||
death = "mobs_mc_skeleton_death",
|
||||
damage = "mobs_mc_skeleton_hurt",
|
||||
distance = 16,
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_iron_golem_death.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_iron_golem_death.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_iron_golem_random.1.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_iron_golem_random.1.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_iron_golem_random.2.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_iron_golem_random.2.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_sheep_damage.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_sheep_damage.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_sheep_random.1.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_sheep_random.1.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_sheep_random.2.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_sheep_random.2.ogg
Normal file
Binary file not shown.
Loading…
Reference in a new issue