1
0
Fork 0

Merge branch 'skeleton_sounds'

This commit is contained in:
the-real-herowl 2024-03-24 06:38:35 +01:00
commit 89e8cf0213
2 changed files with 8 additions and 1 deletions

View File

@ -44,6 +44,13 @@ local skeleton = {
"mcl_bows_bow_0.png", -- wielded_item "mcl_bows_bow_0.png", -- wielded_item
} }
}, },
-- TODO: change random to new api when min minetest version is 5.8
sounds = {
random = "mobs_mc_skeleton_random.2",
death = "mobs_mc_skeleton_death",
damage = "mobs_mc_skeleton_hurt",
distance = 16,
},
walk_velocity = 1.2, walk_velocity = 1.2,
run_velocity = 2.0, run_velocity = 2.0,
damage = 2, damage = 2,

View File

@ -37,7 +37,7 @@ mcl_mobs.register_mob("mobs_mc:witherskeleton", {
visual_size = {x=1.2, y=1.2}, visual_size = {x=1.2, y=1.2},
makes_footstep_sound = true, makes_footstep_sound = true,
sounds = { sounds = {
random = "mobs_mc_skeleton_random", random = "mobs_mc_skeleton_random.1",
death = "mobs_mc_skeleton_death", death = "mobs_mc_skeleton_death",
damage = "mobs_mc_skeleton_hurt", damage = "mobs_mc_skeleton_hurt",
distance = 16, distance = 16,