Add flowers as decorations
parent
e71f35c2e4
commit
5ee9720838
|
@ -61,17 +61,6 @@ minetest.register_decoration({
|
|||
height_max = 5,
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_snow","default:snowblock"},
|
||||
sidelen = 40,
|
||||
fill_ratio = 0.001,
|
||||
biomes = {"mtn_top"},
|
||||
y_min = 300,
|
||||
y_max = 32000,
|
||||
decoration = "flowers:magic",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"mg:dirt_with_dry_grass"},
|
||||
|
@ -214,6 +203,66 @@ minetest.register_decoration({
|
|||
decoration = "default:grass_5",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.02,
|
||||
scale = 0.09,
|
||||
spread = {x=200, y=200, z=200},
|
||||
seed = 329,
|
||||
octaves = 4,
|
||||
persist = 0.8
|
||||
},
|
||||
biomes = {
|
||||
"forest",
|
||||
},
|
||||
y_min = 3,
|
||||
y_max = 155,
|
||||
decoration = "default:grass_5",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.03,
|
||||
scale = 0.1,
|
||||
spread = {x=200, y=200, z=200},
|
||||
seed = 329,
|
||||
octaves = 3,
|
||||
persist = 0.8
|
||||
},
|
||||
biomes = {
|
||||
"forest",
|
||||
},
|
||||
y_min = 3,
|
||||
y_max = 155,
|
||||
decoration = "default:grass_5",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = -0.03,
|
||||
scale = 0.1,
|
||||
spread = {x=200, y=200, z=200},
|
||||
seed = 322,
|
||||
octaves = 3,
|
||||
persist = 0.8
|
||||
},
|
||||
biomes = {
|
||||
"forest",
|
||||
},
|
||||
y_min = 3,
|
||||
y_max = 155,
|
||||
decoration = "default:grass_5",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
|
|
|
@ -0,0 +1,79 @@
|
|||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_snow","default:snowblock"},
|
||||
sidelen = 40,
|
||||
fill_ratio = 0.001,
|
||||
biomes = {"mtn_top"},
|
||||
y_min = 300,
|
||||
y_max = 32000,
|
||||
decoration = "flowers:magic",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 40,
|
||||
fill_ratio = 0.005,
|
||||
biomes = {
|
||||
"plains",
|
||||
"forest",
|
||||
},
|
||||
y_min = 0,
|
||||
y_max = 155,
|
||||
decoration = {"flowers:dandelion_white","flowers:dandelion_yellow"},
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 40,
|
||||
fill_radio = 0.003,
|
||||
biomes = {
|
||||
"plains",
|
||||
"forest",
|
||||
"hot_plains"
|
||||
},
|
||||
y_min = 0,
|
||||
y_max = 155,
|
||||
decoration = "flowers:geranium",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.006,
|
||||
biomes = {
|
||||
"plains"
|
||||
},
|
||||
y_min = 0,
|
||||
y_max = 155,
|
||||
decoration = "flowers:rose",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
fill_ratio = 0.004,
|
||||
biomes = {
|
||||
"plains",
|
||||
"hot_plains",
|
||||
},
|
||||
y_min = 0,
|
||||
y_max = 155,
|
||||
decoration = "flowers:tulip",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
place_on = {"default:dirt_with_grass"},
|
||||
sidelen = 16,
|
||||
fill_raiot = 0.003,
|
||||
biomes = {
|
||||
"plains",
|
||||
},
|
||||
y_min = 0,
|
||||
y_max = 155,
|
||||
decoration = "flowers:viola",
|
||||
})
|
|
@ -43,6 +43,7 @@ c_papyrus = minetest.get_content_id("default:papyrus")
|
|||
dofile(mgpath.."/trees.lua")
|
||||
dofile(mgpath.."/biomes.lua")
|
||||
dofile(mgpath.."/decorations.lua")
|
||||
dofile(mgpath.."/flowers.lua")
|
||||
dofile(mgpath.."/villages.lua")
|
||||
dofile(mgpath.."/fill_chests.lua")
|
||||
dofile(mgpath.."/dungeons.lua")
|
||||
|
|
Loading…
Reference in New Issue