Add donkey sounds
This commit is contained in:
parent
eee892d78e
commit
73744b4fc8
6 changed files with 13 additions and 2 deletions
|
@ -152,6 +152,13 @@ Origin of those models:
|
|||
* Source: <https://freesound.org/people/GoodListener/sounds/322454/>
|
||||
* `mobs_mc_horse_death.ogg` (CC BY 3.0)
|
||||
* Source: <https://freesound.org/people/GoodListener/sounds/322445/>
|
||||
* [Garuda1982](https://freesound.org/people/Garuda1982/)
|
||||
* `mobs_mc_donkey_random.1.ogg` (CC BY 3.0)
|
||||
* `mobs_mc_donkey_hurt.ogg` (CC BY 3.0)
|
||||
* `mobs_mc_donkey_death.ogg` (CC BY 3.0)
|
||||
* Source: <https://freesound.org/people/Garuda1982/sounds/539505/>
|
||||
* [JarredGibb](https://freesound.org/people/JarredGibb/sounds/233131/)
|
||||
* `mobs_mc_donkey_random.2.ogg` (CC0)
|
||||
* [ERH](https://freesound.org/people/ERH/)
|
||||
* `mobs_mc_horse_random.2.ogg` (CC BY 3.0)
|
||||
* Source: <https://freesound.org/people/ERH/sounds/32043/>
|
||||
|
|
|
@ -394,8 +394,12 @@ donkey.animation = {
|
|||
stand_start = 0, stand_end = 0,
|
||||
walk_start = 0, walk_end = 40,
|
||||
}
|
||||
-- TODO: donkey sounds
|
||||
donkey.sounds = nil
|
||||
donkey.sounds = {
|
||||
random = "mobs_mc_donkey_random",
|
||||
damage = "mobs_mc_donkey_hurt",
|
||||
death = "mobs_mc_donkey_death",
|
||||
distance = 16,
|
||||
}
|
||||
donkey.visual_size = { x=horse.visual_size.x*d, y=horse.visual_size.y*d }
|
||||
donkey.collisionbox = {
|
||||
horse.collisionbox[1] * d,
|
||||
|
|
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_donkey_death.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_donkey_death.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_donkey_hurt.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_donkey_hurt.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_donkey_random.1.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_donkey_random.1.ogg
Normal file
Binary file not shown.
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_donkey_random.2.ogg
Normal file
BIN
mods/ENTITIES/mobs_mc/sounds/mobs_mc_donkey_random.2.ogg
Normal file
Binary file not shown.
Reference in a new issue