1
0
Fork 0

Add new squid death/hurt sounds

This commit is contained in:
Wuzzy 2020-12-07 03:01:04 +01:00
parent 938f62c7c1
commit 9fd27db688
6 changed files with 8 additions and 4 deletions

View File

@ -140,7 +140,11 @@ Origin of those models:
* daufinsyd (MIT License) * daufinsyd (MIT License)
* `mobs_mc_blaze_breath.ogg` * `mobs_mc_blaze_breath.ogg`
* `mobs_mc_blaze_died.ogg` * `mobs_mc_blaze_died.ogg`
* `mobs_mc_squid_hurt.ogg` * [qubodup](https://opengameart.org/content/slime-monster)
* `mobs_mc_squid_hurt.*.ogg` (CC BY 3.0)
* `mobs_mc_squid_death.*.ogg` (CC BY 3.0)
* Changes were made
* Source: <https://opengameart.org/content/slime-monster>
* [kyles](https://freesound.org/people/kyles/) * [kyles](https://freesound.org/people/kyles/)
* `mobs_mc_squid_flop.*.ogg` (CC0) * `mobs_mc_squid_flop.*.ogg` (CC0)
* Source: <https://freesound.org/people/kyles/sounds/450830/> * Source: <https://freesound.org/people/kyles/sounds/450830/>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -24,10 +24,10 @@ mobs:register_mob("mobs_mc:squid", {
{"mobs_mc_squid.png"} {"mobs_mc_squid.png"}
}, },
sounds = { sounds = {
damage = "mobs_mc_squid_hurt", damage = {name="mobs_mc_squid_hurt", gain=0.3},
death = "mobs_mc_squid_hurt", death = {name="mobs_mc_squid_death", gain=0.4},
flop = "mobs_mc_squid_flop", flop = "mobs_mc_squid_flop",
-- TODO: sounds: random, damage, death -- TODO: sounds: random
distance = 16, distance = 16,
}, },
animation = { animation = {