54 lines
974 B
Lua
54 lines
974 B
Lua
nssm:register_mob("nssm:octopus", {
|
|
type = "monster",
|
|
hp_max = 22,
|
|
hp_min = 15,
|
|
collisionbox = {-0.9, -0.5, -0.9, 0.9, 0.92, 0.9},
|
|
visual = "mesh",
|
|
mesh = "octopus.x",
|
|
textures = {{"octopus.png"}},
|
|
visual_size = {x=4, y=4},
|
|
view_range = 25,
|
|
fly = true,
|
|
fly_in = "default:water_source",
|
|
fall_speed = -20,
|
|
walk_velocity = 1.5,
|
|
run_velocity = 3,
|
|
damage = 3,
|
|
rotate = 270,
|
|
jump = false,
|
|
jump_chance = 0,
|
|
jump_height = 0,
|
|
sounds = {
|
|
random = "octopus",
|
|
},
|
|
drops = {
|
|
{name = "nssm:life_energy",
|
|
chance = 1,
|
|
min = 2,
|
|
max = 3,},
|
|
{name = "nssm:tentacle",
|
|
chance = 1,
|
|
min = 1,
|
|
max = 8,},
|
|
},
|
|
armor = 100,
|
|
drawtype = "front",
|
|
water_damage = 0,
|
|
lava_damage = 10,
|
|
light_damage = 0,
|
|
on_rightclick = nil,
|
|
attack_type = "dogfight",
|
|
animation = {
|
|
speed_normal = 25,
|
|
speed_run = 35,
|
|
stand_start = 1,
|
|
stand_end = 50,
|
|
walk_start = 60,
|
|
walk_end = 100,
|
|
run_start = 60,
|
|
run_end = 100,
|
|
punch_start = 120,
|
|
punch_end = 160,
|
|
}
|
|
})
|