mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 09:31:07 +01:00
Generate more tall grass in v6
This commit is contained in:
parent
0d717dcb69
commit
12a43a25c8
1 changed files with 17 additions and 2 deletions
|
@ -861,7 +861,7 @@ local function register_mgv6_decorations()
|
||||||
offset = 0.01,
|
offset = 0.01,
|
||||||
scale = 0.3,
|
scale = 0.3,
|
||||||
spread = {x = 500, y = 500, z = 500},
|
spread = {x = 500, y = 500, z = 500},
|
||||||
seed = 420,
|
seed = 421,
|
||||||
octaves = 2,
|
octaves = 2,
|
||||||
persist = 0.6
|
persist = 0.6
|
||||||
},
|
},
|
||||||
|
@ -869,7 +869,22 @@ local function register_mgv6_decorations()
|
||||||
y_max = mcl_vars.overworld_max,
|
y_max = mcl_vars.overworld_max,
|
||||||
decoration = "mcl_flowers:tallgrass",
|
decoration = "mcl_flowers:tallgrass",
|
||||||
})
|
})
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"mcl_core:dirt_with_grass"},
|
||||||
|
sidelen = 8,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0.03,
|
||||||
|
scale = 0.03,
|
||||||
|
spread = {x = 400, y = 400, z = 400},
|
||||||
|
seed = 420,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.6
|
||||||
|
},
|
||||||
|
y_min = 1,
|
||||||
|
y_max = mcl_vars.overworld_max,
|
||||||
|
decoration = "mcl_flowers:tallgrass",
|
||||||
|
})
|
||||||
-- Add a small amount of tall grass everywhere to avoid areas completely empty devoid of tall grass
|
-- Add a small amount of tall grass everywhere to avoid areas completely empty devoid of tall grass
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
|
|
Loading…
Reference in a new issue