From 40d3bc5602540f6f259ff53bbf349460484e0c69 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 21 Mar 2017 02:53:21 +0100 Subject: [PATCH] Generate tall grass after large flowers --- mods/MAPGEN/mcl_mapgen_core/init.lua | 58 ++++++++++++++-------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/mods/MAPGEN/mcl_mapgen_core/init.lua b/mods/MAPGEN/mcl_mapgen_core/init.lua index fe10bcbdf5..26d4892456 100644 --- a/mods/MAPGEN/mcl_mapgen_core/init.lua +++ b/mods/MAPGEN/mcl_mapgen_core/init.lua @@ -547,35 +547,6 @@ local function register_mgv6_decorations() height_max = 3, }) - -- Tall grass - minetest.register_decoration({ - deco_type = "simple", - place_on = {"mcl_core:dirt_with_grass"}, - sidelen = 8, - noise_params = { - offset = 0.01, - scale = 0.3, - spread = {x = 500, y = 500, z = 500}, - seed = 420, - octaves = 2, - persist = 0.6 - }, - y_min = 1, - y_max = 50, - decoration = "mcl_flowers:tallgrass", - }) - - -- Add a small amount of tall grass everywhere to avoid areas completely empty devoid of tall grass - minetest.register_decoration({ - deco_type = "simple", - place_on = {"mcl_core:dirt_with_grass"}, - sidelen = 8, - fill_ratio = 0.001, - y_min = 1, - y_max = 50, - decoration = "mcl_flowers:tallgrass", - }) - -- Doubletall grass minetest.register_decoration({ deco_type = "schematic", @@ -672,6 +643,35 @@ local function register_mgv6_decorations() register_large_flower("lilac", 10600, -0.007) register_large_flower("sunflower", 2940, -0.005) + -- Tall grass + minetest.register_decoration({ + deco_type = "simple", + place_on = {"mcl_core:dirt_with_grass"}, + sidelen = 8, + noise_params = { + offset = 0.01, + scale = 0.3, + spread = {x = 500, y = 500, z = 500}, + seed = 420, + octaves = 2, + persist = 0.6 + }, + y_min = 1, + y_max = 50, + decoration = "mcl_flowers:tallgrass", + }) + + -- Add a small amount of tall grass everywhere to avoid areas completely empty devoid of tall grass + minetest.register_decoration({ + deco_type = "simple", + place_on = {"mcl_core:dirt_with_grass"}, + sidelen = 8, + fill_ratio = 0.001, + y_min = 1, + y_max = 50, + decoration = "mcl_flowers:tallgrass", + }) + -- Dead bushes minetest.register_decoration({