From b70e58ab059d4ab2de3f8e7f39447eab4f29fcd4 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 5 Dec 2020 23:37:12 +0100 Subject: [PATCH] Add animal eat sound --- mods/ENTITIES/mcl_mobs/api.lua | 2 ++ mods/ENTITIES/mcl_mobs/api.txt | 1 + mods/ENTITIES/mobs_mc/LICENSE-media.md | 3 +++ mods/ENTITIES/mobs_mc/chicken.lua | 2 ++ mods/ENTITIES/mobs_mc/cow+mooshroom.lua | 1 + mods/ENTITIES/mobs_mc/horse.lua | 4 ++++ mods/ENTITIES/mobs_mc/llama.lua | 1 + mods/ENTITIES/mobs_mc/ocelot.lua | 2 ++ mods/ENTITIES/mobs_mc/parrot.lua | 2 ++ mods/ENTITIES/mobs_mc/pig.lua | 1 + mods/ENTITIES/mobs_mc/rabbit.lua | 6 +++++- mods/ENTITIES/mobs_mc/sheep.lua | 1 + .../sounds/mobs_mc_animal_eat_generic.ogg | Bin 0 -> 15720 bytes mods/ENTITIES/mobs_mc/wolf.lua | 3 ++- 14 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 mods/ENTITIES/mobs_mc/sounds/mobs_mc_animal_eat_generic.ogg diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 4ad960bc2..8b585e533 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -4357,6 +4357,8 @@ function mobs:feed_tame(self, clicker, feed_count, breed, tame) clicker:set_wielded_item(item) end + mob_sound(self, "eat", nil, true) + -- increase health self.health = self.health + 4 diff --git a/mods/ENTITIES/mcl_mobs/api.txt b/mods/ENTITIES/mcl_mobs/api.txt index fa3510ca8..ba4ec4bdf 100644 --- a/mods/ENTITIES/mcl_mobs/api.txt +++ b/mods/ENTITIES/mcl_mobs/api.txt @@ -145,6 +145,7 @@ functions needed for the mob to work properly which contains the following: 'base_pitch' base pitch to use adult mobs, default is 1.0 (MCL2 extension) 'random' played randomly from time to time. also played for overfeeding animal. + 'eat' played when mob eats something 'war_cry' what you hear when mob starts to attack player. (currently disabled) 'attack' what you hear when being attacked. 'shoot_attack' sound played when mob shoots. diff --git a/mods/ENTITIES/mobs_mc/LICENSE-media.md b/mods/ENTITIES/mobs_mc/LICENSE-media.md index e77d8cb3b..30c42c740 100644 --- a/mods/ENTITIES/mobs_mc/LICENSE-media.md +++ b/mods/ENTITIES/mobs_mc/LICENSE-media.md @@ -236,6 +236,9 @@ Origin of those models: * [kbnevel](https://freesound.org/people/kbnevel/) * `mobs_mc_magma_cube_attack.ogg` (CC0) * Derived from: +* [InspectorJ](https://freesound.org/people/InspectorJ/sounds/429591/) + * `mobs_mc_animal_eat_generic.ogg` (CC BY 3.0) + * Source: Note: Many of these sounds have been more or less modified to fit the game. diff --git a/mods/ENTITIES/mobs_mc/chicken.lua b/mods/ENTITIES/mobs_mc/chicken.lua index 68b055ac5..23f63ec39 100644 --- a/mods/ENTITIES/mobs_mc/chicken.lua +++ b/mods/ENTITIES/mobs_mc/chicken.lua @@ -42,12 +42,14 @@ mobs:register_mob("mobs_mc:chicken", { random = "mobs_mc_chicken_buck", damage = "mobs_mc_chicken_hurt", death = "mobs_mc_chicken_hurt", + eat = "mobs_mc_animal_eat_generic", distance = 16, }, sounds_child = { random = "mobs_mc_chicken_child", damage = "mobs_mc_chicken_child", death = "mobs_mc_chicken_child", + eat = "mobs_mc_animal_eat_generic", distance = 16, }, animation = { diff --git a/mods/ENTITIES/mobs_mc/cow+mooshroom.lua b/mods/ENTITIES/mobs_mc/cow+mooshroom.lua index 767bfd159..6eb6f6f5f 100644 --- a/mods/ENTITIES/mobs_mc/cow+mooshroom.lua +++ b/mods/ENTITIES/mobs_mc/cow+mooshroom.lua @@ -32,6 +32,7 @@ local cow_def = { random = "mobs_mc_cow", damage = "mobs_mc_cow_hurt", death = "mobs_mc_cow_hurt", + eat = "mobs_mc_animal_eat_generic", distance = 16, }, animation = { diff --git a/mods/ENTITIES/mobs_mc/horse.lua b/mods/ENTITIES/mobs_mc/horse.lua index d4bfd9af1..76bbafc4c 100644 --- a/mods/ENTITIES/mobs_mc/horse.lua +++ b/mods/ENTITIES/mobs_mc/horse.lua @@ -106,6 +106,7 @@ local horse = { -- TODO: Separate damage sound damage = "mobs_mc_horse_death", death = "mobs_mc_horse_death", + eat = "mobs_mc_animal_eat_generic", distance = 16, }, fear_height = 4, @@ -361,6 +362,7 @@ skeleton_horse.sounds = { random = "mobs_mc_skeleton_random", death = "mobs_mc_skeleton_death", damage = "mobs_mc_skeleton_hurt", + eat = "mobs_mc_animal_eat_generic", distance = 16, } skeleton_horse.harmed_by_heal = true @@ -380,6 +382,7 @@ zombie_horse.sounds = { random = "mobs_mc_zombie_growl", death = "mobs_mc_zombie_death", damage = "mobs_mc_zombie_hurt", + eat = "mobs_mc_animal_eat_generic", distance = 16, } zombie_horse.harmed_by_heal = true @@ -398,6 +401,7 @@ donkey.sounds = { random = "mobs_mc_donkey_random", damage = "mobs_mc_donkey_hurt", death = "mobs_mc_donkey_death", + eat = "mobs_mc_animal_eat_generic", distance = 16, } donkey.visual_size = { x=horse.visual_size.x*d, y=horse.visual_size.y*d } diff --git a/mods/ENTITIES/mobs_mc/llama.lua b/mods/ENTITIES/mobs_mc/llama.lua index 6391e867c..67a825895 100644 --- a/mods/ENTITIES/mobs_mc/llama.lua +++ b/mods/ENTITIES/mobs_mc/llama.lua @@ -57,6 +57,7 @@ mobs:register_mob("mobs_mc:llama", { fear_height = 4, sounds = { random = "mobs_mc_llama", + eat = "mobs_mc_animal_eat_generic", -- TODO: Death and damage sounds distance = 16, }, diff --git a/mods/ENTITIES/mobs_mc/ocelot.lua b/mods/ENTITIES/mobs_mc/ocelot.lua index 89a41fe44..d2361beac 100644 --- a/mods/ENTITIES/mobs_mc/ocelot.lua +++ b/mods/ENTITIES/mobs_mc/ocelot.lua @@ -49,6 +49,7 @@ local ocelot = { sounds = { damage = "mobs_mc_ocelot_hurt", death = "mobs_mc_ocelot_hurt", + eat = "mobs_mc_animal_eat_generic", distance = 16, }, animation = { @@ -113,6 +114,7 @@ cat.sounds = { random = "mobs_mc_cat_idle", damage = "mobs_mc_cat_hiss", death = "mobs_mc_ocelot_hurt", + eat = "mobs_mc_animal_eat_generic", distance = 16, } cat.on_rightclick = function(self, clicker) diff --git a/mods/ENTITIES/mobs_mc/parrot.lua b/mods/ENTITIES/mobs_mc/parrot.lua index 1773e9143..28a0a85ae 100644 --- a/mods/ENTITIES/mobs_mc/parrot.lua +++ b/mods/ENTITIES/mobs_mc/parrot.lua @@ -28,6 +28,7 @@ mobs:register_mob("mobs_mc:parrot", { random = "mobs_mc_parrot_random", damage = {name="mobs_mc_parrot_hurt", gain=0.3}, death = {name="mobs_mc_parrot_death", gain=0.6}, + eat = "mobs_mc_animal_eat_generic", distance = 16, }, drops = { @@ -67,6 +68,7 @@ mobs:register_mob("mobs_mc:parrot", { local item = clicker:get_wielded_item() -- Kill parrot if fed with cookie if item:get_name() == mobs_mc.items.cookie then + minetest.sound_play("mobs_mc_animal_eat_generic", {object = self.object, max_hear_distance=16}, true) self.health = 0 -- Doomed to die self._doomed = true diff --git a/mods/ENTITIES/mobs_mc/pig.lua b/mods/ENTITIES/mobs_mc/pig.lua index c59ffdabd..6f4fc8870 100644 --- a/mods/ENTITIES/mobs_mc/pig.lua +++ b/mods/ENTITIES/mobs_mc/pig.lua @@ -32,6 +32,7 @@ mobs:register_mob("mobs_mc:pig", { random = "mobs_pig", death = "mobs_pig_angry", damage = "mobs_pig", + eat = "mobs_mc_animal_eat_generic", distance = 16, }, animation = { diff --git a/mods/ENTITIES/mobs_mc/rabbit.lua b/mods/ENTITIES/mobs_mc/rabbit.lua index 783a24ff4..d48d0dede 100644 --- a/mods/ENTITIES/mobs_mc/rabbit.lua +++ b/mods/ENTITIES/mobs_mc/rabbit.lua @@ -23,7 +23,11 @@ local rabbit = { {"mobs_mc_rabbit_black.png"}, }, visual_size = {x=1.5, y=1.5}, - -- TODO: sounds: random, damage, death + sounds = { + -- TODO: sounds: random, damage, death + eat = "mobs_mc_animal_eat_generic", + distance = 16, + }, makes_footstep_sound = false, walk_velocity = 1, run_velocity = 3.7, diff --git a/mods/ENTITIES/mobs_mc/sheep.lua b/mods/ENTITIES/mobs_mc/sheep.lua index 374ea4b59..702f2d79d 100644 --- a/mods/ENTITIES/mobs_mc/sheep.lua +++ b/mods/ENTITIES/mobs_mc/sheep.lua @@ -73,6 +73,7 @@ mobs:register_mob("mobs_mc:sheep", { random = "mobs_sheep", death = "mobs_sheep", damage = "mobs_sheep", + sounds = "mobs_mc_animal_eat_generic", distance = 16, }, animation = { diff --git a/mods/ENTITIES/mobs_mc/sounds/mobs_mc_animal_eat_generic.ogg b/mods/ENTITIES/mobs_mc/sounds/mobs_mc_animal_eat_generic.ogg new file mode 100644 index 0000000000000000000000000000000000000000..cdf6969bb0280f4819569740aa826107a2a52e8a GIT binary patch literal 15720 zcmb_@cU)7=({Ip60YyMXr577Tib0T01Oy~B=^do^8hQ&#Q>h}oiV%8{5;{agdX?Ub z2$9}v+CAX&{NCrj_kP~{&pn^RVRvVCW_M=3J9{>XvZbXO=mO~POIimab5{I|!2E%T zk;vWA#l#wR)U=?G`TrUs<+Gmuxz2hL0kymA($3dy2><&va`BHOK7c{n z+R2Jr*~OCC&e}xtTt2fLGw);G$BzXb^D(ojnwz)C&pN;Q2 z@F$_FE~ln0Cg%WiGB3%PS*i8$yTsUct<DA*V9O)}fF60m(I;OCZ3G&t9+uQ>mUk zOy07DPy>%pdY2BC+*Fq<9C@GKT;c6t4piV>$^NJ$ypop{DZI*7IUsqJt8x&k03Oja zEor=L;0x;$LZ|-yAU&T4GcXp(%QR+`k|by1-?HZyveI&i`>+=){}D!&}ORL^*ci|*Hw{Qmt z@aZ#E&Q=#bSr}hCOcc0fU7vTxD)jCvQ2gVBGq;04&%pGp&h(vtHB`BVT==zMVq-AH zF~AgO7WtpA*XQv9OoS!PBHku|I@_==hadHrFXF@tjJpRKl1(#i+sb>zG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;J81<7^-c`!hUsPIiG-NFzV{`C+F6ia{CvTY%6D-(&JFG-C2w_WHR-eG zo&8aYiQ4j*s+u8?w>&2Eft^TX7zw)I1``Nu6IuQKCLRhusx}0h4o3Gz&wl2l0r}IN zKWA}7&#}=h%jk#+$WMVYSr5eNNyl7WTy}re&JhMG%3)K)hvCv4LmzYdxgaVY7<<~G z5e;}jeLE9moI%UcKyk9lK3^$_Q@r8i^&F;g4ii1qR_S6P$a~|V^5z_28rHvoKFn>+ zipl->@#9MB1UdtbH)&bIw$3s6AG7ESK_CPtU$mb`_|QtHnJ~Juvy)8yVdQ$!&uVtI~ zRVJCAouy!qx*^Dt;y39J2GR=r+Gs-HSTK*{rv&#_aZQY!Eh_ zEl0Z5p4>A~8CUbWTIMYViA5Z2IQI4CRvgHuFK42#@YFGoDkk?au^?(kJ3H{SD`cFB z_NycI_R11rabf#)O?G>(`LQ@DYhk%pRSDX7S}rQfSuf z);1A@9%+qgUF kjTfBR!3k&I#0P$sVD>?17T?GeuSiInU$o=`wYL!cFLJyIKmY&$ literal 0 HcmV?d00001 diff --git a/mods/ENTITIES/mobs_mc/wolf.lua b/mods/ENTITIES/mobs_mc/wolf.lua index 85ba7e6bd..90b73b69d 100644 --- a/mods/ENTITIES/mobs_mc/wolf.lua +++ b/mods/ENTITIES/mobs_mc/wolf.lua @@ -39,6 +39,7 @@ local wolf = { war_cry = "mobs_mc_wolf_growl", damage = {name = "mobs_mc_wolf_hurt", gain=0.6}, death = {name = "mobs_mc_wolf_death", gain=0.6}, + sounds = "mobs_mc_animal_eat_generic", distance = 16, }, pathfinding = 1, @@ -71,7 +72,7 @@ local wolf = { ent = dog:get_luaentity() ent.owner = clicker:get_player_name() -- cornfirm taming - minetest.sound_play("mobs_mc_wolf_bark", {object=self.object, max_hear_distance=16}) + minetest.sound_play("mobs_mc_wolf_bark", {object=self.object, max_hear_distance=16}, true) self.object:remove() end end