summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-11-01 14:43:06 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-11-01 14:43:06 +0000
commitb29634b3632aebe6c21d035884ed454cfd7ce77a (patch)
treeee3aa86bfdee090a2a7981b8ffff1b69f803b35b
parent80bd5dfebfb4b607f8d4aa842934b2b24e9b0f51 (diff)
change bamboo floor recipe and add bamboo block
-rw-r--r--README.md1
-rw-r--r--extra.lua31
-rw-r--r--stairs.lua6
-rw-r--r--wood.lua2
4 files changed, 33 insertions, 7 deletions
diff --git a/README.md b/README.md
index 6d0a07a..25e1a2c 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/extra.lua b/extra.lua
index d54a881..51a6c71 100644
--- a/extra.lua
+++ b/extra.lua
@@ -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"},
}
})
diff --git a/stairs.lua b/stairs.lua
index e0eb175..3e6c155 100644
--- a/stairs.lua
+++ b/stairs.lua
@@ -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"),
diff --git a/wood.lua b/wood.lua
index 3e63846..63d729a 100644
--- a/wood.lua
+++ b/wood.lua
@@ -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)