diff --git a/mods/ENTITIES/mobs_mc/LICENSE-media.md b/mods/ENTITIES/mobs_mc/LICENSE-media.md index 4cb4a80094..0abced5646 100644 --- a/mods/ENTITIES/mobs_mc/LICENSE-media.md +++ b/mods/ENTITIES/mobs_mc/LICENSE-media.md @@ -167,5 +167,10 @@ Origin of those models: * [ebcrosby](https://freesound.org/people/ebcrosby/) * `mobs_mc_ocelot_hurt.ogg` (CC BY 3.0) * Source: +* [Inocodum](https://forum.minetest.net/memberlist.php?mode=viewprofile&u=3115) + * `mobs_mc_silverfish_hurt.ogg` (CC BY-SA 4.0) + * `mobs_mc_silverfish_death.ogg` (CC BY-SA 4.0) + * `mobs_mc_silverfish_idle.ogg` (CC BY-SA 4.0) + * Source: Note: Many of these sounds have been more or less modified to fit the game. diff --git a/mods/ENTITIES/mobs_mc/silverfish.lua b/mods/ENTITIES/mobs_mc/silverfish.lua index 7c9157cc2e..dc2a9c92b4 100644 --- a/mods/ENTITIES/mobs_mc/silverfish.lua +++ b/mods/ENTITIES/mobs_mc/silverfish.lua @@ -21,7 +21,12 @@ mobs:register_mob("mobs_mc:silverfish", { }, pathfinding = 1, visual_size = {x=3, y=3}, - -- TODO: sounds + sounds = { + random = "mobs_mc_silverfish_idle", + death = "mobs_mc_silverfish_death", + damage = "mobs_mc_silverfish_hurt", + distance = 16, + }, makes_footstep_sound = false, walk_velocity = 0.6, run_velocity = 2, diff --git a/mods/ENTITIES/mobs_mc/sounds/mobs_mc_silverfish_death.ogg b/mods/ENTITIES/mobs_mc/sounds/mobs_mc_silverfish_death.ogg new file mode 100644 index 0000000000..1930b4e423 Binary files /dev/null and b/mods/ENTITIES/mobs_mc/sounds/mobs_mc_silverfish_death.ogg differ diff --git a/mods/ENTITIES/mobs_mc/sounds/mobs_mc_silverfish_hurt.ogg b/mods/ENTITIES/mobs_mc/sounds/mobs_mc_silverfish_hurt.ogg new file mode 100644 index 0000000000..bc6279a6cb Binary files /dev/null and b/mods/ENTITIES/mobs_mc/sounds/mobs_mc_silverfish_hurt.ogg differ diff --git a/mods/ENTITIES/mobs_mc/sounds/mobs_mc_silverfish_idle.ogg b/mods/ENTITIES/mobs_mc/sounds/mobs_mc_silverfish_idle.ogg new file mode 100644 index 0000000000..dbfc41b4da Binary files /dev/null and b/mods/ENTITIES/mobs_mc/sounds/mobs_mc_silverfish_idle.ogg differ