Mehr Mods hinzugefügt
This commit is contained in:
parent
92a55732cf
commit
9e345a25fb
2805 changed files with 2096013 additions and 0 deletions
62
mods/nssm/mobs/stone_eater.lua
Normal file
62
mods/nssm/mobs/stone_eater.lua
Normal file
|
@ -0,0 +1,62 @@
|
|||
mobs:register_mob("nssm:stone_eater", {
|
||||
type = "monster",
|
||||
hp_max = 27,
|
||||
hp_min = 19,
|
||||
collisionbox = {-0.3, -0.05, -0.3, 0.3, 0.65, 0.3},
|
||||
visual = "mesh",
|
||||
mesh = "stone_eater.x",
|
||||
textures = {
|
||||
{"stone_eater.png"}
|
||||
},
|
||||
visual_size = {x = 10, y = 10},
|
||||
makes_footstep_sound = false,
|
||||
view_range = 16,
|
||||
rotate = 270,
|
||||
fear_height = 4,
|
||||
jump = false,
|
||||
jump_height = 0,
|
||||
walk_velocity = 1,
|
||||
run_velocity = 1.5,
|
||||
damage = 5,
|
||||
reach = 1.5,
|
||||
drops = {
|
||||
{name = "default:stone", chance = 2, min = 1, max = 3},
|
||||
{name = "nssm:life_energy", chance = 1, min = 2, max = 3},
|
||||
{name = "nssm:stoneater_mandible", chance = 2, min = 1, max = 4}
|
||||
},
|
||||
armor = 40,
|
||||
drawtype = "front",
|
||||
water_damage = 1,
|
||||
lava_damage = 1,
|
||||
fire_damage = 1,
|
||||
group_attack = true,
|
||||
attack_animals = true,
|
||||
knock_back = 0,
|
||||
blood_texture = "stone_blood.png",
|
||||
immune_to={
|
||||
{"default:sword_stone", -2},
|
||||
{"default:stone", -2},
|
||||
{"default:cobble", -2},
|
||||
{"default:axe_stone", -2},
|
||||
{"default:shovel_stone", -2},
|
||||
{"default:pick_stone", -2}
|
||||
},
|
||||
light_damage = 0,
|
||||
attack_type = "dogfight",
|
||||
animation = {
|
||||
speed_normal = 20,
|
||||
speed_run = 20,
|
||||
stand_start = 1,
|
||||
stand_end = 60,
|
||||
walk_start = 70,
|
||||
walk_end = 110,
|
||||
run_start = 130,
|
||||
run_end = 150,
|
||||
punch_start = 160,
|
||||
punch_end = 185
|
||||
},
|
||||
|
||||
do_custom = function(self)
|
||||
nssm:digging_attack(self, "stone", self.run_velocity, {x = 0, y = 1, z = 0})
|
||||
end
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue