nssm/mobs/kraken.lua

61 lines
1.1 KiB
Lua
Raw Normal View History

2016-05-13 14:35:07 -07:00
mobs:register_mob("nssm:kraken", {
2016-02-22 07:53:56 -08:00
type = "monster",
2016-10-18 14:29:25 -07:00
hp_max = 350,
hp_min = 350,
2016-02-22 07:53:56 -08:00
collisionbox = {-2, 0, -2, 2, 4, 2},
visual = "mesh",
mesh = "kraken.x",
textures = {{"kraken.png"}, {"kraken2.png"}},
visual_size = {x=15, y=15},
lifetimer=500,
inker = false,
view_range = 50,
fly = true,
fly_in = "default:water_source",
fall_speed = -1,
walk_velocity = 3.5,
run_velocity = 4.5,
2016-10-18 14:29:25 -07:00
damage = 14,
2016-02-22 07:53:56 -08:00
rotate = 270,
jump = false,
jump_chance = 0,
jump_height = 0,
2016-05-13 14:35:07 -07:00
sounds = {
2016-02-22 07:53:56 -08:00
random = "kraken",
},
drops = {
{name = "nssm:life_energy",
chance = 1,
min = 6,
max = 7,},
{name = "nssm:tentacle",
chance = 1,
min = 30,
max = 40,},
{name = "nssm:tentacle_curly",
chance = 1,
min = 1,
max = 1,},
},
2016-10-18 14:29:25 -07:00
armor = 50,
2016-02-22 07:53:56 -08:00
drawtype = "front",
water_damage = 0,
lava_damage = 10,
light_damage = 0,
on_rightclick = nil,
attack_type = "dogfight",
reach=8,
animation = {
speed_normal = 20,
speed_run = 30,
stand_start = 1,
stand_end = 40,
walk_start = 60,
walk_end = 100,
run_start = 60,
run_end = 100,
punch_start = 120,
punch_end = 150,
}
})