From 52f22ac58f66c160719fd584bde0b3351e16da99 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 9 Sep 2017 01:34:37 +0200 Subject: [PATCH] Make melons rarer in non-v6 mapgens --- mods/MAPGEN/mcl_biomes/init.lua | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index b098953488..1d05453c12 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -2303,7 +2303,7 @@ local function register_decorations() place_on = {"mcl_core:dirt_with_grass"}, sidelen = 16, noise_params = { - offset = 0.002, + offset = -0.01, scale = 0.006, spread = {x = 250, y = 250, z = 250}, seed = 333, @@ -2313,7 +2313,24 @@ local function register_decorations() y_min = 1, y_max = mcl_vars.mg_overworld_max, decoration = "mcl_farming:melon", - biomes = { "jungle", "jungle_edge" }, + biomes = { "jungle" }, + }) + minetest.register_decoration({ + deco_type = "simple", + place_on = {"mcl_core:dirt_with_grass"}, + sidelen = 16, + noise_params = { + offset = -0.005, + scale = 0.006, + spread = {x = 250, y = 250, z = 250}, + seed = 333, + octaves = 3, + persist = 0.6 + }, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + decoration = "mcl_farming:melon", + biomes = { "jungle_edge" }, }) -- Pumpkin