Add chest support to llama model
This commit is contained in:
parent
5236edbedb
commit
673f970fb3
|
@ -49,7 +49,6 @@ mcl_mobs:register_mob("mobs_mc:llama", {
|
||||||
{"blank.png", "blank.png", "mobs_mc_llama_white.png"},
|
{"blank.png", "blank.png", "mobs_mc_llama_white.png"},
|
||||||
{"blank.png", "blank.png", "mobs_mc_llama.png"},
|
{"blank.png", "blank.png", "mobs_mc_llama.png"},
|
||||||
},
|
},
|
||||||
visual_size = {x=3, y=3},
|
|
||||||
makes_footstep_sound = true,
|
makes_footstep_sound = true,
|
||||||
runaway = false,
|
runaway = false,
|
||||||
walk_velocity = 1,
|
walk_velocity = 1,
|
||||||
|
@ -71,36 +70,28 @@ mcl_mobs:register_mob("mobs_mc:llama", {
|
||||||
distance = 16,
|
distance = 16,
|
||||||
},
|
},
|
||||||
animation = {
|
animation = {
|
||||||
speed_normal = 24,
|
stand_start = 0, stand_end = 0,
|
||||||
run_speed = 60,
|
walk_start = 0, walk_end = 40, walk_speed = 35,
|
||||||
run_start = 0,
|
run_start = 0, run_end = 40, run_speed = 50,
|
||||||
run_end = 40,
|
},
|
||||||
stand_start = 0,
|
child_animations = {
|
||||||
stand_end = 0,
|
stand_start = 41, stand_end = 41,
|
||||||
walk_start = 0,
|
walk_start = 41, walk_end = 81, walk_speed = 50,
|
||||||
walk_end = 40,
|
run_start = 41, run_end = 81, run_speed = 75,
|
||||||
hurt_start = 118,
|
|
||||||
hurt_end = 154,
|
|
||||||
death_start = 154,
|
|
||||||
death_end = 179,
|
|
||||||
eat_start = 49,
|
|
||||||
eat_end = 78,
|
|
||||||
look_start = 78,
|
|
||||||
look_end = 108,
|
|
||||||
},
|
},
|
||||||
follow = { "mcl_farming:wheat_item", "mcl_farming:hay_block" },
|
follow = { "mcl_farming:wheat_item", "mcl_farming:hay_block" },
|
||||||
view_range = 16,
|
view_range = 16,
|
||||||
do_custom = function(self, dtime)
|
do_custom = function(self, dtime)
|
||||||
|
|
||||||
-- set needed values if not already present
|
-- set needed values if not already present
|
||||||
if not self.v2 then
|
if not self.v3 then
|
||||||
self.v2 = 0
|
self.v2 = 0
|
||||||
self.max_speed_forward = 4
|
self.max_speed_forward = 4
|
||||||
self.max_speed_reverse = 2
|
self.max_speed_reverse = 2
|
||||||
self.accel = 4
|
self.accel = 4
|
||||||
self.terrain_type = 3
|
self.terrain_type = 3
|
||||||
self.driver_attach_at = {x = 0, y = 4.17, z = -1.5}
|
self.driver_attach_at = {x = 0, y = 12.7, z = -5}
|
||||||
self.driver_eye_offset = {x = 0, y = 3, z = 0}
|
self.driver_eye_offset = {x = 0, y = 6, z = 0}
|
||||||
self.driver_scale = {x = 1/self.visual_size.x, y = 1/self.visual_size.y}
|
self.driver_scale = {x = 1/self.visual_size.x, y = 1/self.visual_size.y}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue