summaryrefslogtreecommitdiff
path: root/leaves.lua
diff options
context:
space:
mode:
Diffstat (limited to 'leaves.lua')
-rw-r--r--leaves.lua40
1 files changed, 40 insertions, 0 deletions
diff --git a/leaves.lua b/leaves.lua
index 6300b3c..bfce420 100644
--- a/leaves.lua
+++ b/leaves.lua
@@ -283,4 +283,44 @@ minetest.register_node("ethereal:mushroom_pore", {
flammable = 2, disable_jump = 1, fall_damage_add_percent = -100
},
sounds = default.node_sound_dirt_defaults(),
+})
+
+-- Hedge Block
+minetest.register_node("ethereal:bush", {
+ description = "Bush",
+ tiles = {"ethereal_bush.png"},
+ walkable = true,
+ groups = {snappy = 3, flammable = 2},
+ sounds = default.node_sound_leaves_defaults(),
+})
+
+minetest.register_craft({
+ output = "ethereal:bush",
+ recipe = {
+ {"group:leaves", "group:leaves", "group:leaves"},
+ {"group:leaves", "group:leaves", "group:leaves"},
+ {"group:leaves", "group:leaves", "group:leaves"},
+ }
+})
+
+-- Bamboo Leaves
+minetest.register_node("ethereal:bamboo_leaves", {
+ description = "Bamboo Leaves",
+ drawtype = leaftype,
+ visual_scale = 1.2,
+ tiles = {"bamboo_leaves.png"},
+ inventory_image = "bamboo_leaves.png",
+ paramtype = "light",
+ walkable = false,
+ waving = 1,
+ groups = {snappy = 3, leafdecay = 3, leaves = 1, flammable = 2},
+ drop = {
+ max_items = 1,
+ items = {
+ {items = {"ethereal:bamboo_sprout"}, rarity = 10},
+ {items = {"ethereal:bamboo_leaves"}}
+ }
+ },
+ sounds = default.node_sound_leaves_defaults(),
+ after_place_node = default.after_place_leaves,
}) \ No newline at end of file