mobs:skeletons:sounds: fix code review issue and add todo

This commit is contained in:
bakawun 2024-01-08 09:16:05 +01:00
parent a786b66d9e
commit 49aa32d2ee

@ -44,11 +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 = { sounds = {
random = "mobs_mc_skeleton_random.2", random = "mobs_mc_skeleton_random.2",
death = "mobs_mc_skeleton_death", death = "mobs_mc_skeleton_death",
damage = "mobs_mc_skeleton_hurt", damage = "mobs_mc_skeleton_hurt",
distance = 16, distance = 16,
},
walk_velocity = 1.2, walk_velocity = 1.2,
run_velocity = 2.0, run_velocity = 2.0,
damage = 2, damage = 2,