forked from mtcontrib/moretrees
Forgot to manually define sideways jungle tree trunks.
This commit is contained in:
parent
9e3222e451
commit
0380556e71
@ -37,6 +37,22 @@ for i in ipairs(moretrees.treelist) do
|
|||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_node("moretrees:"..treename.."_trunk_sideways", {
|
||||||
|
description = "Sideways "..treedesc.." Trunk",
|
||||||
|
tiles = {
|
||||||
|
"moretrees_"..treename.."_trunk.png^[transformR90",
|
||||||
|
"moretrees_"..treename.."_trunk.png^[transformR90",
|
||||||
|
"moretrees_"..treename.."_trunk_top.png",
|
||||||
|
"moretrees_"..treename.."_trunk_top.png",
|
||||||
|
"moretrees_"..treename.."_trunk.png^[transformR90",
|
||||||
|
"moretrees_"..treename.."_trunk.png^[transformR90"
|
||||||
|
},
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {tree=1,snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_node("moretrees:"..treename.."_planks", {
|
minetest.register_node("moretrees:"..treename.."_planks", {
|
||||||
description = treedesc.." Planks",
|
description = treedesc.." Planks",
|
||||||
tiles = {"moretrees_"..treename.."_wood.png"},
|
tiles = {"moretrees_"..treename.."_wood.png"},
|
||||||
@ -102,22 +118,6 @@ for i in ipairs(moretrees.treelist) do
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node("moretrees:"..treename.."_trunk_sideways", {
|
|
||||||
description = "Sideways "..treedesc.." Trunk",
|
|
||||||
tiles = {
|
|
||||||
"moretrees_"..treename.."_trunk.png^[transformR90",
|
|
||||||
"moretrees_"..treename.."_trunk.png^[transformR90",
|
|
||||||
"moretrees_"..treename.."_trunk_top.png",
|
|
||||||
"moretrees_"..treename.."_trunk_top.png",
|
|
||||||
"moretrees_"..treename.."_trunk.png^[transformR90",
|
|
||||||
"moretrees_"..treename.."_trunk.png^[transformR90"
|
|
||||||
},
|
|
||||||
is_ground_content = true,
|
|
||||||
groups = {tree=1,snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
|
||||||
sounds = default.node_sound_wood_defaults(),
|
|
||||||
paramtype2 = "facedir",
|
|
||||||
})
|
|
||||||
|
|
||||||
table.insert(moretrees.avoidnodes, "moretrees:"..treename.."_trunk")
|
table.insert(moretrees.avoidnodes, "moretrees:"..treename.."_trunk")
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -144,6 +144,24 @@ for color = 1, 3 do
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- sideways jungle tree trunk:
|
||||||
|
|
||||||
|
minetest.register_node("moretrees:jungletree_trunk_sideways", {
|
||||||
|
description = "Sideways Jungle Tree Trunk",
|
||||||
|
tiles = {
|
||||||
|
"default_jungletree.png^[transformR90",
|
||||||
|
"default_jungletree.png^[transformR90",
|
||||||
|
"default_jungletree_top.png",
|
||||||
|
"default_jungletree_top.png",
|
||||||
|
"default_jungletree.png^[transformR90",
|
||||||
|
"default_jungletree.png^[transformR90"
|
||||||
|
},
|
||||||
|
is_ground_content = true,
|
||||||
|
groups = {tree=1,snappy=1,choppy=2,oddly_breakable_by_hand=1,flammable=2},
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
})
|
||||||
|
|
||||||
-- Extra needles for firs
|
-- Extra needles for firs
|
||||||
|
|
||||||
minetest.register_node("moretrees:fir_leaves_bright", {
|
minetest.register_node("moretrees:fir_leaves_bright", {
|
||||||
|
Loading…
Reference in New Issue
Block a user