bamboo stuff

This commit is contained in:
D00Med 2017-02-13 16:29:16 +10:00
parent 0ef506e472
commit 0a6b61caac
5 changed files with 24 additions and 1 deletions

View File

@ -77,8 +77,10 @@ minetest.register_node("decoblocks:bamboo_block", {
"decoblocks_bamboo_top.png", "decoblocks_bamboo_top.png",
"decoblocks_bamboo.png", "decoblocks_bamboo.png",
}, },
groups = {choppy = 1, oddly_breakable_by_hand = 2}, groups = {choppy = 1, oddly_breakable_by_hand = 2, wood=1},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
on_place = minetest.rotate_node
}) })
minetest.register_node("decoblocks:old_stone_tiles", { minetest.register_node("decoblocks:old_stone_tiles", {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 597 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 B

After

Width:  |  Height:  |  Size: 214 B

View File

@ -573,9 +573,23 @@ minetest.register_node("mapgen:bamboo", {
{-0.1875, -0.5, -0.1875, 0.1875, 0.5, 0.1875}, {-0.1875, -0.5, -0.1875, 0.1875, 0.5, 0.1875},
} }
}, },
collision_box = {
type = "fixed",
fixed = {
{-0.1875, -0.5, -0.1875, 0.1875, 0.5, 0.1875},
}
},
walkable = true, walkable = true,
}) })
minetest.register_craft( {
output = "decoblocks:bamboo_block 4",
recipe = {
{ "mapgen:bamboo", "mapgen:bamboo",},
{ "mapgen:bamboo", "mapgen:bamboo",}
}
})
minetest.register_node("mapgen:bamboo_leaves", { minetest.register_node("mapgen:bamboo_leaves", {
description = "Bamboo Leaves", description = "Bamboo Leaves",
drawtype = "firelike", drawtype = "firelike",
@ -620,6 +634,13 @@ minetest.register_node("mapgen:bamboo_with_leaves", {
{-0.1875, -0.5, -0.1875, 0.1875, 0.5, 0.1875}, {-0.1875, -0.5, -0.1875, 0.1875, 0.5, 0.1875},
} }
}, },
collision_box = {
type = "fixed",
fixed = {
{-0.1875, -0.5, -0.1875, 0.1875, 0.5, 0.1875},
}
},
drop = "mapgen:bamboo"
}) })
minetest.register_node("mapgen:flame_lily", { minetest.register_node("mapgen:flame_lily", {

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB