Merge pull request 'villager_anims_and_sounds' (#2279) from villager_anims_and_sounds into master

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2279
This commit is contained in:
epCode 2022-06-06 19:09:59 +00:00
commit 5c561b951c
10 changed files with 7 additions and 4 deletions

View file

@ -1227,6 +1227,7 @@ mcl_mobs:register_mob("mobs_mc:villager", {
-- TODO: sounds
sounds = {
random = "mobs_mc_villager",
damage = "mobs_mc_villager_hurt",
distance = 10,
},
animation = {
@ -1239,10 +1240,12 @@ mcl_mobs:register_mob("mobs_mc:villager", {
run_speed = 25,
run_start = 0,
run_end = 40,
die_speed = 15,
die_start = 210,
die_end = 220,
die_loop = false,
head_shake_start = 210,
head_shake_end = 220,
head_shake_loop = false,
head_nod_start = 210,
head_nod_end = 220,
head_nod_loop = false,
},
follow = pick_up,
nofollow = true,