forked from VoxeLibre/VoxeLibre
Add donkey sounds
This commit is contained in:
parent
eee892d78e
commit
73744b4fc8
|
@ -152,6 +152,13 @@ Origin of those models:
|
||||||
* Source: <https://freesound.org/people/GoodListener/sounds/322454/>
|
* Source: <https://freesound.org/people/GoodListener/sounds/322454/>
|
||||||
* `mobs_mc_horse_death.ogg` (CC BY 3.0)
|
* `mobs_mc_horse_death.ogg` (CC BY 3.0)
|
||||||
* Source: <https://freesound.org/people/GoodListener/sounds/322445/>
|
* 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/)
|
* [ERH](https://freesound.org/people/ERH/)
|
||||||
* `mobs_mc_horse_random.2.ogg` (CC BY 3.0)
|
* `mobs_mc_horse_random.2.ogg` (CC BY 3.0)
|
||||||
* Source: <https://freesound.org/people/ERH/sounds/32043/>
|
* Source: <https://freesound.org/people/ERH/sounds/32043/>
|
||||||
|
|
|
@ -394,8 +394,12 @@ donkey.animation = {
|
||||||
stand_start = 0, stand_end = 0,
|
stand_start = 0, stand_end = 0,
|
||||||
walk_start = 0, walk_end = 40,
|
walk_start = 0, walk_end = 40,
|
||||||
}
|
}
|
||||||
-- TODO: donkey sounds
|
donkey.sounds = {
|
||||||
donkey.sounds = nil
|
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.visual_size = { x=horse.visual_size.x*d, y=horse.visual_size.y*d }
|
||||||
donkey.collisionbox = {
|
donkey.collisionbox = {
|
||||||
horse.collisionbox[1] * d,
|
horse.collisionbox[1] * d,
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue