nssm/mobs/ant_soldier.lua

55 lines
1.1 KiB
Lua
Raw Normal View History

2018-08-08 10:56:14 +01:00
mobs:register_mob("nssm:ant_soldier", {
type = "monster",
hp_max = 32,
hp_min = 24,
collisionbox = {-0.49, 0.00, -0.49, 0.49, 0.9, 0.49},
visual = "mesh",
mesh = "ant_soldier.x",
textures = {
{"ant_soldier.png"}
},
visual_size = {x = 3, y = 3},
2018-08-08 10:56:14 +01:00
makes_footstep_sound = true,
view_range = 20,
fear_height = 4,
walk_velocity = 0.5,
run_velocity = 3,
2018-08-09 11:57:31 +01:00
rotate = 270,
sounds = {
2022-09-28 10:41:38 +01:00
random = "ant"
2018-08-08 10:56:14 +01:00
},
damage = 6,
jump = true,
drops = {
{name = "nssm:life_energy", chance = 1, min = 1, max = 2},
{name = "nssm:ant_leg", chance = 2, min = 1, max = 6},
{name = "nssm:ant_mandible", chance = 3, min = 1, max = 2},
2022-09-28 10:41:38 +01:00
{name = "nssm:ant_hard_skin", chance = 3, min = 1, max = 2}
2018-08-08 10:56:14 +01:00
},
reach = 2,
armor = 70,
drawtype = "front",
water_damage = 2,
lava_damage = 7,
2021-04-05 09:49:24 +01:00
fire_damage = 7,
2018-08-08 10:56:14 +01:00
light_damage = 0,
group_attack = true,
attack_animals = false,
knock_back = 2,
blood_texture = "nssm_blood_blue.png",
stepheight = 1.1,
2018-08-08 10:56:14 +01:00
attack_type = "dogfight",
animation = {
speed_normal = 20,
speed_run = 35,
stand_start = 1,
stand_end = 60,
walk_start = 90,
walk_end = 130,
run_start = 90,
run_end = 130,
punch_start = 60,
2022-09-28 10:41:38 +01:00
punch_end = 80
2018-08-08 10:56:14 +01:00
}
})