minetest.register_abm({ nodenames = {"poop:poop"}, interval = 10, chance = 50, action = function(pos, node, active_object_count, active_object_count_wider) minetest.add_entity(pos, "robocops:robocop") end }) mobs:register_mob("robocops:robocop", { type = "monster", passive = false, attack_type = "dogshoot", pathfinding = true, reach = 2, damage = 3, hp_min = 21, hp_max = 25, armor = 100, collisionbox = { -.4, 0, -.4, .4, 2, .4 }, pushable = true, visual = "mesh", mesh = "character.b3d", textures = { {"robocops_robocop.png"}, }, makes_footstep_sound = true, walk_velocity = 4, run_velocity = 9, jump_height = 1, stepheight = 0, floats = 0, view_range = 60, animation = { speed_normal = 30, speed_run = 50, stand_start = 0, stand_end = 79, walk_start = 168, walk_end = 187, run_start = 168, run_end = 187, punch_start = 200, punch_end = 219 }, })