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 | |
parent | 80bd5dfebfb4b607f8d4aa842934b2b24e9b0f51 (diff) |
change bamboo floor recipe and add bamboo block
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | extra.lua | 31 | ||||
-rw-r--r-- | stairs.lua | 6 | ||||
-rw-r--r-- | wood.lua | 2 |
4 files changed, 33 insertions, 7 deletions
@@ -17,6 +17,7 @@ Ethereal Mapgen mod for Minetest (works on all except v6) - Tweaked mapgen decorations - Added more lucky blocks - Added igloo to glacier biome + - 2x2 bamboo = bamboo floor, 3x3 bamboo or 2x bamboo floor = bamboo block, blocks can be made into sticks, bamboo stairs need blocks to craft ### 1.24 @@ -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"}, } }) @@ -98,7 +98,7 @@ stairs.register_all("redwood_wood", "ethereal:redwood_wood", S("Redwood Slab"), default.node_sound_wood_defaults()) -stairs.register_all("bamboo_wood", "ethereal:bamboo_floor", +stairs.register_all("bamboo_wood", "ethereal:bamboo_block", {snappy = 3, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3}, {"bamboo_floor.png"}, S("Bamboo stair"), @@ -202,7 +202,7 @@ stairsplus:register_all("ethereal", "redwood_wood", "ethereal:redwood_wood", { sounds = default.node_sound_wood_defaults(), }) -stairsplus:register_all("ethereal", "bamboo_wood", "ethereal:bamboo_floor", { +stairsplus:register_all("ethereal", "bamboo_wood", "ethereal:bamboo_block", { description = S("Bamboo"), tiles = {"bamboo_floor.png"}, groups = {snappy = 3, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3}, @@ -307,7 +307,7 @@ stairs.register_stair_and_slab("redwood_wood", "ethereal:redwood_wood", S("Redwood Slab"), default.node_sound_wood_defaults()) -stairs.register_stair_and_slab("bamboo_wood", "ethereal:bamboo_floor", +stairs.register_stair_and_slab("bamboo_wood", "ethereal:bamboo_block", {snappy = 3, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3}, {"bamboo_floor.png"}, S("Bamboo stair"), @@ -248,7 +248,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, tree = 1}, + groups = {choppy = 3, oddly_breakable_by_hand = 1, flammable = 2},--tree = 1 sounds = default.node_sound_leaves_defaults(), after_dig_node = function(pos, node, metadata, digger) default.dig_up(pos, node, digger) |