Code: Select all
snapper:register_mob("snapper:snapper", {
type = "monster",
passive = false,
attack_type = "dogfight",
reach = 2,
damage = 500,
hp_min = 30,
hp_max = 30,
armor = 100,
collisionbox = {-0.4, -0.4, -0.4, 0.4, 0.4, 0.4},
visual = "mesh",
mesh = "snap.obj",
textures = {
{"snap.png"},
},
blood_texture = "default_mese_crystal.png",
makes_footstep_sound = true,
sounds = {
random = "snap",
},
view_range = 25,
walk_velocity = 3,
run_velocity = 3,
jump = true,
drops = {
{name = "default:mese_block",
chance = 1, min = 5, max = 5},
},
water_damage = 0,
lava_damage = 5,
light_damage = 0,
fear_height = 0,
})
what is the problem?