Support for Maple mod from Duvalon.
This commit is contained in:
parent
9d4721a80f
commit
0380307e05
15
trees.lua
15
trees.lua
@ -147,10 +147,17 @@ if minetest.get_modpath("mahogany") or minetest.get_modpath("hades_mahogany") th
|
||||
})
|
||||
end
|
||||
if minetest.get_modpath("maple") or minetest.get_modpath("hades_maple") then
|
||||
add_tree("maple", {
|
||||
desc = S("Maple Tree"),
|
||||
tree_node = "maple:trunk",
|
||||
})
|
||||
if minetest.registered_nodes["maple:trunk"] then
|
||||
add_tree("maple", {
|
||||
desc = S("Maple Tree"),
|
||||
tree_node = "maple:trunk",
|
||||
})
|
||||
else
|
||||
add_tree("maple", {
|
||||
desc = S("Maple Tree"),
|
||||
tree_node = "maple:maple_tree",
|
||||
})
|
||||
end
|
||||
end
|
||||
if minetest.get_modpath("oak") or minetest.get_modpath("hades_oak") then
|
||||
add_tree("oak", {
|
||||
|
Loading…
x
Reference in New Issue
Block a user