mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Add bow shooting sound when mob fires an arrow
This commit is contained in:
parent
077cd14f4f
commit
26a5059cc0
@ -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 New Issue
Block a user