summaryrefslogtreecommitdiff
path: root/mapgen.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-08-31 12:14:54 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-08-31 12:14:54 +0100
commite2226576089cc6605c6f8e8011cf254476f45eee (patch)
tree30a063943f8869d33059a2c9598c06d2b74a74b7 /mapgen.lua
parentee35a77ed0221de9ad4261d7e8952b1bcb7af83c (diff)
added chili peppers and bowl of chili
Diffstat (limited to 'mapgen.lua')
-rw-r--r--mapgen.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/mapgen.lua b/mapgen.lua
index cb46d9a..929f181 100644
--- a/mapgen.lua
+++ b/mapgen.lua
@@ -73,3 +73,24 @@ minetest.register_decoration({
num_spawn_by = 1,
})
end
+
+if farming.chili then
+minetest.register_decoration({
+ deco_type = "simple",
+ place_on = {"default:dirt_with_grass", "default:dirt_with_rainforest_litter"},
+ sidelen = 16,
+ noise_params = {
+ offset = 0,
+ scale = farming.rarety, -- 0.06,
+ spread = {x = 100, y = 100, z = 100},
+ seed = 760,
+ octaves = 3,
+ persist = 0.6
+ },
+ y_min = 5,
+ y_max = 35,
+ decoration = {"farming:chili_8"},
+ spawn_by = "group:tree",
+ num_spawn_by = 1,
+})
+end