nssm/mobs/manticore.lua

66 lines
1.2 KiB
Lua
Raw Normal View History

2016-05-13 14:35:07 -07:00
mobs:register_mob("nssm:manticore", {
2016-02-22 07:53:56 -08:00
type = "monster",
2016-10-18 14:29:25 -07:00
hp_max = 55,
hp_min = 34,
2016-02-22 07:53:56 -08:00
collisionbox = {-0.8, -0.85, -0.8, 0.8, 1.9, 0.8},
visual = "mesh",
mesh = "manticore.x",
textures = {{"manticore.png"}},
visual_size = {x=4, y=4},
makes_footstep_sound = true,
2016-10-18 14:29:25 -07:00
view_range = 35,
2016-03-15 11:59:39 -07:00
fear_height = 4,
2016-02-22 07:53:56 -08:00
walk_velocity = 2,
run_velocity = 4,
2016-05-13 14:35:07 -07:00
sounds = {
2016-02-22 07:53:56 -08:00
random = "manticore",
},
2016-10-18 14:29:25 -07:00
damage = 6,
2016-02-22 07:53:56 -08:00
jump = true,
drops = {
{name = "nssm:life_energy",
chance = 1,
min = 3,
max = 4,},
{name = "nssm:manticore_spine",
chance = 3,
min = 2,
max = 5,},
2016-10-18 14:29:25 -07:00
{name = "nssm:manticore_fur",
chance = 3,
min = 2,
max = 5,},
2016-02-22 07:53:56 -08:00
},
2016-10-18 14:29:25 -07:00
armor = 60,
2016-02-22 07:53:56 -08:00
drawtype = "front",
water_damage = 2,
2016-05-13 14:35:07 -07:00
rotate = 270,
2016-02-22 07:53:56 -08:00
lava_damage = 5,
light_damage = 0,
on_rightclick = nil,
attack_type = "dogshoot",
2016-05-23 14:39:38 -07:00
dogshoot_switch = true,
2016-02-22 07:53:56 -08:00
arrow = "nssm:spine",
shoot_interval = 2,
2016-11-08 13:01:47 -08:00
group_attack=true,
attack_animals=true,
knock_back=2,
blood_texture="nssm_blood.png",
stepheight=1.1,
2016-02-22 07:53:56 -08:00
shoot_offset = 1,
animation = {
speed_normal = 25,
speed_run = 25,
stand_start = 1,
stand_end = 40,
walk_start = 240,
walk_end = 280,
run_start = 91,
run_end = 108,
punch_start = 110,
punch_end = 143,
2016-05-13 14:35:07 -07:00
shoot_start =180,
shoot_end=230,
2016-02-22 07:53:56 -08:00
}
})