Add silverfish sounds (thanks, Inocodum!)

This commit is contained in:
Wuzzy 2019-01-28 22:13:35 +01:00
parent c40cd5dbb7
commit b23b9a9395
5 changed files with 11 additions and 1 deletions

View File

@ -167,5 +167,10 @@ Origin of those models:
* [ebcrosby](https://freesound.org/people/ebcrosby/)
* `mobs_mc_ocelot_hurt.ogg` (CC BY 3.0)
* Source: <https://freesound.org/people/ebcrosby/sounds/332979/>
* [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: <https://forum.minetest.net/viewtopic.php?f=17&t=10013>
Note: Many of these sounds have been more or less modified to fit the game.

View File

@ -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,