From 39938949b04ea1c58f016143956b58687ec74b1d Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 31 Aug 2015 17:40:29 +0100 Subject: Changed Bamboo biome, added bamboo tree, bush, tidied code --- plantlife.lua | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'plantlife.lua') 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}, -- cgit v1.2.3