summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-02-08 11:11:28 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-02-08 11:11:28 +0000
commit0d311c06a207c8ad44ae5090a1a3f01f7959fbc5 (patch)
tree36476c686e503df77cd03cc0d545765ff8f22680
parente2fef45214451d2ddd7602a5add77f9941e160df (diff)
added farming redo's pineapple to mapgen
-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