summaryrefslogtreecommitdiff
path: root/sapling.lua
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2015-04-10 15:38:53 +0100
committertenplus1 <kinsellaja@yahoo.com>2015-04-10 15:38:53 +0100
commit7d5b162ae9c7942bc21725bd310b46ebe8e4e4a2 (patch)
tree897e5de62611c8d8cea46219960744a7c0da7fb3 /sapling.lua
parentefd4ab247c4fa11921bf0a65b61a432e674600e4 (diff)
tidied & optimized code
Diffstat (limited to 'sapling.lua')
-rw-r--r--sapling.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapling.lua b/sapling.lua
index 24ef529..5493742 100644
--- a/sapling.lua
+++ b/sapling.lua
@@ -49,8 +49,8 @@ end
-- Grow saplings
minetest.register_abm({
nodenames = {"group:ethereal_sapling"},
- interval = 20,
- chance = 25,
+ interval = 10,
+ chance = 50,
action = function(pos, node)
local under = minetest.get_node({x=pos.x, y=pos.y-1, z=pos.z}).name