2018-08-08 12:56:14 +03:00
|
|
|
mobs:register_mob("nssm:snow_biter", {
|
|
|
|
type = "monster",
|
|
|
|
hp_max = 30,
|
|
|
|
hp_min = 15,
|
|
|
|
collisionbox = {-0.5, 0, -0.5, 0.5, 0.60, 0.5},
|
|
|
|
visual = "mesh",
|
|
|
|
mesh = "snow_biter.x",
|
2020-07-26 21:42:13 +03:00
|
|
|
textures = {
|
|
|
|
{"snow_biter.png"}
|
|
|
|
},
|
|
|
|
visual_size = {x = 6, y = 6},
|
2018-08-08 12:56:14 +03:00
|
|
|
makes_footstep_sound = true,
|
|
|
|
view_range = 18,
|
|
|
|
rotate = 270,
|
|
|
|
mele_number = 2,
|
|
|
|
fear_height = 4,
|
|
|
|
reach = 1.5,
|
|
|
|
walk_velocity = 0.8,
|
|
|
|
run_velocity = 3,
|
2018-08-09 13:57:31 +03:00
|
|
|
sounds = {
|
2022-09-28 12:41:38 +03:00
|
|
|
random = "snow_biter"
|
2018-08-08 12:56:14 +03:00
|
|
|
},
|
|
|
|
damage = 4,
|
|
|
|
jump = true,
|
|
|
|
drops = {
|
2020-07-26 21:42:13 +03:00
|
|
|
{name = "nssm:life_energy", chance = 1, min = 2, max = 3},
|
|
|
|
{name = "nssm:frosted_amphibian_heart", chance = 2, min = 1, max = 1},
|
|
|
|
{name = "nssm:amphibian_ribs", chance = 2, min = 1, max = 1},
|
2022-09-28 12:41:38 +03:00
|
|
|
{name = "nssm:little_ice_tooth", chance = 2, min = 0, max = 4}
|
2018-08-09 13:57:31 +03:00
|
|
|
},
|
2018-08-08 12:56:14 +03:00
|
|
|
armor = 80,
|
|
|
|
drawtype = "front",
|
|
|
|
water_damage = 0,
|
|
|
|
lava_damage = 30,
|
2021-04-05 11:49:24 +03:00
|
|
|
fire_damage = 20,
|
2018-08-08 12:56:14 +03:00
|
|
|
light_damage = 0,
|
2020-07-26 21:42:13 +03:00
|
|
|
group_attack = true,
|
|
|
|
attack_animals = true,
|
|
|
|
knock_back = 4,
|
|
|
|
blood_texture = "nssm_blood.png",
|
|
|
|
stepheight = 1.1,
|
2018-08-08 12:56:14 +03:00
|
|
|
attack_type = "dogfight",
|
|
|
|
double_melee_attack = true,
|
|
|
|
animation = {
|
|
|
|
speed_normal = 20,
|
|
|
|
speed_run = 25,
|
|
|
|
stand_start = 0,
|
|
|
|
stand_end = 80,
|
|
|
|
walk_start = 110,
|
|
|
|
walk_end = 150,
|
|
|
|
run_start = 80,
|
|
|
|
run_end = 100,
|
|
|
|
punch_start = 175,
|
|
|
|
punch_end = 190,
|
|
|
|
punch2_start = 200,
|
|
|
|
punch2_end = 215
|
|
|
|
},
|
|
|
|
do_custom = function(self)
|
|
|
|
putting_ability(self, "default:ice", self.run_velocity)
|
2022-09-28 12:41:38 +03:00
|
|
|
end
|
2018-08-08 12:56:14 +03:00
|
|
|
})
|