1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-22 17:00:26 +01:00

limit spawning animals to 200 high

This commit is contained in:
TenPlus1 2018-03-04 14:40:24 +00:00
parent f9e1b5880c
commit f2699613e2
8 changed files with 10 additions and 6 deletions

View File

@ -50,6 +50,7 @@ mobs:spawn({
min_light = 10,
chance = 9000,
min_height = 0,
max_height = 200,
day_toggle = true,
})
@ -93,7 +94,7 @@ minetest.register_node(":mobs:beehive", {
after_place_node = function(pos, placer, itemstack)
if placer:is_player() then
if placer and placer:is_player() then
minetest.set_node(pos, {name = "mobs:beehive", param2 = 1})

View File

@ -117,7 +117,8 @@ mobs:spawn({
nodes = {spawn_on},
min_light = 10,
chance = 15000,
min_height = 0,
min_height = 5,
max_height = 200,
day_toggle = true,
})

View File

@ -99,6 +99,7 @@ mobs:spawn({
chance = 15000,
active_object_count = 2,
min_height = 0,
max_height = 200,
day_toggle = true,
})

View File

@ -113,7 +113,7 @@ mobs:spawn({
min_light = 10,
chance = 15000,
min_height = 0,
max_height = 31000,
max_height = 200,
day_toggle = true,
})

View File

@ -59,7 +59,7 @@ mobs:spawn({
min_light = 12,
chance = 22000,
min_height = 0,
max_height = 31000,
max_height = 200,
day_toggle = true,
})

View File

@ -64,6 +64,7 @@ mobs:spawn({
min_light = 10,
chance = 20000,
min_height = 0,
max_height = 200,
day_toggle = true,
})

View File

@ -201,7 +201,7 @@ mobs:spawn({
min_light = 10,
chance = 15000,
min_height = 0,
max_height = 31000,
max_height = 200,
day_toggle = true,
})

View File

@ -70,7 +70,7 @@ mobs:spawn({
min_light = 10,
chance = 15000,
min_height = 0,
max_height = 31000,
max_height = 200,
day_toggle = true,
})