Less cherry logs into deciduous forest

This commit is contained in:
sys4-fr 2017-12-02 00:07:40 +01:00
parent 4e7fe6c357
commit a62076eb19
1 changed files with 26 additions and 4 deletions

View File

@ -214,6 +214,7 @@ minetest.register_biome(
-- Decoration -- Decoration
-- Cherry tree and log -- Cherry tree and log
-- Cherry trees
minetest.register_decoration( minetest.register_decoration(
{ {
deco_type = "schematic", deco_type = "schematic",
@ -255,9 +256,6 @@ minetest.register_decoration(
}, },
biomes = { biomes = {
"deciduous_forest", "deciduous_forest",
"cherry_blossom_forest",
"cherry_blossom_forest_floral",
"cherry_blossom_forest_grassy"
}, },
y_min = 1, y_min = 1,
y_max = 31000, y_max = 31000,
@ -267,6 +265,7 @@ minetest.register_decoration(
rotation = "random", rotation = "random",
}) })
-- cherry logs
minetest.register_decoration( minetest.register_decoration(
{ {
deco_type = "schematic", deco_type = "schematic",
@ -281,7 +280,6 @@ minetest.register_decoration(
persist = 0.66 persist = 0.66
}, },
biomes = { biomes = {
"deciduous_forest",
"cherry_blossom_forest", "cherry_blossom_forest",
"cherry_blossom_forest_floral", "cherry_blossom_forest_floral",
"cherry_blossom_forest_grassy" "cherry_blossom_forest_grassy"
@ -294,6 +292,30 @@ minetest.register_decoration(
rotation = "random", rotation = "random",
}) })
minetest.register_decoration(
{
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0.0004,
scale = 0.0003,
spread = {x = 250, y = 250, z = 250},
seed = 3,
octaves = 3,
persist = 0.66
},
biomes = {
"deciduous_forest",
},
y_min = 1,
y_max = 31000,
schematic = minetest.get_modpath("cherry_tree") ..
"/schematics/cherry_log.mts",
flags = "place_center_x",
rotation = "random",
})
if minetest.get_modpath("doors") then if minetest.get_modpath("doors") then
-- Door from BFD: Cherry planks doors -- Door from BFD: Cherry planks doors
doors.register( doors.register(