From 35fa425781e13de2eeeb3864513157ffc2fa41a0 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 6 Sep 2017 06:21:27 +0200 Subject: [PATCH] Generate more acacia trees --- mods/MAPGEN/mcl_biomes/init.lua | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index 9705d14b5a..0edb02b933 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -1383,10 +1383,30 @@ local function register_decorations() place_on = {"mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"}, sidelen = 16, noise_params = { - offset = 0, + offset = 0.00075, scale = 0.002, spread = {x = 250, y = 250, z = 250}, - seed = 2, + seed = 26, + octaves = 3, + persist = 0.66 + }, + biomes = {"savanna"}, + y_min = 1, + y_max = mcl_vars.mg_overworld_max, + schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_acacia_classic_1.mts", + flags = "place_center_x, place_center_z", + rotation = "random", + }) + + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"mcl_core:dirt_with_grass", "mcl_core:coarse_dirt"}, + sidelen = 16, + noise_params = { + offset = 0.00075, + scale = 0.002, + spread = {x = 250, y = 250, z = 250}, + seed = 25, octaves = 3, persist = 0.66 },