mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-23 02:51:06 +01:00
29 lines
622 B
Lua
29 lines
622 B
Lua
mobs:register_mob("mobs:creeper", {
|
|
type = "monster",
|
|
hp_max = 10,
|
|
collisionbox = {-0.2, 0, -0.2, 0.2, 1.4, 0.2},
|
|
visual = "mesh",
|
|
mesh = "creatures_creeper.x",
|
|
textures = {"mobs_creeper.png"},
|
|
--visual_size = {x = 1.1, y = 1.1},
|
|
makes_footstep_sound = true,
|
|
view_range = 15,
|
|
walk_velocity = 1.3,
|
|
randomsound= "creeper_random",
|
|
run_velocity = 1.1,
|
|
on_rightclick = nil,
|
|
jump = 0,
|
|
damage = 0,
|
|
drops = {
|
|
{name = "default:gunpowder",
|
|
chance = 1,
|
|
min = 1,
|
|
max = 3,},
|
|
},
|
|
armor = 70,
|
|
drawtype = "front",
|
|
lava_damage = 15,
|
|
light_damage = 0,
|
|
attack_type = "kamicaze",
|
|
})
|
|
|