diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-11-01 14:43:06 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-11-01 14:43:06 +0000 |
commit | b29634b3632aebe6c21d035884ed454cfd7ce77a (patch) | |
tree | ee3aa86bfdee090a2a7981b8ffff1b69f803b35b /extra.lua | |
parent | 80bd5dfebfb4b607f8d4aa842934b2b24e9b0f51 (diff) |
change bamboo floor recipe and add bamboo block
Diffstat (limited to 'extra.lua')
-rw-r--r-- | extra.lua | 31 |
1 files changed, 28 insertions, 3 deletions
@@ -26,6 +26,31 @@ minetest.register_node("ethereal:bamboo_floor", { minetest.register_craft({ output = "ethereal:bamboo_floor 2", recipe = { + {"ethereal:bamboo", "ethereal:bamboo"}, + {"ethereal:bamboo", "ethereal:bamboo"}, + } +}) + +minetest.register_craft({ + output = "ethereal:bamboo_block", + recipe = { + {"ethereal:bamboo_floor"}, + {"ethereal:bamboo_floor"}, + } +}) + +-- Bamboo Block +minetest.register_node("ethereal:bamboo_block", { + description = S("Bamboo Block"), + tiles = { "bamboo_floor.png" }, + paramtype = "light", + groups = {snappy = 3, choppy = 3 , flammable = 2, wood = 1}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_craft({ + output = "ethereal:bamboo_block", + recipe = { {"ethereal:bamboo", "ethereal:bamboo", "ethereal:bamboo"}, {"ethereal:bamboo", "ethereal:bamboo", "ethereal:bamboo"}, {"ethereal:bamboo", "ethereal:bamboo", "ethereal:bamboo"}, @@ -207,9 +232,9 @@ minetest.register_node("ethereal:paper_wall", { minetest.register_craft({ output = "ethereal:paper_wall", recipe = { - {"default:stick", "default:paper", "default:stick"}, - {"default:stick", "default:paper", "default:stick"}, - {"default:stick", "default:paper", "default:stick"}, + {"group:stick", "default:paper", "group:stick"}, + {"group:stick", "default:paper", "group:stick"}, + {"group:stick", "default:paper", "group:stick"}, } }) |