forked from NPXcoot/nssm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlarva.lua
48 lines (48 loc) · 886 Bytes
/
larva.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
nssm:register_mob("nssm:larva", {
type = "monster",
hp_max = 10,
hp_min = 8,
collisionbox = {-0.3, 0, -0.3, 0.3, 0.41, 0.3},
visual = "mesh",
mesh = "larva.x",
textures = {{"larva.png"}},
visual_size = {x=3, y=3},
makes_footstep_sound = false,
view_range = 10,
rotate = 90,
jump = false,
fear_height = 4,
jump_height =0,
walk_velocity = 0.4,
run_velocity = 0.4,
sounds = {
random = "sand",
},
damage = 1,
drops = {
{name = "nssm:life_energy",
chance = 3,
min = 1,
max = 1,},
},
metamorphosis = true,
armor = 100,
drawtype = "front",
water_damage = 2,
lava_damage = 4,
light_damage = 0,
on_rightclick = nil,
attack_type = "dogfight",
animation = {
speed_normal = 20,
speed_run = 20,
stand_start = 0,
stand_end = 80,
walk_start = 100,
walk_end = 160,
run_start = 100,
run_end = 160,
punch_start = 180,
punch_end = 230,
}
})