Add blueberry bushes

This commit is contained in:
random-geek
2018-10-09 12:54:22 -07:00
committed by Paramat
parent 2696b0cd91
commit ab1a79b13c
13 changed files with 162 additions and 2 deletions

View File

@ -1964,6 +1964,29 @@ function default.register_decorations()
flags = "place_center_x, place_center_z",
})
-- Blueberry bush
minetest.register_decoration({
name = "default:blueberry_bush",
deco_type = "schematic",
place_on = {"default:dirt_with_grass", "default:dirt_with_snow"},
sidelen = 16,
noise_params = {
offset = -0.004,
scale = 0.01,
spread = {x = 100, y = 100, z = 100},
seed = 697,
octaves = 3,
persist = 0.7,
},
biomes = {"grassland", "snowy_grassland"},
y_max = 31000,
y_min = 1,
place_offset_y = 1,
schematic = minetest.get_modpath("default") .. "/schematics/blueberry_bush.mts",
flags = "place_center_x, place_center_z",
})
-- Acacia bush
minetest.register_decoration({