forked from MineClone5/MineClone5
Add chicken egg lay sound
This commit is contained in:
parent
a253d59729
commit
755e2ab8d4
|
@ -4,6 +4,7 @@ assembled by maikerumine
|
||||||
compatable with Mobs Redo API
|
compatable with Mobs Redo API
|
||||||
|
|
||||||
## LICENSING
|
## LICENSING
|
||||||
|
Note: In the following file name lists, the asterisk (“`*`”) is a placeholder which stands for any sequence of characters.
|
||||||
|
|
||||||
### Code
|
### Code
|
||||||
MIT License
|
MIT License
|
||||||
|
@ -11,10 +12,13 @@ MIT License
|
||||||
by PilzAdam and others
|
by PilzAdam and others
|
||||||
|
|
||||||
### Sound files
|
### Sound files
|
||||||
- `mobs_*.ogg`
|
|
||||||
- MIT License, from `mobs_animal` and `mobs_monster` by TenPlus1
|
|
||||||
- `mobs_mc_squid_hurt.ogg`
|
- `mobs_mc_squid_hurt.ogg`
|
||||||
- !!! UNKNOWN LICENSE !!! Author: daufinsyd
|
- !!! UNKNOWN LICENSE !!! Author: daufinsyd
|
||||||
|
- `mobs_mc_chicken_lay_egg.ogg`
|
||||||
|
- WTFPL, by PilzAdam and Wuzzy
|
||||||
|
- `mobs_*.ogg` (except the files above)
|
||||||
|
- MIT License, from `mobs_animal` and `mobs_monster` by TenPlus1
|
||||||
- `blaze_breath.ogg`
|
- `blaze_breath.ogg`
|
||||||
- `blaze_died1.ogg`
|
- `blaze_died1.ogg`
|
||||||
- !!! UNKNOWN LICENSE !!! Author: daufinsyd
|
- !!! UNKNOWN LICENSE !!! Author: daufinsyd
|
||||||
|
|
|
@ -108,7 +108,7 @@ mobs:register_mob("mobs_mc:chicken", {
|
||||||
|
|
||||||
minetest.add_item(pos, "mcl_throwing:egg")
|
minetest.add_item(pos, "mcl_throwing:egg")
|
||||||
|
|
||||||
minetest.sound_play("default_place_node_hard", {
|
minetest.sound_play("mobs_mc_chicken_lay_egg", {
|
||||||
pos = pos,
|
pos = pos,
|
||||||
gain = 1.0,
|
gain = 1.0,
|
||||||
max_hear_distance = 5,
|
max_hear_distance = 5,
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue