projects
/
zefram
/
minetest
/
moretrees.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d37d847
)
disable debugging info, set sapling growth values to normal
author
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Sun, 20 Jan 2013 18:51:34 +0000
(13:51 -0500)
committer
Vanessa Ezekowitz
<vanessaezekowitz@gmail.com>
Sun, 20 Jan 2013 18:51:34 +0000
(13:51 -0500)
(interval = 500, chance = 10)
init.lua
patch
|
blob
|
history
diff --git
a/init.lua
b/init.lua
index 2efb3c56fae3df1d673fa9eaf3590c22ebf3376d..c6012fdbc3b33107a5142c8e30c77cc091e3fade 100644
(file)
--- 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,