mirror of
https://github.com/minetest/minetest_game.git
synced 2025-06-30 05:40:24 +02:00
Biomes: Add pine bush to taiga and snowy grassland
Replaces 'bush' in snowy grassland.
This commit is contained in:
@ -1946,7 +1946,7 @@ function default.register_decorations()
|
||||
minetest.register_decoration({
|
||||
name = "default:bush",
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_grass", "default:dirt_with_snow"},
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
@ -1956,7 +1956,7 @@ function default.register_decorations()
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"snowy_grassland", "grassland", "deciduous_forest",
|
||||
biomes = {"grassland", "deciduous_forest",
|
||||
"floatland_grassland"},
|
||||
y_max = 31000,
|
||||
y_min = 1,
|
||||
@ -1986,6 +1986,28 @@ function default.register_decorations()
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- Pine bush
|
||||
|
||||
minetest.register_decoration({
|
||||
name = "default:pine_bush",
|
||||
deco_type = "schematic",
|
||||
place_on = {"default:dirt_with_snow"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.004,
|
||||
scale = 0.01,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 137,
|
||||
octaves = 3,
|
||||
persist = 0.7,
|
||||
},
|
||||
biomes = {"taiga", "snowy_grassland"},
|
||||
y_max = 31000,
|
||||
y_min = 4,
|
||||
schematic = minetest.get_modpath("default") .. "/schematics/pine_bush.mts",
|
||||
flags = "place_center_x, place_center_z",
|
||||
})
|
||||
|
||||
-- Grasses
|
||||
|
||||
register_grass_decoration(-0.03, 0.09, 5)
|
||||
|
Reference in New Issue
Block a user