diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2015-08-31 17:40:29 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2015-08-31 17:40:29 +0100 |
commit | 39938949b04ea1c58f016143956b58687ec74b1d (patch) | |
tree | a96bd119382aa144a0411bc751ce3af946c0d851 /leaves.lua | |
parent | 1bcdfc56fd37065f664dc193d5e910b5bbd99a84 (diff) |
Changed Bamboo biome, added bamboo tree, bush, tidied code
Diffstat (limited to 'leaves.lua')
-rw-r--r-- | leaves.lua | 40 |
1 files changed, 40 insertions, 0 deletions
@@ -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 |