small adjustments

This commit is contained in:
Juraj Vajda 2016-11-13 12:44:52 +01:00
parent 55fb7c6ff2
commit bf8d4af37a
4 changed files with 11 additions and 8 deletions

View File

@ -58,8 +58,8 @@ function spawners_mobs.cloud_booom(pos)
minetest.add_particlespawner({
amount = 5,
time = 2,
minpos = vector.subtract({x=pos.x-0.5, y=pos.y, z=pos.z-0.5}, 0.5),
maxpos = vector.add({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.6, y=pos.y, z=pos.z+0.6}, 0.6),
minvel = {x=0.1, y=0.1, z=0.1},
maxvel = {x=0.2, y=0.2, z=0.2},
minacc = vector.new({x=-0.1, y=0.1, z=-0.1}),

View File

@ -48,6 +48,6 @@ local bunny_evil_def = {
mobs:register_mob("spawners_mobs:bunny_evil", bunny_evil_def)
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)

View File

@ -12,8 +12,8 @@ local mummy_def = {
shoot_offset = 2,
reach = 3,
damage = 5,
hp_min = 45,
hp_max = 75,
hp_min = 60,
hp_max = 120,
armor = 100,
collisionbox = {-0.4, -1, -0.4, 0.4, 0.8, 0.4},
visual = "mesh",
@ -42,7 +42,7 @@ local mummy_def = {
},
water_damage = 4,
lava_damage = 8,
light_damage = 5,
light_damage = 10,
fear_height = 4,
animation = {
speed_normal = 15,
@ -95,4 +95,7 @@ mobs:register_arrow("spawners_mobs:black_skull", {
damage_groups = {fleshy = 8},
}, nil)
end,
hit_node = function(self, pos, node)
end
})

View File

@ -249,8 +249,8 @@ function spawners_mobs.create(mob_name, mod_prefix, size, offset, mesh, texture,
"spawners_mobs:"..mod_prefix.."_"..mob_name.."_spawner_waiting"
},
neighbors = {"air"},
interval = 10.0,
chance = 5,
interval = 20.0,
chance = 100,
catch_up = false,
action = function(pos, node, active_object_count, active_object_count_wider)