local S = mobs_monster.S mobs:register_mob("mobs_monster:skeleton", { description = S"Skeleton", type = "monster", visual = "mesh", mesh = "mobs_zombie.b3d", textures = {"mobs_skeleton.png"}, collisionbox = {-0.25, -1, -0.3, 0.25, 0.75, 0.3}, animation = { speed_normal = 10, speed_run = 15, stand_start = 0, stand_end = 79, walk_start = 168, walk_end = 188, run_start = 168, run_end = 188 }, makes_footstep_sound = true, sounds = { random = "mobs_skeleton", war_cry = "mobs_zombie.3", attack = "mobs_zombie.2", damage = "mobs_skeleton_damage", death = "mobs_zombie_death" }, hp_min = 10, hp_max = 15, light_damage = 2, water_damage = 2, lava_damage = 5, damage = 2, group_attack = true, attack_npcs = true, view_range = 15, walk_chance = 75, walk_velocity = 0.5, run_velocity = 0.5, jump = false, drops = function(pos) if rawget(_G, "experience") then experience.add_orb(math.random(2, 4), pos) end return { {name = "default:bone", chance = 2}, {name = "default:bone", chance = 2} } end }) mobs:spawn({ name = "mobs_monster:skeleton", nodes = mobs_monster.spawn_nodes, max_light = 6, chance = 15000 }) mobs:register_egg("mobs_monster:skeleton", S"Skeleton Egg", "mobs_monster_skeleton_egg.png")