added bakedclay plants to mapgen

This commit is contained in:
TenPlus1 2016-11-24 10:49:24 +00:00
parent 438ace057d
commit bc9f4b059d
3 changed files with 85 additions and 1 deletions

View File

@ -16,6 +16,7 @@ Ethereal Mapgen mod for Minetest (works on all except v6)
- Bonemeal changes to suit new sapling growth - Bonemeal changes to suit new sapling growth
- Fixes and tweaks - Fixes and tweaks
- Added default Abm overrides - Added default Abm overrides
- Added 4 new plants from baked clay mod to mapgen
### 1.20 ### 1.20

View File

@ -562,3 +562,86 @@ minetest.register_on_generated(function(minp, maxp)
end end
end end
end) end)
-- is baked clay mod active? add new flowers if so
if minetest.get_modpath("bakedclay") then
minetest.register_decoration({
deco_type = "simple",
place_on = {
"ethereal:prairie_grass", "ethereal:green_dirt",
"ethereal:grove_dirt"
},
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.004,
spread = {x = 100, y = 100, z = 100},
seed = 7133,
octaves = 3,
persist = 0.6
},
y_min = 10,
y_max = 90,
decoration = "bakedclay:delphinium",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {
"ethereal:prairie_grass", "ethereal:green_dirt",
"ethereal:grove_dirt", "ethereal:bamboo_dirt"
},
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.004,
spread = {x = 100, y = 100, z = 100},
seed = 7134,
octaves = 3,
persist = 0.6
},
y_min = 15,
y_max = 90,
decoration = "bakedclay:thistle",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"ethereal:jungle_dirt"},
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.01,
spread = {x = 100, y = 100, z = 100},
seed = 7135,
octaves = 3,
persist = 0.6
},
y_min = 1,
y_max = 90,
decoration = "bakedclay:lazarus",
spawn_by = "default:jungletree",
num_spawn_by = 1,
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"ethereal:green_dirt", "default:sand"},
sidelen = 16,
noise_params = {
offset = 0,
scale = 0.009,
spread = {x = 100, y = 100, z = 100},
seed = 7136,
octaves = 3,
persist = 0.6
},
y_min = 1,
y_max = 15,
decoration = "bakedclay:mannagrass",
spawn_by = "group:water",
num_spawn_by = 1,
})
end

View File

@ -144,7 +144,7 @@ minetest.register_decoration({
minetest.register_decoration({ minetest.register_decoration({
deco_type = "simple", deco_type = "simple",
place_on = {"default:sand", "default:green_dirt"}, place_on = {"default:sand", "ethereal:green_dirt"},
sidelen = 16, sidelen = 16,
fill_ratio = 0.015, fill_ratio = 0.015,
biomes = {"sandclay", "grassy_ocean", "grassy", "grassytwo", "jumble"}, biomes = {"sandclay", "grassy_ocean", "grassy", "grassytwo", "jumble"},