From: Vanessa Ezekowitz Date: Sun, 20 Jan 2013 19:53:42 +0000 (-0500) Subject: set sapling interval/chance to their defaults, enabled beech X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=8952d61c061f7affc7776f00e6113e438aa04d1c;p=zefram%2Fminetest%2Fmoretrees.git set sapling interval/chance to their defaults, enabled beech tree code which replaces the default trees. --- diff --git a/init.lua b/init.lua index a7b9491..bb73328 100644 --- a/init.lua +++ b/init.lua @@ -53,16 +53,16 @@ plantslib:register_generate_plant(moretrees.conifer_biome, "moretrees:grow_conif -- Enable them if you want but be warned - due to serious bugs in the speed -- of the engine's map generator/loader, doing so will slow it WAY down. ---[[ + minetest.register_alias("mapgen_tree", "air") minetest.register_alias("mapgen_leaves", "air") 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]