From 36538599614e3e1291b292d50cd1335fdf8338c1 Mon Sep 17 00:00:00 2001 From: 4Evergreen4 Date: Thu, 7 Nov 2013 11:48:00 -0500 Subject: [PATCH] Add 6d facedir to logs. --- mods/default/functions.lua | 1 + mods/default/nodes.lua | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/mods/default/functions.lua b/mods/default/functions.lua index 7f4492cb..8a173ef2 100644 --- a/mods/default/functions.lua +++ b/mods/default/functions.lua @@ -356,3 +356,4 @@ minetest.register_abm({ end end }) + diff --git a/mods/default/nodes.lua b/mods/default/nodes.lua index 7ec97b73..03e8f5b6 100644 --- a/mods/default/nodes.lua +++ b/mods/default/nodes.lua @@ -227,15 +227,19 @@ minetest.register_node("default:brick", { minetest.register_node("default:tree", { description = "Tree", tiles = {"default_tree_top.png", "default_tree_top.png", "default_tree.png"}, + paramtype2 = "facedir", groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2}, sounds = default.node_sound_wood_defaults(), + on_place = minetest.rotate_node }) minetest.register_node("default:jungletree", { description = "Jungle Tree", tiles = {"default_jungletree_top.png", "default_jungletree_top.png", "default_jungletree.png"}, + paramtype2 = "facedir", groups = {tree=1,choppy=2,oddly_breakable_by_hand=1,flammable=2}, sounds = default.node_sound_wood_defaults(), + on_place = minetest.rotate_node }) minetest.register_node("default:junglewood", { -- 2.25.1