diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-09-26 00:11:57 -0400 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-09-26 00:11:57 -0400 |
commit | 3d08b568ad1da1e3259a66cb91fd1039781c75cb (patch) | |
tree | 59c396f503f3946b8757093f5c90605fe9f91d07 /farming/mapgen.lua | |
parent | 4aab7d0dbd782cf6741bdbba94440faf0c5c2e61 (diff) | |
download | dreambuilder_modpack-3d08b568ad1da1e3259a66cb91fd1039781c75cb.tar dreambuilder_modpack-3d08b568ad1da1e3259a66cb91fd1039781c75cb.tar.gz dreambuilder_modpack-3d08b568ad1da1e3259a66cb91fd1039781c75cb.tar.bz2 dreambuilder_modpack-3d08b568ad1da1e3259a66cb91fd1039781c75cb.tar.xz dreambuilder_modpack-3d08b568ad1da1e3259a66cb91fd1039781c75cb.zip |
update castles modpack, boost_cart, homedecor, currency, farming redo,
framed glass, gloopblocks, mesecons, moreblocks, pipeworks, signs_lib,
technic, unified mesecons, and worldedit
created a new tag for this release (this will be standard procedure from
now on)
Diffstat (limited to 'farming/mapgen.lua')
-rw-r--r-- | farming/mapgen.lua | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/farming/mapgen.lua b/farming/mapgen.lua index 090c193..929f181 100644 --- a/farming/mapgen.lua +++ b/farming/mapgen.lua @@ -12,7 +12,7 @@ local function register_plant(name, min, max, spawnby, num, enabled) sidelen = 16, noise_params = { offset = 0, - scale = 0.006, + scale = farming.rarety, -- 0.006, spread = {x = 100, y = 100, z = 100}, seed = 329, octaves = 3, @@ -60,7 +60,7 @@ minetest.register_decoration({ sidelen = 16, noise_params = { offset = 0, - scale = 0.06, + scale = farming.rarety, -- 0.06, spread = {x = 100, y = 100, z = 100}, seed = 420, octaves = 3, @@ -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 |