Adjust fungal growth.

This commit is contained in:
Duane 2016-06-15 06:45:18 -05:00
parent edd4baf418
commit 306591f082

View file

@ -167,7 +167,7 @@ end)
-- Exploding fungal fruit -- Exploding fungal fruit
minetest.register_abm({ minetest.register_abm({
nodenames = {"fun_caves:fungal_tree_fruit"}, nodenames = {"fun_caves:fungal_tree_fruit"},
interval = 30 * fun_caves.time_factor, interval = 20 * fun_caves.time_factor,
chance = 15, chance = 15,
catch_up = false, catch_up = false,
action = function(pos, node) action = function(pos, node)
@ -286,7 +286,7 @@ minetest.register_abm({
nodenames = {"default:dirt"}, nodenames = {"default:dirt"},
neighbors = {"air"}, neighbors = {"air"},
interval = 10 * fun_caves.time_factor, interval = 10 * fun_caves.time_factor,
chance = 10, chance = 15,
action = function(pos, node) action = function(pos, node)
if pos.y > 0 then if pos.y > 0 then
return return
@ -308,7 +308,7 @@ minetest.register_abm({
-- mushroom growth -- small into huge -- mushroom growth -- small into huge
minetest.register_abm({ minetest.register_abm({
nodenames = mushrooms, nodenames = mushrooms,
interval = 100 * fun_caves.time_factor, interval = 75 * fun_caves.time_factor,
chance = 25, chance = 25,
action = function(pos, node) action = function(pos, node)
-- Clumsy, but it's the best way to limit them to caves. -- Clumsy, but it's the best way to limit them to caves.
@ -337,7 +337,7 @@ minetest.register_abm({
-- mushroom growth -- huge into giant -- mushroom growth -- huge into giant
minetest.register_abm({ minetest.register_abm({
nodenames = {"fun_caves:huge_mushroom_cap"}, nodenames = {"fun_caves:huge_mushroom_cap"},
interval = 500 * fun_caves.time_factor, interval = 300 * fun_caves.time_factor,
chance = 30, chance = 30,
action = function(pos, node) action = function(pos, node)
local pos_up = {x=pos.x,y=pos.y+1,z=pos.z} local pos_up = {x=pos.x,y=pos.y+1,z=pos.z}