From e2226576089cc6605c6f8e8011cf254476f45eee Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 31 Aug 2017 12:14:54 +0100 Subject: added chili peppers and bowl of chili --- mapgen.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'mapgen.lua') 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 -- cgit v1.2.3