mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 09:31:07 +01:00
Add bow shooting sound when mob fires an arrow
This commit is contained in:
parent
077cd14f4f
commit
26a5059cc0
2 changed files with 6 additions and 0 deletions
|
@ -35,6 +35,7 @@ local skeleton = {
|
|||
random = "mobs_mc_skeleton_random",
|
||||
death = "mobs_mc_skeleton_death",
|
||||
damage = "mobs_mc_skeleton_hurt",
|
||||
shoot_attack = "mcl_bows_bow_shoot",
|
||||
distance = 16,
|
||||
},
|
||||
walk_velocity = 1.2,
|
||||
|
|
|
@ -23,6 +23,11 @@ mobs:register_mob("mobs_mc:illusioner", {
|
|||
"mobs_mc_illusionist.png", --hat
|
||||
"mcl_bows_bow.png",
|
||||
}, },
|
||||
sounds = {
|
||||
-- TODO: more sounds
|
||||
shoot_attack = "mcl_bows_bow_shoot",
|
||||
distance = 16,
|
||||
},
|
||||
visual_size = {x=3, y=3},
|
||||
walk_velocity = 0.6,
|
||||
run_velocity = 2,
|
||||
|
|
Loading…
Reference in a new issue