From 3d38880825355fdb5a84bdcec4156fe0b9e3052f Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Thu, 31 Aug 2017 12:16:04 +0100 Subject: added support for farming redo's chili peppers --- bonemeal.lua | 1 + mapgen.lua | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/bonemeal.lua b/bonemeal.lua index ce8be4c..1de4cbc 100644 --- a/bonemeal.lua +++ b/bonemeal.lua @@ -83,6 +83,7 @@ local crops = { {"ethereal:onion_", 5}, {"farming:barley_", 7}, {"farming:hemp_", 8}, + {"farming:chili_", 8}, } -- check if sapling has enough height room to grow diff --git a/mapgen.lua b/mapgen.lua index 418f8bd..64ff387 100644 --- a/mapgen.lua +++ b/mapgen.lua @@ -588,6 +588,24 @@ minetest.register_decoration({ num_spawn_by = 1, }) +minetest.register_decoration({ + deco_type = "simple", + place_on = {"default:dirt_with_grass", "default:dirt_with_rainforest_litter"}, + sidelen = 16, + noise_params = { + offset = 0, + scale = 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 -- place waterlily in beach areas -- cgit v1.2.3