summaryrefslogtreecommitdiff
path: root/wood.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2015-07-10 09:04:07 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2015-07-10 09:04:07 +0100
commit426a30bb404ad1d85d8472769b71a4603ff48add (patch)
tree26c55f49649658cb6dc3b406962379db3a9b2fd6 /wood.lua
parent2af5026c6e36220a20428a2cff58941c3c290157 (diff)
Trunks not use 6-way rotation
Diffstat (limited to 'wood.lua')
-rw-r--r--wood.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/wood.lua b/wood.lua
index f17e249..80d7c66 100644
--- a/wood.lua
+++ b/wood.lua
@@ -11,6 +11,7 @@ minetest.register_node("ethereal:acacia_trunk", {
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
+ on_place = minetest.rotate_node,
})
-- Acacia Wood
@@ -38,6 +39,7 @@ minetest.register_node("ethereal:willow_trunk", {
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
+ on_place = minetest.rotate_node,
})
-- Willow Wood
@@ -65,6 +67,7 @@ minetest.register_node("ethereal:redwood_trunk", {
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
+ on_place = minetest.rotate_node,
})
-- Redwood Wood
@@ -92,6 +95,7 @@ minetest.register_node("ethereal:frost_tree", {
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
+ on_place = minetest.rotate_node,
})
-- Frost Wood
@@ -119,6 +123,7 @@ minetest.register_node("ethereal:yellow_trunk", {
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, put_out_fire = 1},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
+ on_place = minetest.rotate_node,
})
-- Healing Wood
@@ -146,6 +151,7 @@ minetest.register_node("ethereal:palm_trunk", {
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
+ on_place = minetest.rotate_node,
})
-- Palm Wood
@@ -173,6 +179,7 @@ minetest.register_node("ethereal:banana_trunk", {
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
+ on_place = minetest.rotate_node,
})
-- Banana Tree Wood
@@ -200,6 +207,7 @@ minetest.register_node("ethereal:scorched_tree", {
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 1},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
+ on_place = minetest.rotate_node,
})
minetest.register_craft({
@@ -222,4 +230,5 @@ minetest.register_node("ethereal:mushroom_trunk", {
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
sounds = default.node_sound_wood_defaults(),
paramtype2 = "facedir",
+ on_place = minetest.rotate_node,
}) \ No newline at end of file