2018-08-08 12:56:14 +03:00
|
|
|
mobs:register_mob("nssm:icelamander", {
|
|
|
|
type = "monster",
|
|
|
|
hp_max = 230,
|
|
|
|
hp_min = 230,
|
|
|
|
collisionbox = {-0.5, 0, -0.5, 0.5, 2.3, 0.5},
|
|
|
|
visual = "mesh",
|
|
|
|
mesh = "icelamander.x",
|
2020-07-26 21:42:13 +03:00
|
|
|
textures = {
|
|
|
|
{"icelamander.png"}
|
|
|
|
},
|
|
|
|
visual_size = {x = 4, y = 4},
|
2018-08-08 12:56:14 +03:00
|
|
|
makes_footstep_sound = true,
|
|
|
|
view_range = 35,
|
|
|
|
lifetimer = 500,
|
|
|
|
fear_height = 4,
|
|
|
|
walk_velocity = 2,
|
|
|
|
run_velocity = 4,
|
2018-08-09 13:57:31 +03:00
|
|
|
sounds = {
|
2022-09-28 12:41:38 +03:00
|
|
|
random = "icelamander"
|
2018-08-08 12:56:14 +03:00
|
|
|
},
|
|
|
|
damage = 12,
|
|
|
|
jump = true,
|
|
|
|
drops = {
|
2020-07-26 21:42:13 +03:00
|
|
|
{name = "nssm:life_energy", chance = 1, min = 6, max = 8},
|
|
|
|
{name = "nssm:frosted_amphibian_heart", chance = 1, min = 1, max = 1},
|
|
|
|
{name = "nssm:ice_tooth", chance = 1, min = 1, max = 1},
|
|
|
|
{name = "nssm:little_ice_tooth", chance = 1, min = 0, max = 20},
|
2022-09-28 12:41:38 +03:00
|
|
|
{name = "nssm:amphibian_ribs", chance = 2, min = 1, max = 1}
|
2018-08-09 13:57:31 +03:00
|
|
|
},
|
2018-08-08 12:56:14 +03:00
|
|
|
armor = 40,
|
|
|
|
drawtype = "front",
|
|
|
|
water_damage = 0,
|
|
|
|
lava_damage = 30,
|
2021-04-05 11:49:24 +03:00
|
|
|
fire_damage = 20,
|
2018-08-08 12:56:14 +03:00
|
|
|
light_damage = 0,
|
|
|
|
attack_type = "dogshoot",
|
|
|
|
dogshoot_switch = true,
|
2020-07-26 21:42:13 +03:00
|
|
|
blood_texture = "nssm_blood.png",
|
|
|
|
blood_amount = 20,
|
|
|
|
stepheight = 1.1,
|
|
|
|
knock_back = 0,
|
|
|
|
jump_height = 8,
|
2018-08-08 12:56:14 +03:00
|
|
|
dogshoot_count_max = 7,
|
|
|
|
arrow = "nssm:snow_arrow",
|
|
|
|
shoot_interval = 2,
|
|
|
|
animation = {
|
|
|
|
speed_normal = 15,
|
|
|
|
speed_run = 25,
|
|
|
|
stand_start = 1,
|
|
|
|
stand_end = 40,
|
|
|
|
walk_start = 80,
|
|
|
|
walk_end = 160,
|
|
|
|
run_start = 40,
|
|
|
|
run_end = 80,
|
|
|
|
punch_start = 160,
|
|
|
|
punch_end = 190,
|
|
|
|
shoot_start = 190,
|
2022-09-28 12:41:38 +03:00
|
|
|
shoot_end = 210
|
2018-08-08 12:56:14 +03:00
|
|
|
},
|
2022-09-28 12:41:38 +03:00
|
|
|
|
2018-08-08 12:56:14 +03:00
|
|
|
do_custom = function(self)
|
2020-07-26 21:42:13 +03:00
|
|
|
midas_ability(self, "default:ice", self.run_velocity, 1, 3)
|
2022-09-28 12:41:38 +03:00
|
|
|
end
|
2018-08-08 12:56:14 +03:00
|
|
|
})
|