summaryrefslogtreecommitdiff
path: root/plantlife.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2015-08-31 17:40:29 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2015-08-31 17:40:29 +0100
commit39938949b04ea1c58f016143956b58687ec74b1d (patch)
treea96bd119382aa144a0411bc751ce3af946c0d851 /plantlife.lua
parent1bcdfc56fd37065f664dc193d5e910b5bbd99a84 (diff)
Changed Bamboo biome, added bamboo tree, bush, tidied code
Diffstat (limited to 'plantlife.lua')
-rw-r--r--plantlife.lua13
1 files changed, 9 insertions, 4 deletions
diff --git a/plantlife.lua b/plantlife.lua
index 631682c..bd459c7 100644
--- a/plantlife.lua
+++ b/plantlife.lua
@@ -281,7 +281,7 @@ minetest.register_node("ethereal:bamboo", {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.5, 0.3}
},
- groups = {choppy = 3, oddly_breakable_by_hand = 1, flammable = 2},
+ groups = {choppy = 3, oddly_breakable_by_hand = 1, flammable = 2, tree = 1}, -- added tree
sounds = default.node_sound_leaves_defaults(),
after_dig_node = function(pos, node, metadata, digger)
default.dig_up(pos, node, digger)
@@ -304,9 +304,14 @@ minetest.register_node("ethereal:bamboo_sprout", {
paramtype = "light",
sunlight_propagates = true,
walkable = false,
- buildable_to = true,
- groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 2},
- sounds = default.node_sound_leaves_defaults(),
+ --buildable_to = true,
+ --groups = {snappy = 3, flora = 1, attached_node = 1, flammable = 2},
+ groups = {
+ snappy = 3, attached_node = 1, flammable = 2,
+ dig_immediate = 3, ethereal_sapling = 1
+ },
+ --sounds = default.node_sound_leaves_defaults(),
+ sounds = default.node_sound_defaults(),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5},