From 1c06bf2628af2c5d0bc8a5b0c32ad8c617083e40 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 14 Aug 2017 18:42:03 +0100 Subject: added farming.rarety to settings --- mapgen.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mapgen.lua') 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, -- cgit v1.2.3