mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-10 02:01:07 +01:00
Drop old (and disabled by default) fallen logs. (#4618)
There are better ones enabled in mods/MAPGEN/mcl_terrain_features/init.lua Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4618 Reviewed-by: Mikita Wiśniewski <rudzik8@protonmail.com> Co-authored-by: kno10 <erich.schubert@gmail.com> Co-committed-by: kno10 <erich.schubert@gmail.com>
This commit is contained in:
parent
d888e832ae
commit
2dadfda76b
2 changed files with 0 additions and 170 deletions
|
@ -19,8 +19,6 @@ local mg_seed = minetest.get_mapgen_setting("seed")
|
|||
-- Some mapgen settings
|
||||
local superflat = mg_name == "flat" and minetest.get_mapgen_setting("mcl_superflat_classic") == "true"
|
||||
|
||||
local generate_fallen_logs = minetest.settings:get_bool("mcl_generate_fallen_logs", false)
|
||||
|
||||
local mod_mcl_structures = minetest.get_modpath("mcl_structures")
|
||||
local mod_mcl_core = minetest.get_modpath("mcl_core")
|
||||
local mod_mcl_mushrooms = minetest.get_modpath("mcl_mushrooms")
|
||||
|
@ -4971,170 +4969,6 @@ local function register_decorations()
|
|||
register_doubletall_grass(-0.0005, -0.3, {"BambooJungle", "BambooJungleM", "BambooJungleEdge"})
|
||||
register_grass_decoration("tallgrass", -0.03, 1, {"BambooJungle", "BambooJungleM", "BambooJungleEdge"})
|
||||
|
||||
-----------------
|
||||
-- Fallen logs
|
||||
-- These fallen logs are not really good yet. They must be longer and also have one upright block.
|
||||
-- Note the decortion API does not like wide schematics, they are likely to overhang.
|
||||
if generate_fallen_logs then
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"group:grass_block_no_snow", "mcl_core:podzol", "mcl_core:coarse_dirt"},
|
||||
sidelen = 80,
|
||||
noise_params = {
|
||||
offset = 0.00018,
|
||||
scale = 0.00011,
|
||||
spread = {x = 250, y = 250, z = 250},
|
||||
seed = 2,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"MegaTaiga", "MegaSpruceTaiga", "Taiga"},
|
||||
y_min = 1,
|
||||
y_max = mcl_vars.mg_overworld_max,
|
||||
schematic = {
|
||||
size = {x = 3, y = 3, z = 1},
|
||||
data = {
|
||||
{name = "air", prob = 0},
|
||||
{name = "air", prob = 0},
|
||||
{name = "air", prob = 0},
|
||||
{name = "mcl_core:sprucetree", param2 = 12, prob = 127},
|
||||
{name = "mcl_core:sprucetree", param2 = 12},
|
||||
{name = "mcl_core:sprucetree", param2 = 12},
|
||||
{name = "air", prob = 0},
|
||||
{name = "mcl_mushrooms:mushroom_brown", prob = 160},
|
||||
{name = "mcl_mushrooms:mushroom_red", prob = 160},
|
||||
},
|
||||
},
|
||||
flags = "place_center_x",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"group:grass_block", "mcl_core:podzol", "mcl_core:podzol_snow", "mcl_core:coarse_dirt"},
|
||||
sidelen = 80,
|
||||
noise_params = {
|
||||
offset = 0.00018,
|
||||
scale = 0.00011,
|
||||
spread = {x = 250, y = 250, z = 250},
|
||||
seed = 2,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"ColdTaiga"},
|
||||
y_min = 1,
|
||||
y_max = mcl_vars.mg_overworld_max,
|
||||
schematic = {
|
||||
size = {x = 3, y = 3, z = 1},
|
||||
data = {
|
||||
{name = "air", prob = 0},
|
||||
{name = "air", prob = 0},
|
||||
{name = "air", prob = 0},
|
||||
{name = "mcl_core:sprucetree", param2 = 12, prob = 127},
|
||||
{name = "mcl_core:sprucetree", param2 = 12},
|
||||
{name = "mcl_core:sprucetree", param2 = 12},
|
||||
{name = "air", prob = 0},
|
||||
{name = "air", prob = 0},
|
||||
{name = "air", prob = 0},
|
||||
},
|
||||
},
|
||||
flags = "place_center_x",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"group:grass_block_no_snow"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0.0,
|
||||
scale = -0.00008,
|
||||
spread = {x = 250, y = 250, z = 250},
|
||||
seed = 2,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"BirchForest", "BirchForestM", },
|
||||
y_min = 1,
|
||||
y_max = mcl_vars.mg_overworld_max,
|
||||
schematic = {
|
||||
size = {x = 3, y = 3, z = 1},
|
||||
data = {
|
||||
{name = "air", prob = 0},
|
||||
{name = "air", prob = 0},
|
||||
{name = "air", prob = 0},
|
||||
{name = "mcl_core:birchtree", param2 = 12},
|
||||
{name = "mcl_core:birchtree", param2 = 12},
|
||||
{name = "mcl_core:birchtree", param2 = 12, prob = 127},
|
||||
{name = "mcl_mushrooms:mushroom_red", prob = 100},
|
||||
{name = "mcl_mushrooms:mushroom_brown", prob = 10},
|
||||
{name = "air", prob = 0},
|
||||
},
|
||||
},
|
||||
flags = "place_center_x",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"group:grass_block_no_snow", "mcl_core:dirt"},
|
||||
sidelen = 80,
|
||||
fill_ratio = 0.005,
|
||||
biomes = {"Jungle", "JungleM"},
|
||||
y_min = 1,
|
||||
y_max = mcl_vars.mg_overworld_max,
|
||||
schematic = {
|
||||
size = {x = 3, y = 3, z = 1},
|
||||
data = {
|
||||
{name = "air", prob = 0},
|
||||
{name = "air", prob = 0},
|
||||
{name = "air", prob = 0},
|
||||
{name = "mcl_core:jungletree", param2 = 12},
|
||||
{name = "mcl_core:jungletree", param2 = 12},
|
||||
{name = "mcl_core:jungletree", param2 = 12, prob = 127},
|
||||
{name = "air", prob = 0},
|
||||
{name = "mcl_mushrooms:mushroom_brown", prob = 50},
|
||||
{name = "air", prob = 0},
|
||||
},
|
||||
},
|
||||
flags = "place_center_x",
|
||||
rotation = "random",
|
||||
})
|
||||
|
||||
minetest.register_decoration({
|
||||
deco_type = "schematic",
|
||||
place_on = {"group:grass_block_no_snow"},
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0.00018,
|
||||
scale = 0.00011,
|
||||
spread = {x = 250, y = 250, z = 250},
|
||||
seed = 2,
|
||||
octaves = 3,
|
||||
persist = 0.66
|
||||
},
|
||||
biomes = {"Forest"},
|
||||
y_min = 1,
|
||||
y_max = mcl_vars.mg_overworld_max,
|
||||
schematic = {
|
||||
size = {x = 3, y = 3, z = 1},
|
||||
data = {
|
||||
{name = "air", prob = 0},
|
||||
{name = "air", prob = 0},
|
||||
{name = "air", prob = 0},
|
||||
{name = "mcl_core:tree", param2 = 12, prob = 127},
|
||||
{name = "mcl_core:tree", param2 = 12},
|
||||
{name = "mcl_core:tree", param2 = 12},
|
||||
{name = "air", prob = 0},
|
||||
{name = "mcl_mushrooms:mushroom_brown", prob = 96},
|
||||
{name = "mcl_mushrooms:mushroom_red", prob = 96},
|
||||
},
|
||||
},
|
||||
flags = "place_center_x",
|
||||
rotation = "random",
|
||||
})
|
||||
end
|
||||
|
||||
-- Lily pad
|
||||
|
||||
local lily_schem = {
|
||||
|
|
|
@ -256,10 +256,6 @@ mcl_buckets_use_select_box (Buckets use select box) bool false
|
|||
# See also: https://github.com/minetest/minetest/issues/95
|
||||
mcl_translucent_ice (Translucent ice) bool false
|
||||
|
||||
# Whether to generate fallen logs in some biomes.
|
||||
# They might not always look pretty and have strange overhangs.
|
||||
mcl_generate_fallen_logs (Generate fallen logs) bool false
|
||||
|
||||
# If enabled, the “flat” map generator generates a Classic Superflat world:
|
||||
# Completely flat, 1 layer of grass blocks on top of 2 layers of dirt on
|
||||
# top of a final layer of bedrock. No caves, trees or plants.
|
||||
|
|
Loading…
Reference in a new issue