summaryrefslogtreecommitdiff
path: root/mapgen.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-11-24 10:49:24 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-11-24 10:49:24 +0000
commitbc9f4b059d10477f1ee5c731e0bdf0ead65baa3c (patch)
treef13983e4bc3b1ab6c0432bfad09b4ae9d7c0fa00 /mapgen.lua
parent438ace057d98e7fee818e87d1249c20c7a9f98c7 (diff)
added bakedclay plants to mapgen
Diffstat (limited to 'mapgen.lua')
-rw-r--r--mapgen.lua83
1 files changed, 83 insertions, 0 deletions
diff --git a/mapgen.lua b/mapgen.lua
index 5d465ed..fb04c08 100644
--- a/mapgen.lua
+++ b/mapgen.lua
@@ -562,3 +562,86 @@ minetest.register_on_generated(function(minp, maxp)
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 \ No newline at end of file