summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortenplus1 <kinsellaja@yahoo.com>2014-11-23 16:47:21 +0000
committertenplus1 <kinsellaja@yahoo.com>2014-11-23 16:47:21 +0000
commitf3572e569f61a3213e8ba26c5b4da16936794be7 (patch)
treef58a010be6befa15919721e8da85856db5919b5f
parentd9924ea01e110b57ba6c81b1ccb1e2110e607386 (diff)
Changed coconut nodebox and now breakable by hand
-rw-r--r--plantlife.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/plantlife.lua b/plantlife.lua
index 79d1ae1..c252efc 100644
--- a/plantlife.lua
+++ b/plantlife.lua
@@ -204,12 +204,17 @@ minetest.register_craftitem("ethereal:banana_bread", {
-- Coconut (Gives 4 coconut slices, each heal 1/2 heart)
minetest.register_node("ethereal:coconut", {
+ description = "Coconut",
drawtype = "plantlike",
walkable = false,
paramtype = "light",
- description = "Coconut",
+ sunlight_propagates = true,
tiles = {"moretrees_coconut.png"},
- groups = {cracky=2,snappy=2,choppy=2,flammable=1,leafdecay=3,leafdecay_drop=1},
+ selection_box = {
+ type = "fixed",
+ fixed = {-0.35, -0.35, -0.35, 0.35, 0.35, 0.35}
+ },
+ groups = {snappy=1,oddly_breakable_by_hand=1,cracky=1,choppy=1,flammable=1,leafdecay=3,leafdecay_drop=1},
drop = "ethereal:coconut_slice 4",
sounds = default.node_sound_wood_defaults(),
})