2018-08-08 12:56:14 +03:00
|
|
|
mobs:register_mob("nssm:moonheron", {
|
|
|
|
type = "monster",
|
|
|
|
hp_max = 33,
|
|
|
|
hp_min = 22,
|
|
|
|
collisionbox = {-0.45, -0.3, -0.45, 0.45, 0.3, 0.45},
|
|
|
|
visual = "mesh",
|
|
|
|
mesh = "moonheron.x",
|
2020-07-26 21:42:13 +03:00
|
|
|
textures = {
|
|
|
|
{"moonheron.png"}
|
|
|
|
},
|
|
|
|
visual_size = {x = 10, y = 10},
|
2018-08-08 12:56:14 +03:00
|
|
|
view_range = 35,
|
|
|
|
rotate = 270,
|
|
|
|
walk_velocity = 2,
|
|
|
|
run_velocity = 3,
|
|
|
|
fall_speed = 0,
|
|
|
|
stepheight = 3,
|
|
|
|
sounds = {
|
|
|
|
random = "moonheron",
|
2022-09-28 12:41:38 +03:00
|
|
|
distance = 40
|
2018-08-08 12:56:14 +03:00
|
|
|
},
|
|
|
|
damage = 5,
|
|
|
|
jump = true,
|
|
|
|
drops = {
|
2020-07-26 21:42:13 +03:00
|
|
|
{name = "nssm:life_energy", chance = 1, min = 2, max = 3},
|
2022-09-28 12:41:38 +03:00
|
|
|
{name = "nssm:heron_leg", chance = 1, min = 1, max = 1}
|
2018-08-08 12:56:14 +03:00
|
|
|
},
|
|
|
|
armor = 70,
|
|
|
|
floats = 1,
|
|
|
|
drawtype = "front",
|
2023-06-13 13:58:22 +03:00
|
|
|
water_damage = .1,
|
2018-08-08 12:56:14 +03:00
|
|
|
lava_damage = 5,
|
2021-04-05 11:49:24 +03:00
|
|
|
fire_damage = 5,
|
2020-07-26 21:42:13 +03:00
|
|
|
group_attack = true,
|
|
|
|
attack_animals = true,
|
|
|
|
knock_back = 4,
|
|
|
|
blood_texture = "nssm_blood.png",
|
2018-08-09 13:57:31 +03:00
|
|
|
fly = true,
|
2018-08-08 12:56:14 +03:00
|
|
|
attack_type = "dogfight",
|
|
|
|
animation = {
|
|
|
|
speed_normal = 25,
|
|
|
|
speed_run = 35,
|
|
|
|
stand_start = 140,
|
|
|
|
stand_end = 200,
|
|
|
|
walk_start = 20,
|
|
|
|
walk_end = 60,
|
|
|
|
run_start = 20,
|
|
|
|
run_end = 60,
|
|
|
|
punch_start = 80,
|
2022-09-28 12:41:38 +03:00
|
|
|
punch_end = 120
|
2018-08-08 12:56:14 +03:00
|
|
|
}
|
|
|
|
})
|