From 5f3c9755faf21122f5d508aeec96a63a6760d307 Mon Sep 17 00:00:00 2001 From: Ombridride Date: Tue, 2 Jun 2015 21:52:40 +0200 Subject: [PATCH] Update plantlife/mushroom mod (3 times less mushrooms in abm/mapgen) --- mods/plantlife_modpack/mushroom/init.lua | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/mods/plantlife_modpack/mushroom/init.lua b/mods/plantlife_modpack/mushroom/init.lua index a65f28f6..8498f035 100755 --- a/mods/plantlife_modpack/mushroom/init.lua +++ b/mods/plantlife_modpack/mushroom/init.lua @@ -16,7 +16,7 @@ minetest.register_node("mushroom:brown",{ groups = {oddly_breakable_by_hand=3,attached_node=1}, paramtype = "light", walkable = false, - on_use = minetest.item_eat(5), + on_use = minetest.item_eat(5), -- Modif MFF selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -34,7 +34,7 @@ minetest.register_node("mushroom:red",{ groups = {oddly_breakable_by_hand=3,attached_node=1}, paramtype = "light", walkable = false, - on_use = minetest.item_eat(-5), + on_use = minetest.item_eat(-5), -- Modif MFF selection_box = { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0, 0.3} @@ -115,8 +115,8 @@ minetest.register_node("mushroom:red_natural",{ minetest.register_abm({ nodenames = {"mushroom:spore_brown"}, neighbors = {"air"}, - interval = 120, - chance = 4, + interval = 360, -- Modif MFF + chance = 12, -- Modif MFF action = function(pos, node) local soil = minetest.get_node({x=pos.x,y=pos.y-1,z=pos.z}) if (soil.name == "farming:soil_wet" or string.find(soil.name, "homedecor:flower_pot_")) @@ -129,8 +129,8 @@ minetest.register_abm({ minetest.register_abm({ nodenames = {"mushroom:spore_red"}, neighbors = {"air"}, - interval = 120, - chance = 4, + interval = 360, -- Modif MFF + chance = 12, -- Modif MFF action = function(pos, node) local soil = minetest.get_node({x=pos.x,y=pos.y-1,z=pos.z}) if (soil.name == "farming:soil_wet" or string.find(soil.name, "homedecor:flower_pot_")) @@ -171,8 +171,8 @@ minetest.register_abm({ "farming:soil_wet" }, neighbors = {"air"}, - interval = 300, - chance = 100, + interval = 900, -- Modif MFF + chance = 300, -- Modif MFF action = function(pos, node) local top_pos = {x=pos.x, y=pos.y+1, z=pos.z} if minetest.get_node(top_pos).name == "air" and minetest.get_node_light(top_pos, nil) < 8 @@ -190,8 +190,8 @@ minetest.register_abm({ minetest.register_abm({ nodenames = {"default:stone"}, neighbors = {"air"}, - interval = 300, - chance = 100, + interval = 900, -- Modif MFF + chance = 300, -- Modif MFF action = function(pos, node) local top_pos = {x=pos.x, y=pos.y+1, z=pos.z} if minetest.get_node(top_pos).name == "air" and minetest.get_node_light(top_pos, nil) < 8