forked from NPXcoot/nssm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrocodile.lua
52 lines (52 loc) · 960 Bytes
/
crocodile.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
49
50
51
52
nssm:register_mob("nssm:crocodile", {
type = "monster",
hp_max = 20,
hp_min = 15,
collisionbox = {-0.45, -0.30, -0.45, 0.45, 0.3, 0.45},
visual = "mesh",
mesh = "crocodile.x",
textures = {{"croco.png"}},
sounds = {
random = "crocod",
},
visual_size = {x=4, y=4},
makes_footstep_sound = true,
view_range = 15,
walk_velocity = 1,
run_velocity = 1,
damage = 3,
floats = 1,
jump = true,
drops = {
{name = "nssm:life_energy",
chance = 1,
min = 1,
max = 2,},
{name = "nssm:crocodile_tail",
chance = 2,
min = 1,
max = 1,},
},
armor = 90,
drawtype = "front",
reach = 2,
water_damage = 0,
lava_damage = 10,
light_damage = 0,
on_rightclick = nil,
attack_type = "dogfight",
animation = {
speed_normal = 25,
speed_run = 25,
stand_start = 1,
stand_end = 80,
walk_start = 230,
walk_end = 270,
run_start = 230,
run_end = 270,
punch_start = 205,
punch_end = 220,
--swim_start = 100,
--swim_end = 140,
}
})