bamboo fence
This commit is contained in:
parent
c5f39a702e
commit
dde4eb4581
@ -1,3 +1,47 @@
|
||||
minetest.register_node("decoblocks:bamboo_fence", {
|
||||
description = "Bamboo",
|
||||
tiles = {
|
||||
"decoblocks_bamboo_fence_top.png",
|
||||
"decoblocks_bamboo_fence_top.png",
|
||||
"decoblocks_bamboo_fence.png",
|
||||
},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
connects_to = {"group:fence", "group:wood", "group:stone"},
|
||||
node_box = {
|
||||
type = "connected",
|
||||
fixed = {
|
||||
{-0.125, -0.5, -0.125, 0.125, 0.5, 0.125}, -- NodeBox1
|
||||
},
|
||||
connect_back = {
|
||||
{-0.125, -0.5, -0.125, 0.125, 0.5, 0.125}, -- NodeBox1
|
||||
{-0.0625, 0.25, -0.0625, 0.0625, 0.375, 0.5}, -- NodeBox2
|
||||
{-0.0625, -0.0625, -0.0625, 0.0625, 0.0625, 0.5}, -- NodeBox3
|
||||
{-0.0625, -0.375, -0.0625, 0.0625, -0.25, 0.5}, -- NodeBox4
|
||||
},
|
||||
connect_front = {
|
||||
{-0.125, -0.5, -0.125, 0.125, 0.5, 0.125}, -- NodeBox1
|
||||
{-0.0625, 0.25, -0.5, 0.0625, 0.375, 0.0625}, -- NodeBox2
|
||||
{-0.0625, -0.0625, -0.5, 0.0625, 0.0625, 0.0625}, -- NodeBox3
|
||||
{-0.0625, -0.375, -0.5, 0.0625, -0.25, 0.0625}, -- NodeBox4
|
||||
},
|
||||
connect_left = {
|
||||
{-0.125, -0.5, -0.125, 0.125, 0.5, 0.125}, -- NodeBox1
|
||||
{-0.5, 0.25, -0.0625, 0.0625, 0.375, 0.0625}, -- NodeBox2
|
||||
{-0.5, -0.0625, -0.0625, 0.0625, 0.0625, 0.0625}, -- NodeBox3
|
||||
{-0.5, -0.375, -0.0625, 0.0625, -0.25, 0.0625}, -- NodeBox4
|
||||
},
|
||||
connect_right = {
|
||||
{-0.125, -0.5, -0.125, 0.125, 0.5, 0.125}, -- NodeBox1
|
||||
{0, 0.25, -0.0625, 0.5, 0.375, 0.0625}, -- NodeBox2
|
||||
{0, -0.0625, -0.0625, 0.5, 0.0625, 0.0625}, -- NodeBox3
|
||||
{0, -0.375, -0.0625, 0.5, -0.25, 0.0625}, -- NodeBox4
|
||||
}
|
||||
},
|
||||
groups = {choppy=1, oddly_breakable_by_hand=1, fence=1},
|
||||
sounds = default.node_sound_wood_defaults()
|
||||
})
|
||||
|
||||
minetest.register_node("decoblocks:sandstone_wall", {
|
||||
description = "Painted Sandstone Wall",
|
||||
tiles = {
|
||||
|
BIN
mods/decoblocks/textures/decoblocks_bamboo_fence.png
Normal file
BIN
mods/decoblocks/textures/decoblocks_bamboo_fence.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 482 B |
BIN
mods/decoblocks/textures/decoblocks_bamboo_fence_top.png
Normal file
BIN
mods/decoblocks/textures/decoblocks_bamboo_fence_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 759 B |
@ -504,7 +504,7 @@ minetest.register_node("default:furnace2", {
|
||||
groups = {cracky=2},
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_metal_defaults(),
|
||||
|
||||
can_dig = can_dig,
|
||||
|
||||
@ -564,7 +564,7 @@ minetest.register_node("default:furnace_active2", {
|
||||
groups = {cracky=2, not_in_creative_inventory=1},
|
||||
legacy_facedir_simple = true,
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = default.node_sound_metal_defaults(),
|
||||
on_timer = furnace_node_timer_advanced,
|
||||
|
||||
can_dig = can_dig,
|
||||
|
Loading…
x
Reference in New Issue
Block a user