2017-05-22 22:27:00 -04:00
|
|
|
--###################
|
|
|
|
--################### ENDERMITE
|
|
|
|
--###################
|
|
|
|
|
2017-05-23 00:35:56 -04:00
|
|
|
mobs:register_mob("mobs_mc:endermite", {
|
|
|
|
type = "monster",
|
|
|
|
passive = false,
|
2017-05-28 23:16:44 -04:00
|
|
|
hp_min = 8,
|
|
|
|
hp_max = 8,
|
|
|
|
armor = 100,
|
|
|
|
group_attack = true,
|
2017-06-20 19:13:57 -04:00
|
|
|
collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.29, 0.2},
|
2017-05-22 22:27:00 -04:00
|
|
|
visual = "mesh",
|
2017-06-27 00:32:05 +02:00
|
|
|
mesh = "mobs_mc_endermite.b3d",
|
2017-05-22 22:27:00 -04:00
|
|
|
textures = {
|
2017-06-27 15:15:00 +02:00
|
|
|
{"mobs_mc_endermite.png"},
|
2017-05-22 22:27:00 -04:00
|
|
|
},
|
2017-05-23 00:35:56 -04:00
|
|
|
visual_size = {x=3, y=3},
|
2017-05-22 22:27:00 -04:00
|
|
|
makes_footstep_sound = false,
|
|
|
|
sounds = {
|
|
|
|
random = "mobs_rat",
|
|
|
|
},
|
|
|
|
walk_velocity = 1,
|
|
|
|
run_velocity = 2,
|
|
|
|
jump = true,
|
|
|
|
water_damage = 0,
|
|
|
|
lava_damage = 4,
|
|
|
|
light_damage = 0,
|
2017-06-20 19:13:57 -04:00
|
|
|
fear_height = 4,
|
2017-06-14 19:47:33 -04:00
|
|
|
view_range = 16,
|
|
|
|
damage = 2,
|
2017-05-22 22:27:00 -04:00
|
|
|
on_rightclick = function(self, clicker)
|
|
|
|
mobs:capture_mob(self, clicker, 25, 80, 0, true, nil)
|
|
|
|
end,
|
2017-06-30 00:28:51 +02:00
|
|
|
blood_amount = 0,
|
2017-05-22 22:27:00 -04:00
|
|
|
})
|
|
|
|
|
2017-06-27 15:15:00 +02:00
|
|
|
mobs:register_egg("mobs_mc:endermite", "Endermite", "mobs_mc_spawn_icon_endermite.png", 0)
|