nssm/mobs/kraken.lua

58 lines
1.2 KiB
Lua
Raw Normal View History

2018-08-08 12:56:14 +03:00
mobs:register_mob("nssm:kraken", {
type = "monster",
hp_max = 350,
hp_min = 350,
collisionbox = {-2, 0, -2, 2, 4, 2},
visual = "mesh",
mesh = "kraken.x",
textures = {
{"kraken.png"},
{"kraken2.png"}
},
visual_size = {x = 15, y = 15},
2018-08-08 12:56:14 +03:00
lifetimer=500,
inker = false,
view_range = 50,
fly = true,
fly_in = {"default:water_source", "default:water_flowing"},
2018-08-08 12:56:14 +03:00
fall_speed = -1,
walk_velocity = 3.5,
run_velocity = 4.5,
damage = 14,
rotate = 270,
jump = false,
jump_chance = 0,
jump_height = 0,
2018-08-09 13:57:31 +03:00
sounds = {
2022-09-28 12:41:38 +03:00
random = "kraken"
2018-08-08 12:56:14 +03:00
},
drops = {
{name = "nssm:life_energy", chance = 1, min = 6, max = 7},
{name = "nssm:tentacle", chance = 1, min = 30, max = 40},
2022-09-28 12:41:38 +03:00
{name = "nssm:tentacle_curly", chance = 1, min = 1, max = 1}
2018-08-08 12:56:14 +03:00
},
armor = 50,
drawtype = "front",
water_damage = 0,
lava_damage = 10,
2021-04-05 11:49:24 +03:00
fire_damage = 10,
2018-08-08 12:56:14 +03:00
light_damage = 0,
blood_texture = "nssm_blood_blue.png",
blood_amount = 100,
knock_back = 0,
2018-08-08 12:56:14 +03:00
attack_type = "dogfight",
reach = 8,
2018-08-08 12:56:14 +03:00
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,
2022-09-28 12:41:38 +03:00
punch_end = 150
2018-08-08 12:56:14 +03:00
}
})