summaryrefslogtreecommitdiff
path: root/mapgen.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-08 14:33:47 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-08 14:33:47 +0000
commit021677931bb034f235240c9754afa9aca8923b85 (patch)
tree8d9486d67a6f9bed24e3721362941452cf99be70 /mapgen.lua
parentdec468e3d7e018c59939624caa8cd14cd9084e47 (diff)
changed farming.rarety to 0.001, tall grass needed for seeds now
Diffstat (limited to 'mapgen.lua')
-rw-r--r--mapgen.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/mapgen.lua b/mapgen.lua
index ffbfb67..cf40a98 100644
--- a/mapgen.lua
+++ b/mapgen.lua
@@ -49,8 +49,8 @@ if minetest.get_mapgen_setting("mg_name") == "v6" then
register_plant("pumpkin_8", 1, 20, "group:water", 1, farming.pumpkin)
else
-- v7 maps have a beach so plants growing near water is limited to 6 high
- register_plant("carrot_8", 1, 6, "", -1, farming.carrot)
- register_plant("cucumber_4", 1, 6, "", -1, farming.cucumber)
+ register_plant("carrot_8", 1, 15, "", -1, farming.carrot)
+ register_plant("cucumber_4", 1, 10, "", -1, farming.cucumber)
register_plant("melon_8", 1, 6, "", -1, farming.melon)
register_plant("pumpkin_8", 1, 6, "", -1, farming.pumpkin)
end
@@ -62,14 +62,14 @@ minetest.register_decoration({
sidelen = 16,
noise_params = {
offset = 0,
- scale = farming.rarety, -- 0.06,
+ scale = farming.rarety + 0.001, -- 0.06,
spread = {x = 100, y = 100, z = 100},
seed = 420,
octaves = 3,
persist = 0.6
},
- y_min = 5,
- y_max = 35,
+ y_min = 3,
+ y_max = 45,
decoration = "farming:hemp_7",
spawn_by = "group:tree",
num_spawn_by = 1,