continued to tune fence textures and shapes.

This commit is contained in:
Vanessa Ezekowitz 2012-09-30 18:09:54 -04:00
parent 719916aa9c
commit fcd9d457ab
10 changed files with 73 additions and 27 deletions

View File

@ -35,9 +35,16 @@ minetest.register_node("homedecor:fence_wrought_iron", {
}) })
minetest.register_node("homedecor:fence_picket", { minetest.register_node("homedecor:fence_picket", {
drawtype = "signlike", drawtype = "nodebox",
description = "Unpainted Picket Fence", description = "Unpainted Picket Fence",
tiles = {"homedecor_fence_picket.png"}, tiles = {
"homedecor_fence_picket.png",
"homedecor_fence_picket.png",
"homedecor_fence_picket.png",
"homedecor_fence_picket.png",
"homedecor_fence_picket_backside.png",
"homedecor_fence_picket.png"
},
inventory_image = "homedecor_fence_picket.png", inventory_image = "homedecor_fence_picket.png",
wield_image = "homedecor_fence_picket.png", wield_image = "homedecor_fence_picket.png",
paramtype = "light", paramtype = "light",
@ -45,16 +52,28 @@ minetest.register_node("homedecor:fence_picket", {
groups = {snappy=3}, groups = {snappy=3},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
walkable = true, walkable = true,
paramtype2 = 'wallmounted', paramtype2 = "facedir",
selection_box = { selection_box = {
type = "wallmounted", type = "fixed",
}, fixed = { -0.5, -0.5, 0.4, 0.5, 0.5, 0.5 }
},
node_box = {
type = "fixed",
fixed = { -0.5, -0.5, 0.495, 0.5, 0.5, 0.495 }
},
}) })
minetest.register_node("homedecor:fence_picket_white", { minetest.register_node("homedecor:fence_picket_white", {
drawtype = "signlike", drawtype = "nodebox",
description = "White Picket Fence", description = "White Picket Fence",
tiles = {"homedecor_fence_picket_white.png"}, tiles = {
"homedecor_fence_picket_white.png",
"homedecor_fence_picket_white.png",
"homedecor_fence_picket_white.png",
"homedecor_fence_picket_white.png",
"homedecor_fence_picket_white_backside.png",
"homedecor_fence_picket_white.png"
},
inventory_image = "homedecor_fence_picket_white.png", inventory_image = "homedecor_fence_picket_white.png",
wield_image = "homedecor_fence_picket_white.png", wield_image = "homedecor_fence_picket_white.png",
paramtype = "light", paramtype = "light",
@ -62,43 +81,70 @@ minetest.register_node("homedecor:fence_picket_white", {
groups = {snappy=3}, groups = {snappy=3},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
walkable = true, walkable = true,
paramtype2 = 'wallmounted', paramtype2 = "facedir",
selection_box = { selection_box = {
type = "wallmounted", type = "fixed",
}, fixed = { -0.5, -0.5, 0.4, 0.5, 0.5, 0.5 }
},
node_box = {
type = "fixed",
fixed = { -0.5, -0.5, 0.495, 0.5, 0.5, 0.495 }
},
}) })
minetest.register_node("homedecor:fence_privacy", { minetest.register_node("homedecor:fence_privacy", {
drawtype = "signlike", drawtype = "nodebox",
description = "Wooden Privacy Fence", description = "Wooden Privacy Fence",
tiles = {"homedecor_fence_privacy.png"}, tiles = {
inventory_image = "homedecor_fence_privacy.png", "homedecor_fence_privacy_tb.png",
wield_image = "homedecor_fence_privacy.png", "homedecor_fence_privacy_tb.png",
"homedecor_fence_privacy_sides.png",
"homedecor_fence_privacy_sides.png",
"homedecor_fence_privacy_backside.png",
"homedecor_fence_privacy_front.png"
},
paramtype = "light", paramtype = "light",
is_ground_content = true, is_ground_content = true,
groups = {snappy=3}, groups = {snappy=3},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
walkable = true, walkable = true,
paramtype2 = 'wallmounted', paramtype2 = "facedir",
selection_box = { selection_box = {
type = "wallmounted", type = "fixed",
}, fixed = { -0.5, -0.5, 5/16, 0.5, 0.5, 8/16 }
},
node_box = {
type = "fixed",
fixed = {
{ -8/16, -8/16, 5/16, -5/16, 8/16, 7/16 }, -- left part
{ -4/16, -8/16, 5/16, 3/16, 8/16, 7/16 }, -- middle part
{ 4/16, -8/16, 5/16, 8/16, 8/16, 7/16 }, -- right part
{ -8/16, -2/16, 7/16, 8/16, 2/16, 8/16 }, -- connecting rung
}
},
}) })
minetest.register_node("homedecor:fence_barbed_wire", { minetest.register_node("homedecor:fence_barbed_wire", {
drawtype = "signlike", drawtype = "nodebox",
description = "Barbed Wire Fence", description = "Barbed Wire Fence",
tiles = {"homedecor_fence_barbed_wire.png"}, tiles = {"homedecor_fence_barbed_wire.png"},
inventory_image = "homedecor_fence_barbed_wire.png",
wield_image = "homedecor_fence_barbed_wire.png",
paramtype = "light", paramtype = "light",
is_ground_content = true, is_ground_content = true,
groups = {snappy=3}, groups = {snappy=3},
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
walkable = true, walkable = true,
paramtype2 = 'wallmounted', paramtype2 = "facedir",
selection_box = { selection_box = {
type = "wallmounted", type = "fixed",
}, fixed = { -0.5, -0.5, 0.375, 0.5, 0.5, 0.5 }
},
node_box = {
type = "fixed",
fixed = {
{ -8/16, -8/16, 6/16, -6/16, 8/16, 8/16 }, -- left post
{ 6/16, -8/16, 6/16, 8/16, 8/16, 8/16 }, -- right post
{ -6/16, -8/16, 7/16, 6/16, 8/16, 7/16 } -- the wire
}
},
}) })

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 522 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B