Tweak grass/fern mapgen
This commit is contained in:
parent
6ca257891c
commit
aa9a36161f
|
@ -547,25 +547,44 @@ local function register_mgv6_decorations()
|
||||||
height_max = 3,
|
height_max = 3,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Tall grasses
|
-- Tall grass
|
||||||
|
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
place_on = {"mcl_core:dirt_with_grass"},
|
place_on = {"mcl_core:dirt_with_grass"},
|
||||||
sidelen = 8,
|
sidelen = 8,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0,
|
offset = 0,
|
||||||
scale = 0.05,
|
scale = 0.3,
|
||||||
spread = {x = 50, y = 50, z = 50},
|
spread = {x = 500, y = 500, z = 500},
|
||||||
seed = 420,
|
seed = 420,
|
||||||
octaves = 2,
|
octaves = 2,
|
||||||
persist = 0.6
|
persist = 0.6
|
||||||
},
|
},
|
||||||
y_min = 1,
|
y_min = 1,
|
||||||
y_max = 30,
|
y_max = 50,
|
||||||
decoration = "mcl_flowers:tallgrass",
|
decoration = "mcl_flowers:tallgrass",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Ferns
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"mcl_core:dirt_with_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
noise_params = {
|
||||||
|
offset = -0.013,
|
||||||
|
scale = 0.020,
|
||||||
|
spread = {x = 100, y = 100, z = 100},
|
||||||
|
seed = 16,
|
||||||
|
octaves = 4,
|
||||||
|
persist = 0.6
|
||||||
|
},
|
||||||
|
y_min = 1,
|
||||||
|
y_max = 30,
|
||||||
|
decoration = "mcl_flowers:fern",
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- Dead bushes
|
-- Dead bushes
|
||||||
|
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
|
|
|
@ -46,7 +46,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
flower = "mcl_flowers:dandelion"
|
flower = "mcl_flowers:dandelion"
|
||||||
minetest.set_node(p, {name=flower})
|
minetest.set_node(p, {name=flower})
|
||||||
elseif flower_choice == 2 then
|
elseif flower_choice == 2 then
|
||||||
flower = "mcl_flowers:fern"
|
flower = "mcl_flowers:tallgrass"
|
||||||
minetest.set_node(p, {name=flower})
|
minetest.set_node(p, {name=flower})
|
||||||
elseif flower_choice == 3 then
|
elseif flower_choice == 3 then
|
||||||
flower = "mcl_flowers:oxeye_daisy"
|
flower = "mcl_flowers:oxeye_daisy"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user