Adjust tree and meteor odds.

This commit is contained in:
Duane 2016-07-20 05:14:01 -05:00
parent 8e7e1f2d46
commit 212511b754
3 changed files with 4 additions and 2 deletions

View file

@ -750,7 +750,7 @@ local last_meteor_strike = 0
minetest.register_abm({
nodenames = {"default:dirt_with_grass", "default:dirt_with_dry_grass", 'default:dirt_with_snow'},
neighbors = {"air", 'default:snow'},
interval = 25 * time_factor,
interval = 15 * time_factor,
catch_up = false,
chance = 32767,
action = function(pos, node)

View file

@ -370,6 +370,8 @@ mobs:register_mob("fun_caves:star", {
mobs:spawn_specific("fun_caves:star", {'default:stone', 'fun_caves:asteroid_water'}, {'fun_caves:vacuum'}, -1, 20, nil, 300, 2, 11168, 15168, nil)
if minetest.registered_entities["mobs:bee"] then
mobs:register_spawn("mobs_animal:bee", {"group:flower"}, 20, 10, 4000, 1, 31000, true)
local function bee_summon(self)
if not (self and self.state == 'attack') then
return

View file

@ -288,7 +288,7 @@ fun_caves.treegen = function(minp, maxp, data, p2data, area, node)
end
local tree_n = minetest.get_perlin(tree_noise_1):get2d({x=math.floor((minp.x + 32) / 160) * 80, y=math.floor((minp.z + 32) / 160) * 80})
if not tree_n or minp.y < -112 or minp.y > 208 or (not fun_caves.DEBUG and tree_n < 1) then
if not tree_n or minp.y < -112 or minp.y > 208 or (not fun_caves.DEBUG and tree_n < 1.5) then
return
end