diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-08-31 12:14:54 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-08-31 12:14:54 +0100 |
commit | e2226576089cc6605c6f8e8011cf254476f45eee (patch) | |
tree | 30a063943f8869d33059a2c9598c06d2b74a74b7 /mapgen.lua | |
parent | ee35a77ed0221de9ad4261d7e8952b1bcb7af83c (diff) |
added chili peppers and bowl of chili
Diffstat (limited to 'mapgen.lua')
-rw-r--r-- | mapgen.lua | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -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 |