summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@linuxworks.belug.de>2018-02-15 20:55:28 +0100
committerroot <root@linuxworks.belug.de>2018-02-15 20:55:28 +0100
commit3f9008c613e09e812f6dca1a43441f9b25d907dc (patch)
tree0ff6f65d0e93193b5371d81af3f7668a0894d589
parentd4bb95a9415c1a96979750058401cefa4748851b (diff)
parent0d311c06a207c8ad44ae5090a1a3f01f7959fbc5 (diff)
Merge branch 'master' of https://github.com/tenplus1/ethereal
-rw-r--r--bonemeal.lua4
-rw-r--r--mapgen.lua17
2 files changed, 21 insertions, 0 deletions
diff --git a/bonemeal.lua b/bonemeal.lua
index 60f7ef3..d80fdac 100644
--- a/bonemeal.lua
+++ b/bonemeal.lua
@@ -84,6 +84,10 @@ local crops = {
{"farming:barley_", 7},
{"farming:hemp_", 8},
{"farming:chili_", 8},
+ {"farming:garlic_", 5},
+ {"farming:onion_", 5},
+ {"farming:pepper_", 5},
+ {"farming:pineapple_", 8},
}
-- check if sapling has enough height room to grow
diff --git a/mapgen.lua b/mapgen.lua
index 142f4a1..12f7b13 100644
--- a/mapgen.lua
+++ b/mapgen.lua
@@ -600,6 +600,23 @@ minetest.register_decoration({
spawn_by = "group:tree",
num_spawn_by = 1,
})
+
+minetest.register_decoration({
+ deco_type = "simple",
+ place_on = {"default:dirt_with_dry_grass"},
+ sidelen = 16,
+ noise_params = {
+ offset = 0,
+ scale = 0.06,
+ spread = {x = 100, y = 100, z = 100},
+ seed = 917,
+ octaves = 3,
+ persist = 0.6
+ },
+ y_min = 18,
+ y_max = 30,
+ decoration = {"farming:pineapple_8"},
+})
end
-- place waterlily in beach areas