-- modified Sand Monster by PilzAdam with Mummy by BlockMen local mummy_def = { type = "monster", passive = false, attack_type = "dogfight", pathfinding = true, reach = 2, damage = 4, hp_min = 40, hp_max = 40, armor = 100, collisionbox = {-0.4, -1, -0.4, 0.4, 0.8, 0.4}, visual = "mesh", mesh = "spawners_mob_mummy.b3d", textures = { {"spawners_mob_mummy.png"}, }, makes_footstep_sound = true, sounds = { random = "spawners_mob_mummy", }, walk_velocity = .75, run_velocity = 1.5, view_range = 8, jump = true, floats = 0, drops = {}, water_damage = 4, lava_damage = 8, light_damage = 0, fear_height = 4, animation = { speed_normal = 15, speed_run = 15, stand_start = 0, stand_end = 39, walk_start = 41, walk_end = 72, run_start = 74, run_end = 105, punch_start = 74, punch_end = 105, }, on_die = function(self, pos) minetest.sound_play("spawners_mob_mummy_death", { object = self.object, pos = pos, max_hear_distance = 10 }) end, } -- drop mod specific blocks if the mod is found if minetest.get_modpath("pyramids") then mummy_def["drops"] = { {name = "default:sandstone", chance = 1, min = 1, max = 3}, {name = "default:sandstonebrick", chance = 2, min = 1, max = 2}, {name = "pyramids:deco_stone1", chance = 15, min = 1, max = 1}, {name = "pyramids:deco_stone2", chance = 15, min = 1, max = 1}, {name = "pyramids:deco_stone3", chance = 15, min = 1, max = 1}, } else -- default drops mummy_def["drops"] = { {name = "default:sandstone", chance = 1, min = 1, max = 3}, {name = "default:sandstonebrick", chance = 2, min = 1, max = 3}, } end mobs:register_mob("spawners:mummy", mummy_def) mobs:register_spawn("spawners:mummy", {"default:desert_sand", "default:desert_stone"}, 20, 0, 7000, 2, 0) mobs:register_egg("spawners:mummy", "Mummy Monster", "default_sandstone_brick", 1)