From 6aa66cf7dbb2270c2217649dfc54d72611a5e890 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 30 Aug 2017 00:32:11 +0200 Subject: [PATCH] Add jungle bushes --- .../schematics/mcl_core_jungle_bush.mts | Bin 0 -> 167 bytes mods/MAPGEN/mcl_biomes/init.lua | 20 +++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 mods/ITEMS/mcl_core/schematics/mcl_core_jungle_bush.mts diff --git a/mods/ITEMS/mcl_core/schematics/mcl_core_jungle_bush.mts b/mods/ITEMS/mcl_core/schematics/mcl_core_jungle_bush.mts new file mode 100644 index 0000000000000000000000000000000000000000..28ddde1c7b792a3b6c72487ce6dc92f79687176c GIT binary patch literal 167 zcmeYb3HD`RVPIuoW?-$auV-LokjPEWiBHZiO0`PKEGmgF&n(G^PcKR=E@og(%q(IM zg-d6Z=B4MP=Ar!i7P)7=+DK1SM2UyyB5~dnN srtQ$-4iQ_{wIOcKw`;-t4sR1&Hck{glipIS*de%D$BBtyhokBO0NbfLz5oCK literal 0 HcmV?d00001 diff --git a/mods/MAPGEN/mcl_biomes/init.lua b/mods/MAPGEN/mcl_biomes/init.lua index da346cf22..a4b429fcc 100644 --- a/mods/MAPGEN/mcl_biomes/init.lua +++ b/mods/MAPGEN/mcl_biomes/init.lua @@ -146,7 +146,7 @@ local function register_biomes() node_riverbed = "mcl_core:sand", depth_riverbed = 2, node_dust = "mcl_core:snow", - y_min = 5, + y_min = 0, y_max = mcl_vars.mg_overworld_max, heat_point = 13, humidity_point = 79, @@ -1113,6 +1113,24 @@ local function register_decorations() flags = "place_center_x, place_center_z", rotation = "random", }) + minetest.register_decoration({ + deco_type = "schematic", + place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt", "mcl_core:podzol"}, + sidelen = 80, + noise_params = { + offset = 0.0096, + scale = 0.025, + spread = {x = 250, y = 250, z = 250}, + seed = 2930, + octaves = 4, + persist = 0.6, + }, + biomes = {"rainforest"}, + y_min = 3, + y_max = mcl_vars.mg_overworld_max, + schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_jungle_bush.mts", + flags = "place_center_x, place_center_z", + }) minetest.register_decoration({ deco_type = "schematic",