summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2015-07-17 10:35:13 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2015-07-17 10:35:13 +0100
commit3d12807ca86ea8e62ef319431fbd30a01a1cdf41 (patch)
tree0ba310fadd9c7a2be00738ec21d841176ea37659
parent928dad3c4c2e88a2418c7a3eaf9036a8c2a63508 (diff)
Drop cocoa pods when no tree nearby
-rw-r--r--cocoa.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/cocoa.lua b/cocoa.lua
index c6e4b19..c68a0d3 100644
--- a/cocoa.lua
+++ b/cocoa.lua
@@ -94,7 +94,7 @@ minetest.register_node("farming:cocoa_1", {
},
groups = {
snappy = 3, flammable = 2, plant = 1, growing = 1,
- not_in_creative_inventory=1
+ not_in_creative_inventory=1, leafdecay = 1, leafdecay_drop = 1
},
sounds = default.node_sound_leaves_defaults(),
})
@@ -115,7 +115,7 @@ minetest.register_node("farming:cocoa_2", {
},
groups = {
snappy = 3, flammable = 2, plant = 1, growing = 1,
- not_in_creative_inventory=1
+ not_in_creative_inventory=1, leafdecay = 1, leafdecay_drop = 1
},
sounds = default.node_sound_leaves_defaults(),
})
@@ -139,7 +139,7 @@ minetest.register_node("farming:cocoa_3", {
},
groups = {
snappy = 3, flammable = 2, plant = 1,
- not_in_creative_inventory = 1
+ not_in_creative_inventory = 1, leafdecay = 1, leafdecay_drop = 1
},
sounds = default.node_sound_leaves_defaults(),
})