diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-08-31 12:16:04 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-08-31 12:16:04 +0100 |
commit | 3d38880825355fdb5a84bdcec4156fe0b9e3052f (patch) | |
tree | b1b12a1d0c9d741e8b8eec2d9c09afc70924dbcb | |
parent | 18492be2c9af146cf0e08fbe7897dc5ed0575a75 (diff) |
added support for farming redo's chili peppers
-rw-r--r-- | bonemeal.lua | 1 | ||||
-rw-r--r-- | mapgen.lua | 18 |
2 files changed, 19 insertions, 0 deletions
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
@@ -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
|