Generate huge jungle trees, tweak mesa biome

This commit is contained in:
Wuzzy 2017-08-21 13:24:42 +02:00
parent 5ef6cb1f83
commit 9810b0a2ab
2 changed files with 70 additions and 70 deletions

@ -239,7 +239,7 @@ local function register_biomes()
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:dirt",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:dirt", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_min = mcl_vars.mg_overworld_min, y_min = mcl_vars.mg_overworld_min,
y_max = 0, y_max = 0,
@ -282,7 +282,7 @@ local function register_biomes()
depth_top = 1, depth_top = 1,
node_filler = "mcl_core:dirt", node_filler = "mcl_core:dirt",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:dirt", node_riverbed = "mcl_core:sand",
depth_riverbed = 2, depth_riverbed = 2,
y_min = mcl_vars.mg_overworld_min, y_min = mcl_vars.mg_overworld_min,
y_max = -2, y_max = -2,
@ -380,11 +380,11 @@ local function register_biomes()
-- Hot biomes -- Hot biomes
minetest.register_biome({ minetest.register_biome({
name = "mesa", name = "mesa",
node_top = "mcl_colorblocks:hardened_clay_orange", node_top = "mcl_colorblocks:hardened_clay",
depth_top = 1, depth_top = 1,
node_filler = "mcl_colorblocks:hardened_clay_orange", node_filler = "mcl_colorblocks:hardened_clay",
depth_filler = 1, depth_filler = 1,
node_stone = "mcl_colorblocks:hardened_clay_orange", node_stone = "mcl_colorblocks:hardened_clay",
y_min = -35, y_min = -35,
y_max = mcl_vars.mg_overworld_max, y_max = mcl_vars.mg_overworld_max,
heat_point = 88, heat_point = 88,
@ -595,185 +595,171 @@ local function register_biomelike_ores()
}, },
}) })
--mcl_core STRATA -- Mesa ores
minetest.register_ore({
ore_type = "blob",
ore = "mcl_core:stone",
wherein = {"mcl_colorblocks:hardened_clay_orange"},
clust_scarcity = 1,
clust_num_ores = 3,
clust_size = 4,
y_min = 50,
y_max = 90,
noise_threshold = 0.4,
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
})
minetest.register_ore({
ore_type = "sheet",
ore = "mcl_core:clay",
wherein = {"mcl_colorblocks:hardened_clay_orange"},
clust_scarcity = 1,
clust_num_ores = 12,
clust_size = 8,
y_min = 24,
y_max = 50,
noise_threshold = 0.4,
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70}
})
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_core:sandstone", ore = "mcl_core:sandstone",
wherein ={"mcl_colorblocks:hardened_clay_orange"}, wherein ={"mcl_colorblocks:hardened_clay"},
clust_scarcity = 1, clust_scarcity = 1,
clust_num_ores = 12, clust_num_ores = 12,
clust_size = 10, clust_size = 10,
y_min = 10, y_min = 10,
y_max = 30, y_max = 30,
noise_threshold = 0.2, noise_threshold = 0.2,
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70} noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70},
biomes = { "mesa" },
}) })
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_core:dirt", ore = "mcl_core:dirt",
wherein = {"mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_colorblocks:hardened_clay"},
clust_scarcity = 1, clust_scarcity = 1,
clust_num_ores = 12, clust_num_ores = 12,
clust_size = 4, clust_size = 4,
y_min = -12, y_min = -12,
y_max = 7, y_max = 7,
noise_threshold = 0.4, noise_threshold = 0.4,
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70} noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70},
biomes = { "mesa" },
}) })
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_core:redsand", ore = "mcl_core:redsand",
wherein = { "mcl_colorblocks:hardened_clay_orange"}, wherein = { "mcl_colorblocks:hardened_clay"},
clust_scarcity = 1, clust_scarcity = 1,
clust_num_ores = 12, clust_num_ores = 12,
clust_size = 10, clust_size = 10,
y_min = 44, y_min = 44,
y_max = 70, y_max = 70,
noise_threshold = 0.7, noise_threshold = 0.7,
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70} noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70},
biomes = { "mesa" },
}) })
-- MESA STRATA
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_core:redsand", ore = "mcl_core:redsand",
wherein = {"mcl_core:redsandstone", "mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_core:redsandstone", "mcl_colorblocks:hardened_clay"},
clust_scarcity = 1, clust_scarcity = 1,
clust_num_ores = 8, clust_num_ores = 8,
clust_size = 4, clust_size = 4,
y_min = 4, y_min = 4,
y_max = 70, y_max = 70,
noise_threshold = 0.4, noise_threshold = 0.4,
noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70} noise_params = {offset=0, scale=15, spread={x=130, y=130, z=130}, seed=24, octaves=3, persist=0.70},
biomes = { "mesa" },
}) })
-- Mesa strata
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_white", ore = "mcl_colorblocks:hardened_clay_silver",
wherein = {"mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_colorblocks:hardened_clay"},
clust_size = 1, clust_size = 1,
y_min = 5, y_min = 5,
y_max = 14, y_max = 14,
noise_threshold = 0.0, noise_threshold = 0.0,
noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} , noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} ,
}) biomes = { "mesa" },
minetest.register_ore({
ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_black",
wherein = {"mcl_colorblocks:hardened_clay_orange"},
clust_size = 1,
y_min = 15,
y_max = 17,
noise_threshold = 0.0,
noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70},
}) })
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_brown", ore = "mcl_colorblocks:hardened_clay_brown",
wherein = {"mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_colorblocks:hardened_clay"},
clust_size = 1,
y_min = 15,
y_max = 17,
noise_threshold = 0.0,
noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70},
biomes = { "mesa" },
})
minetest.register_ore({
ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_orange",
wherein = {"mcl_colorblocks:hardened_clay"},
clust_size = 6, clust_size = 6,
y_min = 20, y_min = 20,
y_max = 29, y_max = 29,
noise_threshold = 0.0, noise_threshold = 0.0,
noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} , noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} ,
biomes = { "mesa" },
}) })
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_red", ore = "mcl_colorblocks:hardened_clay_red",
wherein = {"mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_colorblocks:hardened_clay"},
clust_size = 2, clust_size = 2,
y_min = 34, y_min = 34,
y_max = 37, y_max = 37,
noise_threshold = 0.0, noise_threshold = 0.0,
noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} , noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} ,
biomes = { "mesa" },
}) })
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_yellow", ore = "mcl_colorblocks:hardened_clay_yellow",
wherein = {"mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_colorblocks:hardened_clay"},
clust_size = 1, clust_size = 1,
y_min = 42, y_min = 42,
y_max = 43, y_max = 43,
noise_threshold = 0.0, noise_threshold = 0.0,
noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} , noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} ,
biomes = { "mesa" },
}) })
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_blue", ore = "mcl_colorblocks:hardened_clay_orange",
wherein = {"mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_colorblocks:hardened_clay"},
clust_size = 1, clust_size = 1,
y_min = 43, y_min = 43,
y_max = 44, y_max = 44,
noise_threshold = 0.0, noise_threshold = 0.0,
noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} , noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} ,
biomes = { "mesa" },
}) })
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_yellow", ore = "mcl_colorblocks:hardened_clay_brown",
wherein = {"mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_colorblocks:hardened_clay"},
clust_size = 1, clust_size = 1,
y_min = 44, y_min = 44,
y_max = 45, y_max = 45,
noise_threshold = 0.0, noise_threshold = 0.0,
noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} , noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} ,
biomes = { "mesa" },
}) })
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_yellow", ore = "mcl_colorblocks:hardened_clay_yellow",
wherein = {"mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_colorblocks:hardened_clay"},
clust_size = 1, clust_size = 1,
y_min = 45, y_min = 45,
y_max = 47, y_max = 47,
noise_threshold = 0.0, noise_threshold = 0.0,
noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} , noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} ,
biomes = { "mesa" },
}) })
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_light_blue", ore = "mcl_colorblocks:hardened_clay_white",
wherein = {"mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_colorblocks:hardened_clay"},
clust_size = 1, clust_size = 1,
y_min = 49, y_min = 49,
y_max = 52, y_max = 52,
noise_threshold = 0.0, noise_threshold = 0.0,
noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} , noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} ,
biomes = { "mesa" },
}) })
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_yellow", ore = "mcl_colorblocks:hardened_clay_yellow",
wherein = {"mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_colorblocks:hardened_clay"},
clust_size = 4, clust_size = 4,
y_min = 53, y_min = 53,
y_max = 59, y_max = 59,
@ -783,22 +769,24 @@ local function register_biomelike_ores()
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_white", ore = "mcl_colorblocks:hardened_clay_white",
wherein = {"mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_colorblocks:hardened_clay"},
clust_size = 8, clust_size = 8,
y_min = 61, y_min = 61,
y_max = 70, y_max = 70,
noise_threshold = 0.0, noise_threshold = 0.0,
noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} , noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} ,
biomes = { "mesa" },
}) })
minetest.register_ore({ minetest.register_ore({
ore_type = "sheet", ore_type = "sheet",
ore = "mcl_colorblocks:hardened_clay_purple", ore = "mcl_colorblocks:hardened_clay_silver",
wherein = {"mcl_colorblocks:hardened_clay_orange"}, wherein = {"mcl_colorblocks:hardened_clay"},
clust_size = 8, clust_size = 8,
y_min = 66, y_min = 66,
y_max = 75, y_max = 75,
noise_threshold = 0.0, noise_threshold = 0.0,
noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} , noise_params = {offset=0, scale=1, spread={x=3100, y=3100, z=3100}, seed=23, octaves=3, persist=0.70} ,
biomes = { "mesa" },
}) })
end end
@ -1073,7 +1061,7 @@ local function register_decorations()
biomes = {"deciduous_forest"}, biomes = {"deciduous_forest"},
y_min = 1, y_min = 1,
y_max = mcl_vars.mg_overworld_max, y_max = mcl_vars.mg_overworld_max,
schematic = minetest.get_modpath("mcl_core").."/schematics/apple_tree.mts", schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_oak_classic.mts",
flags = "place_center_x, place_center_z", flags = "place_center_x, place_center_z",
}) })
@ -1112,6 +1100,18 @@ local function register_decorations()
-- Jungle tree and log -- Jungle tree and log
minetest.register_decoration({
deco_type = "schematic",
place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt", "mcl_core:podzol"},
sidelen = 80,
fill_ratio = 0.002,
biomes = {"rainforest"},
y_min = 4,
y_max = mcl_vars.mg_overworld_max,
schematic = minetest.get_modpath("mcl_core").."/schematics/mcl_core_jungle_tree_huge.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({ minetest.register_decoration({
deco_type = "schematic", deco_type = "schematic",
place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt", "mcl_core:podzol"}, place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt", "mcl_core:podzol"},