Merge pull request #14 from sirrobzeroone/master

Add "names" to register_decoration
master
JDiaz 2021-03-12 16:30:56 +01:00 committed by GitHub
commit f195e17ffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 19 additions and 0 deletions

View File

@ -25,6 +25,7 @@ end
--
if mg_name ~= "v6" and mg_name ~= "singlenode" then
name = "baldcypress:baldcypress_tree",
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:sand"},

View File

@ -115,6 +115,7 @@ end
--
minetest.register_decoration({
name = "bamboo:bamboo_tree",
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
sidelen = 16,

View File

@ -104,6 +104,7 @@ else
end
minetest.register_decoration({
name = "birch:birch_tree",
deco_type = "schematic",
place_on = {place_on},
sidelen = 16,

View File

@ -70,6 +70,7 @@ end
if mg_name ~= "v6" and mg_name ~= "singlenode" then
minetest.register_decoration({
name = "cherrytree:cherry_tree",
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
sidelen = 16,

View File

@ -86,6 +86,7 @@ if mg_name ~= "v6" and mg_name ~= "singlenode" then
end
minetest.register_decoration({
name = "chestnuttree:chestnut_tree",
deco_type = "schematic",
place_on = {place_on},
sidelen = 16,

View File

@ -50,6 +50,7 @@ end
if mg_name ~= "v6" and mg_name ~= "singlenode" then
minetest.register_decoration({
name = "clementinetree:clementine_tree",
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
sidelen = 16,

View File

@ -27,6 +27,7 @@ end
if mg_name ~= "v6" and mg_name ~= "singlenode" then
minetest.register_decoration({
name = "ebony:ebony_tree",
deco_type = "schematic",
place_on = {"default:dirt_with_rainforest_litter"},
sidelen = 16,

View File

@ -44,6 +44,7 @@ if mg_name ~= "v6" and mg_name ~= "singlenode" then
end
minetest.register_decoration({
name = "hollytree:holly_tree",
deco_type = "schematic",
place_on = {place_on},
sidelen = 16,

View File

@ -26,6 +26,7 @@ end
if mg_name ~= "v6" and mg_name ~= "singlenode" then
minetest.register_decoration({
name = "jacaranda:jacaranda_tree",
deco_type = "schematic",
place_on = {"default:dirt_with_rainforest_litter"},
sidelen = 16,

View File

@ -26,6 +26,7 @@ end
if mg_name ~= "v6" and mg_name ~= "singlenode" then
minetest.register_decoration({
name = "larch:larch_tree",
deco_type = "schematic",
place_on = {"default:dirt_with_coniferous_litter"},
sidelen = 16,

View File

@ -69,6 +69,7 @@ end
if mg_name ~= "v6" and mg_name ~= "singlenode" then
minetest.register_decoration({
name = "lemontree:lemon_tree",
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
sidelen = 16,

View File

@ -28,6 +28,7 @@ end
if mg_name ~= "v6" and mg_name ~= "singlenode" then
minetest.register_decoration({
name = "mahogany:mahogany_tree",
deco_type = "schematic",
place_on = {"default:dirt_with_rainforest_litter"},
sidelen = 16,

View File

@ -40,6 +40,7 @@ if mg_name ~= "v6" and mg_name ~= "singlenode" then
end
minetest.register_decoration({
name = "maple:maple_tree",
deco_type = "schematic",
place_on = {place_on},
sidelen = 16,

View File

@ -65,6 +65,7 @@ if mg_name ~= "v6" and mg_name ~= "singlenode" then
end
minetest.register_decoration({
name = "oak:oak_tree",
deco_type = "schematic",
place_on = {place_on},
sidelen = 16,

View File

@ -22,6 +22,7 @@ end
--
minetest.register_decoration({
name = "palm:palm_tree",
deco_type = "schematic",
place_on = {"default:sand"},
sidelen = 16,

View File

@ -27,6 +27,7 @@ end
if mg_name ~= "v6" and mg_name ~= "singlenode" then
minetest.register_decoration({
name = "pineapple:pineapple_shrub",
deco_type = "schematic",
place_on = {"default:dirt_with_rainforest_litter"},
sidelen = 16,

View File

@ -88,6 +88,7 @@ if minetest.get_modpath("rainf") then
end
minetest.register_decoration({
name = "plumtree:plum_tree",
deco_type = "schematic",
place_on = {place_on},
sidelen = 16,

View File

@ -50,6 +50,7 @@ end
if mg_name ~= "v6" and mg_name ~= "singlenode" then
minetest.register_decoration({
name = "pomegranate:pomegranate_tree",
deco_type = "schematic",
place_on = {"default:dry_dirt"},
sidelen = 16,

View File

@ -27,6 +27,7 @@ end
if mg_name ~= "v6" and mg_name ~= "singlenode" then
minetest.register_decoration({
name = "willow:willow_tree",
deco_type = "schematic",
place_on = {"default:dirt"},
sidelen = 16,