small adjustments
This commit is contained in:
parent
55fb7c6ff2
commit
bf8d4af37a
@ -58,8 +58,8 @@ function spawners_mobs.cloud_booom(pos)
|
|||||||
minetest.add_particlespawner({
|
minetest.add_particlespawner({
|
||||||
amount = 5,
|
amount = 5,
|
||||||
time = 2,
|
time = 2,
|
||||||
minpos = vector.subtract({x=pos.x-0.5, y=pos.y, z=pos.z-0.5}, 0.5),
|
minpos = vector.subtract({x=pos.x-0.6, y=pos.y, z=pos.z-0.6}, 0.6),
|
||||||
maxpos = vector.add({x=pos.x+0.5, y=pos.y, z=pos.z+0.5}, 0.5),
|
maxpos = vector.add({x=pos.x+0.6, y=pos.y, z=pos.z+0.6}, 0.6),
|
||||||
minvel = {x=0.1, y=0.1, z=0.1},
|
minvel = {x=0.1, y=0.1, z=0.1},
|
||||||
maxvel = {x=0.2, y=0.2, z=0.2},
|
maxvel = {x=0.2, y=0.2, z=0.2},
|
||||||
minacc = vector.new({x=-0.1, y=0.1, z=-0.1}),
|
minacc = vector.new({x=-0.1, y=0.1, z=-0.1}),
|
@ -48,6 +48,6 @@ local bunny_evil_def = {
|
|||||||
mobs:register_mob("spawners_mobs:bunny_evil", bunny_evil_def)
|
mobs:register_mob("spawners_mobs:bunny_evil", bunny_evil_def)
|
||||||
|
|
||||||
mobs:register_spawn("spawners_mobs:bunny_evil",
|
mobs:register_spawn("spawners_mobs:bunny_evil",
|
||||||
{"default:snow", "default:snowblock", "default:dirt_with_snow"}, 20, 0, 350, 3, 31000, false)
|
{"default:snow", "default:snowblock", "default:dirt_with_snow"}, 20, 0, 700, 3, 31000, false)
|
||||||
|
|
||||||
mobs:register_egg("spawners_mobs:bunny_evil", "Evil Bunny", "mobs_bunny_inv.png", 0)
|
mobs:register_egg("spawners_mobs:bunny_evil", "Evil Bunny", "mobs_bunny_inv.png", 0)
|
@ -12,8 +12,8 @@ local mummy_def = {
|
|||||||
shoot_offset = 2,
|
shoot_offset = 2,
|
||||||
reach = 3,
|
reach = 3,
|
||||||
damage = 5,
|
damage = 5,
|
||||||
hp_min = 45,
|
hp_min = 60,
|
||||||
hp_max = 75,
|
hp_max = 120,
|
||||||
armor = 100,
|
armor = 100,
|
||||||
collisionbox = {-0.4, -1, -0.4, 0.4, 0.8, 0.4},
|
collisionbox = {-0.4, -1, -0.4, 0.4, 0.8, 0.4},
|
||||||
visual = "mesh",
|
visual = "mesh",
|
||||||
@ -42,7 +42,7 @@ local mummy_def = {
|
|||||||
},
|
},
|
||||||
water_damage = 4,
|
water_damage = 4,
|
||||||
lava_damage = 8,
|
lava_damage = 8,
|
||||||
light_damage = 5,
|
light_damage = 10,
|
||||||
fear_height = 4,
|
fear_height = 4,
|
||||||
animation = {
|
animation = {
|
||||||
speed_normal = 15,
|
speed_normal = 15,
|
||||||
@ -95,4 +95,7 @@ mobs:register_arrow("spawners_mobs:black_skull", {
|
|||||||
damage_groups = {fleshy = 8},
|
damage_groups = {fleshy = 8},
|
||||||
}, nil)
|
}, nil)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
hit_node = function(self, pos, node)
|
||||||
|
end
|
||||||
})
|
})
|
@ -249,8 +249,8 @@ function spawners_mobs.create(mob_name, mod_prefix, size, offset, mesh, texture,
|
|||||||
"spawners_mobs:"..mod_prefix.."_"..mob_name.."_spawner_waiting"
|
"spawners_mobs:"..mod_prefix.."_"..mob_name.."_spawner_waiting"
|
||||||
},
|
},
|
||||||
neighbors = {"air"},
|
neighbors = {"air"},
|
||||||
interval = 10.0,
|
interval = 20.0,
|
||||||
chance = 5,
|
chance = 100,
|
||||||
catch_up = false,
|
catch_up = false,
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user