Made wood blocks and slabs follwo facedir so we can control which direction

the wood grain goes.
This commit is contained in:
Vanessa Ezekowitz 2012-12-24 14:26:06 -05:00
parent 9232734a48
commit d65ba7e2ff
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,