summaryrefslogtreecommitdiff
path: root/mapgen.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-08-14 18:42:03 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-08-14 18:42:03 +0100
commit1c06bf2628af2c5d0bc8a5b0c32ad8c617083e40 (patch)
tree9bfd082fdcd7f5cc13634ffd1b351c1a60143f10 /mapgen.lua
parenta501c5d0d4398cf0338e98d5880b3cb17844bc80 (diff)
added farming.rarety to settings
Diffstat (limited to 'mapgen.lua')
-rw-r--r--mapgen.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/mapgen.lua b/mapgen.lua
index 090c193..cb46d9a 100644
--- a/mapgen.lua
+++ b/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,