55 lines
840 B
Lua
55 lines
840 B
Lua
|
|
-- People
|
|
mobs:register_mob("people:female", {
|
|
type = "monster",
|
|
passive = false,
|
|
attack_type = "dogfight",
|
|
pathfinding = true,
|
|
reach = 2,
|
|
damage = 2,
|
|
hp_min = 10,
|
|
hp_max = 15,
|
|
collisionbox =
|
|
{
|
|
-.4, 0, -.4, .4, 2, .4
|
|
},
|
|
pushable = true,
|
|
visual = "mesh",
|
|
mesh = "character.b3d",
|
|
textures =
|
|
{
|
|
{"female_person.png"},
|
|
{"female_person1.png"},
|
|
{"female_person2.png"},
|
|
{"female_person3.png"},
|
|
},
|
|
|
|
makes_footstep_sound = true,
|
|
sounds =
|
|
{
|
|
random = "female_noise",
|
|
},
|
|
|
|
walk_velocity = 2,
|
|
run_velocity = 8,
|
|
jump_height = 1,
|
|
stepheight = 0,
|
|
floats = 0,
|
|
view_range = 45,
|
|
fall_damage = true,
|
|
|
|
|
|
animation =
|
|
{
|
|
speed_normal = 30,
|
|
speed_run = 50,
|
|
stand_start = 0,
|
|
stand_end = 79,
|
|
walk_start = 168,
|
|
walk_end = 187,
|
|
run_start = 168,
|
|
run_end = 187,
|
|
punch_start = 200,
|
|
punch_end = 219
|
|
},
|
|
}) |