From: Vanessa Ezekowitz Date: Sun, 20 Jan 2013 18:51:34 +0000 (-0500) Subject: disable debugging info, set sapling growth values to normal X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=59bfc5ea5151c988a021d7c073340cf1ea1092ef;p=zefram%2Fminetest%2Fmoretrees.git disable debugging info, set sapling growth values to normal (interval = 500, chance = 10) --- diff --git a/init.lua b/init.lua index 2efb3c5..c6012fd 100644 --- a/init.lua +++ b/init.lua @@ -61,12 +61,13 @@ plantslib:register_generate_plant(moretrees.beech_biome, moretrees.beech_model) -- sapling growth setup -local sapling_interval = 1 -local sapling_chance = 1 +local sapling_interval = 500 +local sapling_chance = 10 + for i in ipairs(simple_trees) do local tree_name = trees[i][1] local tree_model = tree_name.."_model" - print(dump(moretrees[tree_model])) + dbg(dump(moretrees[tree_model])) plantslib:grow_plants( sapling_interval,