1
0
Fork 0

Tweak double tallgrass/fern amount in non-v6

objects
Wuzzy 2017-09-13 19:03:15 +02:00
parent 6f85cbdbc8
commit 5d70d05dab
1 changed files with 62 additions and 80 deletions

View File

@ -2341,92 +2341,74 @@ local function register_decorations()
}) })
-- Doubletall grass -- Doubletall grass
minetest.register_decoration({ local register_doubletall_grass = function(offset, scale, biomes)
deco_type = "schematic",
schematic = { minetest.register_decoration({
size = { x=1, y=3, z=1 }, deco_type = "schematic",
data = { schematic = {
{ name = "air", prob = 0 }, size = { x=1, y=3, z=1 },
{ name = "mcl_flowers:double_grass", param1=255, }, data = {
{ name = "mcl_flowers:double_grass_top", param1=255, }, { name = "air", prob = 0 },
{ name = "mcl_flowers:double_grass", param1=255, },
{ name = "mcl_flowers:double_grass_top", param1=255, },
},
}, },
}, replacements = {
replacements = { ["mcl_flowers:tallgrass"] = "mcl_flowers:double_grass"
["mcl_flowers:tallgrass"] = "mcl_flowers:double_grass" },
}, place_on = {"mcl_core:dirt_with_grass"},
place_on = {"mcl_core:dirt_with_grass", "mcl_core:dirt_with_grass_snow"}, sidelen = 16,
sidelen = 16, noise_params = {
noise_params = { offset = offset,
offset = -0.01, scale = scale,
scale = 0.03, spread = {x = 200, y = 200, z = 200},
spread = {x = 300, y = 300, z = 300}, seed = 420,
seed = 420, octaves = 3,
octaves = 2, persist = 0.6,
persist = 0.6, },
}, y_min = 1,
y_min = 1, y_max = mcl_vars.mg_overworld_max,
y_max = mcl_vars.mg_overworld_max, biomes = biomes,
biomes = {"Plains", "SunflowerPlains", "Taiga", "Forest", "FlowerForest", "BirchForest", "BirchForestM", "RoofedForest", "Savanna", "SavannaM", "MesaPlateauF_grasstop" }, })
}) end
register_doubletall_grass(-0.01, 0.03, {"Taiga", "Forest", "FlowerForest", "BirchForest", "BirchForestM", "RoofedForest", "MesaPlateauF_grasstop" })
register_doubletall_grass(-0.002, 0.03, {"Plains", "SunflowerPlains"})
register_doubletall_grass(-0.0005, -0.03, {"Savanna", "SavannaM"})
-- Large ferns -- Large ferns
minetest.register_decoration({ local register_double_fern = function(offset, scale, biomes)
deco_type = "schematic", minetest.register_decoration({
schematic = { deco_type = "schematic",
size = { x=1, y=3, z=1 }, schematic = {
data = { size = { x=1, y=3, z=1 },
{ name = "air", prob = 0 }, data = {
{ name = "mcl_flowers:double_fern", param1=255, }, { name = "air", prob = 0 },
{ name = "mcl_flowers:double_fern_top", param1=255, }, { name = "mcl_flowers:double_fern", param1=255, },
{ name = "mcl_flowers:double_fern_top", param1=255, },
},
}, },
}, replacements = {
replacements = { ["mcl_flowers:fern"] = "mcl_flowers:double_fern"
["mcl_flowers:fern"] = "mcl_flowers:double_fern"
},
place_on = {"mcl_core:dirt_with_grass", "mcl_core:podzol", "mcl_core:podzol_snow"},
sidelen = 16,
noise_params = {
offset = 0.01,
scale = 0.03,
spread = {x = 250, y = 250, z = 250},
seed = 333,
octaves = 2,
persist = 0.66,
},
biomes = { "Jungle", "JungleM", "JungleEdge", "JungleEdgeM", "Taiga", "ColdTaiga", "MegaTaiga", "MegaSpruceTaiga" },
y_min = 1,
y_max = mcl_vars.mg_overworld_max,
})
minetest.register_decoration({
deco_type = "schematic",
schematic = {
size = { x=1, y=3, z=1 },
data = {
{ name = "air", prob = 0 },
{ name = "mcl_flowers:double_fern", param1=255, },
{ name = "mcl_flowers:double_fern_top", param1=255, },
}, },
}, place_on = {"mcl_core:dirt_with_grass", "mcl_core:podzol"},
replacements = { sidelen = 16,
["mcl_flowers:fern"] = "mcl_flowers:double_fern" noise_params = {
}, offset = offset,
place_on = {"mcl_core:dirt_with_grass"}, scale = scale,
spread = {x = 250, y = 250, z = 250},
seed = 333,
octaves = 2,
persist = 0.66,
},
biomes = biomes,
y_min = 1,
y_max = mcl_vars.mg_overworld_max,
})
end
sidelen = 16, register_double_fern(0.01, 0.03, { "Jungle", "JungleM", "JungleEdge", "JungleEdgeM", "Taiga", "ColdTaiga", "MegaTaiga", "MegaSpruceTaiga" })
noise_params = { register_double_fern(0.15, 0.1, { "JungleM" })
offset = 0.15,
scale = 0.1,
spread = {x = 250, y = 250, z = 250},
seed = 333,
octaves = 2,
persist = 0.60,
},
biomes = { "JungleM" },
y_min = 1,
y_max = mcl_vars.mg_overworld_max,
})
-- Large flowers -- Large flowers
local register_large_flower = function(name, biomes, seed, offset, flower_forest_offset) local register_large_flower = function(name, biomes, seed, offset, flower_forest_offset)