Made wood blocks and slabs respect facedir, so we can control which way the

wood grain goes.
This commit is contained in:
Vanessa Ezekowitz 2012-12-24 14:18:28 -05:00
parent 9a509790a9
commit f4f746e044
2 changed files with 3 additions and 0 deletions

View File

@ -1046,6 +1046,7 @@ minetest.register_node("default:wood", {
is_ground_content = true,
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=3,wood=1},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir"
})
minetest.register_node("default:cloud", {

View File

@ -87,6 +87,7 @@ function stairs.register_slab(subname, recipeitem, groups, images, description,
drawtype = "nodebox",
tiles = images,
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
groups = groups,
sounds = sounds,
@ -183,6 +184,7 @@ function stairs.register_slab(subname, recipeitem, groups, images, description,
drawtype = "nodebox",
tiles = images,
paramtype = "light",
paramtype2 = "facedir",
is_ground_content = true,
groups = groups,
sounds = sounds,