nssm/mobs/felucco.lua

53 lines
1.1 KiB
Lua
Raw Normal View History

2018-08-08 12:56:14 +03:00
mobs:register_mob("nssm:felucco", {
type = "monster",
hp_max = 36,
hp_min = 27,
collisionbox = {-0.5, 0, -0.5, 0.5, 1.2, 0.5},
visual = "mesh",
mesh = "felucco.x",
textures = {
{"felucco.png"}
},
visual_size = {x = 7, y = 7},
2018-08-08 12:56:14 +03:00
makes_footstep_sound = true,
view_range = 30,
walk_velocity = 1,
fear_height = 4,
run_velocity = 5,
sounds = {
2022-09-28 12:41:38 +03:00
random = "felucco"
2018-08-08 12:56:14 +03:00
},
damage = 5,
jump = true,
drops = {
{name = "nssm:life_energy", chance = 1, min = 3, max = 4},
{name = "nssm:felucco_steak", chance = 2, min = 1, max = 2},
{name = "nssm:felucco_fur", chance = 2, min = 1, max = 1},
2022-09-28 12:41:38 +03:00
{name = "nssm:felucco_horn", chance = 3, min = 1, max = 2}
2018-08-09 13:57:31 +03:00
},
2018-08-08 12:56:14 +03:00
armor = 70,
drawtype = "front",
water_damage = 2,
lava_damage = 5,
2021-04-05 11:49:24 +03:00
fire_damage = 5,
2018-08-08 12:56:14 +03:00
light_damage = 0,
group_attack = true,
attack_animals = true,
knock_back = 2,
blood_texture = "nssm_blood.png",
stepheight = 1.1,
2018-08-08 12:56:14 +03:00
attack_type = "dogfight",
animation = {
speed_normal = 15,
speed_run = 25,
stand_start = 20,
stand_end = 80,
walk_start = 90,
walk_end = 130,
run_start = 140,
run_end = 160,
punch_start = 200,
2022-09-28 12:41:38 +03:00
punch_end = 240
2018-08-09 13:57:31 +03:00
}
2018-08-08 12:56:14 +03:00
})