nssm:spawn_specific("nssm:night_master", {"air"}, {"air"}, 0, 7, 120, 5200000, 2, 10, 40) nssm:register_mob("nssm:night_master", { type = "monster", hp_max = 30, hp_min = 30, collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65}, visual = "mesh", mesh = "moonherontrio.x", textures = {{"moonherontrio.png"}}, visual_size = {x=18, y=18}, view_range = 40, rotate = 270, lifetimer = 500, floats=1, walk_velocity = 3, run_velocity = 4, fall_speed = 0, stepheight = 3, sounds = { random = "night_master", distance = 45, }, damage = 8, jump = false, armor = 70, drawtype = "front", water_damage = 0, lava_damage = 5, light_damage = 0, on_rightclick = nil, fly = true, attack_type = "dogfight", reach = 3, animation = { speed_normal = 25, speed_run = 35, stand_start = 60, stand_end = 120, walk_start = 20, walk_end = 50, run_start = 20, run_end = 50, punch_start = 130, punch_end = 160, }, on_die = function(self, pos) minetest.add_particlespawner( 200, --amount 0.1, --time {x=pos.x-1, y=pos.y-1, z=pos.z-1}, --minpos {x=pos.x+1, y=pos.y+1, z=pos.z+1}, --maxpos {x=-0, y=-0, z=-0}, --minvel {x=1, y=1, z=1}, --maxvel {x=-0.5,y=5,z=-0.5}, --minacc {x=0.5,y=5,z=0.5}, --maxacc 0.1, --minexptime 1, --maxexptime 3, --minsize 4, --maxsize false, --collisiondetection "tnt_smoke.png" --texture ) minetest.add_entity(pos, "nssm:night_master_2") end, }) nssm:register_mob("nssm:night_master_2", { type = "monster", hp_max = 30, hp_min = 30, collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65}, visual = "mesh", mesh = "night_master_2.x", textures = {{"moonherontrio.png"}}, visual_size = {x=18, y=18}, view_range = 40, rotate = 270, lifetimer = 500, floats=1, walk_velocity = 3, run_velocity = 4, fall_speed = 0, stepheight = 3, sounds = { random = "night_master", distance = 45, }, damage = 8, jump = false, armor = 70, drawtype = "front", water_damage = 0, lava_damage = 5, light_damage = 0, on_rightclick = nil, fly = true, attack_type = "dogfight", reach = 3, animation = { speed_normal = 25, speed_run = 35, stand_start = 60, stand_end = 120, walk_start = 20, walk_end = 50, run_start = 20, run_end = 50, punch_start = 130, punch_end = 160, }, on_die = function(self, pos) minetest.add_particlespawner( 200, --amount 0.1, --time {x=pos.x-1, y=pos.y-1, z=pos.z-1}, --minpos {x=pos.x+1, y=pos.y+1, z=pos.z+1}, --maxpos {x=-0, y=-0, z=-0}, --minvel {x=1, y=1, z=1}, --maxvel {x=-0.5,y=5,z=-0.5}, --minacc {x=0.5,y=5,z=0.5}, --maxacc 0.1, --minexptime 1, --maxexptime 3, --minsize 4, --maxsize false, --collisiondetection "tnt_smoke.png" --texture ) minetest.add_entity(pos, "nssm:night_master_1") end, }) nssm:register_mob("nssm:night_master_1", { type = "monster", hp_max = 30, hp_min = 30, collisionbox = {-0.65, -0.4, -0.65, 0.65, 0.4, 0.65}, visual = "mesh", mesh = "night_master_1.x", textures = {{"moonherontrio.png"}}, visual_size = {x=18, y=18}, view_range = 40, rotate = 270, lifetimer = 500, floats=1, walk_velocity = 3, run_velocity = 4, fall_speed = 0, stepheight = 3, sounds = { random = "night_master", distance = 45, }, damage = 8, jump = false, drops = { {name = "nssm:life_energy", chance = 1, min = 6, max = 7,}, {name = "nssm:heron_leg", chance = 1, min = 1, max = 1,}, {name = "nssm:moon_feather", chance = 1, min = 1, max = 1,}, }, armor = 70, drawtype = "front", water_damage = 0, lava_damage = 5, light_damage = 0, on_rightclick = nil, fly = true, attack_type = "dogfight", reach = 3, animation = { speed_normal = 25, speed_run = 35, stand_start = 60, stand_end = 120, walk_start = 20, walk_end = 50, run_start = 20, run_end = 50, punch_start = 130, punch_end = 160, } })