tidy schem

This commit is contained in:
tenplus1 2024-10-09 11:20:56 +01:00
parent f18c058909
commit d28d1efa52

View File

@ -50,10 +50,9 @@ end
register_decoration(ethereal.glacier, { register_decoration(ethereal.glacier, {
place_on = "default:snowblock", place_on = "default:snowblock",
fill_ratio = 0.0005, fill_ratio = 0.0005, y_min = 3, y_max = 30,
biomes = {"glacier"}, biomes = {"glacier"},
y_min = 3, y_max = 30, place_offset_y = -1, schematic = ethereal.igloo, place_offset_y = -1,
schematic = ethereal.igloo,
spawn_by = "default:snowblock", num_spawn_by = 8, spawn_by = "default:snowblock", num_spawn_by = 8,
flags = "place_center_x, place_center_z, force_placement", flags = "place_center_x, place_center_z, force_placement",
rotation = "random"}) rotation = "random"})
@ -62,9 +61,8 @@ register_decoration(ethereal.glacier, {
register_decoration(ethereal.bamboo, { register_decoration(ethereal.bamboo, {
place_on = "ethereal:bamboo_dirt", place_on = "ethereal:bamboo_dirt",
fill_ratio = 0.002, fill_ratio = 0.002, y_min = 7, y_max = 35,
biomes = {"bamboo"}, biomes = {"bamboo"},
y_min = 7, y_max = 35,
schematic = ethereal.sakura_tree, schematic = ethereal.sakura_tree,
spawn_by = "ethereal:bamboo_dirt", num_spawn_by = 6}) spawn_by = "ethereal:bamboo_dirt", num_spawn_by = 6})
@ -98,9 +96,8 @@ register_decoration(ethereal.grove, {
register_decoration(1, { register_decoration(1, {
place_on = "default:snow", place_on = "default:snow",
fill_ratio = 0.01, fill_ratio = 0.01, y_min = 150, y_max = 160,
biomes = {"mountain"}, biomes = {"mountain"},
y_min = 150, y_max = 160,
schematic = ethereal.yellowtree, schematic = ethereal.yellowtree,
spawn_by = "default:snow", num_spawn_by = 8, spawn_by = "default:snow", num_spawn_by = 8,
flags = "place_center_x, place_center_z, force_placement"}) flags = "place_center_x, place_center_z, force_placement"})
@ -109,9 +106,8 @@ register_decoration(1, {
register_decoration(ethereal.frost, { register_decoration(ethereal.frost, {
place_on = "ethereal:crystal_dirt", place_on = "ethereal:crystal_dirt",
fill_ratio = 0.01, fill_ratio = 0.01, y_min = 1, y_max = 1750,
biomes = {"frost", "frost_floatland"}, biomes = {"frost", "frost_floatland"},
y_min = 1, y_max = 1750,
schematic = ethereal.frosttrees, schematic = ethereal.frosttrees,
spawn_by = "ethereal:crystal_dirt", num_spawn_by = 8}) spawn_by = "ethereal:crystal_dirt", num_spawn_by = 8})
@ -119,9 +115,8 @@ register_decoration(ethereal.frost, {
register_decoration(ethereal.mushroom, { register_decoration(ethereal.mushroom, {
place_on = "ethereal:mushroom_dirt", place_on = "ethereal:mushroom_dirt",
fill_ratio = 0.018, sidelen = 8, fill_ratio = 0.018, sidelen = 8, y_min = 3, y_max = 25,
biomes = {"mushroom"}, biomes = {"mushroom"},
y_min = 3, y_max = 25,
schematic = ethereal.mushroomone, schematic = ethereal.mushroomone,
spawn_by = "ethereal:mushroom_dirt", num_spawn_by = 8}) spawn_by = "ethereal:mushroom_dirt", num_spawn_by = 8})
@ -129,9 +124,8 @@ register_decoration(ethereal.mushroom, {
register_decoration(ethereal.mushroom, { register_decoration(ethereal.mushroom, {
place_on = "ethereal:mushroom_dirt", place_on = "ethereal:mushroom_dirt",
fill_ratio = 0.02, fill_ratio = 0.02, y_min = 26, y_max = 50,
biomes = {"mushroom"}, biomes = {"mushroom"},
y_min = 26, y_max = 50,
schematic = ethereal.mushroomtwo, schematic = ethereal.mushroomtwo,
spawn_by = "ethereal:mushroom_dirt", num_spawn_by = 6, spawn_by = "ethereal:mushroom_dirt", num_spawn_by = 6,
rotation = "random"}) rotation = "random"})
@ -184,36 +178,32 @@ register_decoration(ethereal.grayness, {
register_decoration(ethereal.snowy, { register_decoration(ethereal.snowy, {
place_on = {"default:dirt_with_coniferous_litter"}, place_on = {"default:dirt_with_coniferous_litter"},
fill_ratio = 0.025, fill_ratio = 0.025, y_min = 4, y_max = 50,
biomes = {"coniferous_forest"}, biomes = {"coniferous_forest"},
y_min = 4, y_max = 50,
schematic = dpath .. "pine_tree.mts"}) schematic = dpath .. "pine_tree.mts"})
-- default small pine tree for higher elevation -- default small pine tree for higher elevation
register_decoration(ethereal.snowy, { register_decoration(ethereal.snowy, {
place_on = {"default:dirt_with_coniferous_litter"}, place_on = {"default:dirt_with_coniferous_litter"},
fill_ratio = 0.025, fill_ratio = 0.025, y_min = 50, y_max = 140,
biomes = {"coniferous_forest"}, biomes = {"coniferous_forest"},
y_min = 50, y_max = 140,
schematic = dpath .. "small_pine_tree.mts"})--ethereal.pinetree}) schematic = dpath .. "small_pine_tree.mts"})--ethereal.pinetree})
-- default large snowy pine tree for lower elevation -- default large snowy pine tree for lower elevation
register_decoration(ethereal.alpine, { register_decoration(ethereal.alpine, {
place_on = {"default:dirt_with_snow"}, place_on = {"default:dirt_with_snow"},
fill_ratio = 0.025, fill_ratio = 0.025, y_min = 4, y_max = 50,
biomes = {"taiga"}, biomes = {"taiga"},
y_min = 4, y_max = 50,
schematic = dpath .. "snowy_pine_tree_from_sapling.mts"}) schematic = dpath .. "snowy_pine_tree_from_sapling.mts"})
-- default small snowy pine for higher elevation -- default small snowy pine for higher elevation
register_decoration(ethereal.snowy, { register_decoration(ethereal.snowy, {
place_on = {"default:dirt_with_snow"}, place_on = {"default:dirt_with_snow"},
fill_ratio = 0.025, fill_ratio = 0.025, y_min = 50, y_max = 140,
biomes = {"taiga"}, biomes = {"taiga"},
y_min = 50, y_max = 140,
schematic = dpath .. "snowy_small_pine_tree_from_sapling.mts"})--ethereal.pinetree}) schematic = dpath .. "snowy_small_pine_tree_from_sapling.mts"})--ethereal.pinetree})
-- default apple tree -- default apple tree
@ -237,18 +227,16 @@ register_decoration(ethereal.jumble, {
register_decoration(ethereal.grassytwo, { register_decoration(ethereal.grassytwo, {
place_on = "default:dirt_with_grass", place_on = "default:dirt_with_grass",
fill_ratio = 0.02, fill_ratio = 0.02, y_min = 1, y_max = 50,
biomes = {"grassytwo"}, biomes = {"grassytwo"},
y_min = 1, y_max = 50,
schematic = dpath .. "aspen_tree.mts"}) schematic = dpath .. "aspen_tree.mts"})
-- birch tree -- birch tree
register_decoration(ethereal.grassytwo, { register_decoration(ethereal.grassytwo, {
place_on = "default:dirt_with_grass", place_on = "default:dirt_with_grass",
fill_ratio = 0.02, fill_ratio = 0.02, y_min = 50, y_max = 100,
biomes = {"grassytwo"}, biomes = {"grassytwo"},
y_min = 50, y_max = 100,
schematic = ethereal.birchtree}) schematic = ethereal.birchtree})
-- orange tree -- orange tree
@ -271,18 +259,16 @@ register_decoration(ethereal.savanna, {
register_decoration(1, { register_decoration(1, {
place_on = "default:sand", place_on = "default:sand",
fill_ratio = 0.0025, fill_ratio = 0.0025, y_min = 1, y_max = 1,
biomes = {"desert_ocean", "plains_ocean", "sandstone_ocean", biomes = {"desert_ocean", "plains_ocean", "sandstone_ocean",
"mesa_ocean", "grove_ocean", "deciduous_forest_ocean"}, "mesa_ocean", "grove_ocean", "deciduous_forest_ocean"},
y_min = 1, y_max = 1,
schematic = ethereal.palmtree}) schematic = ethereal.palmtree})
-- bamboo tree -- bamboo tree
register_decoration(ethereal.bamboo, { register_decoration(ethereal.bamboo, {
place_on = "ethereal:bamboo_dirt", place_on = "ethereal:bamboo_dirt",
fill_ratio = 0.025, fill_ratio = 0.025, y_min = 36, y_max = 70,
y_min = 36, y_max = 70,
biomes = {"bamboo"}, biomes = {"bamboo"},
schematic = ethereal.bambootree}) schematic = ethereal.bambootree})
@ -290,8 +276,7 @@ register_decoration(ethereal.bamboo, {
register_decoration(ethereal.bamboo, { register_decoration(ethereal.bamboo, {
place_on = "ethereal:bamboo_dirt", place_on = "ethereal:bamboo_dirt",
fill_ratio = 0.08, fill_ratio = 0.08, y_min = 35, y_max = 70,
y_min = 35, y_max = 70,
biomes = {"bamboo"}, biomes = {"bamboo"},
schematic = ethereal.bush, schematic = ethereal.bush,
spawn_by = "ethereal:bamboo_dirt", num_spawn_by = 6}) spawn_by = "ethereal:bamboo_dirt", num_spawn_by = 6})
@ -308,29 +293,27 @@ register_decoration(ethereal.swamp, {
register_decoration(ethereal.mediterranean, { register_decoration(ethereal.mediterranean, {
place_on = "ethereal:grove_dirt", place_on = "ethereal:grove_dirt",
fill_ratio = 0.004, fill_ratio = 0.004, y_min = 5, y_max = 50,
biomes = {"mediterranean"}, biomes = {"mediterranean"},
y_min = 5, y_max = 50,
schematic = ethereal.lemontree}) schematic = ethereal.lemontree})
-- olive tree -- olive tree
register_decoration(ethereal.mediterranean, { register_decoration(ethereal.mediterranean, {
place_on = "ethereal:grove_dirt", place_on = "ethereal:grove_dirt",
fill_ratio = 0.004, fill_ratio = 0.004, y_min = 5, y_max = 45,
biomes = {"mediterranean"}, biomes = {"mediterranean"},
y_min = 5, y_max = 45,
schematic = ethereal.olivetree}) schematic = ethereal.olivetree})
-- default large cactus -- default large cactus
register_decoration(ethereal.desert, { register_decoration(ethereal.desert, {
place_on = {"default:desert_sand"}, place_on = {"default:desert_sand"},
y_min = 5, y_max = 100,
noise_params = { noise_params = {
offset = -0.0005, scale = 0.0015, spread = {x = 200, y = 200, z = 200}, offset = -0.0005, scale = 0.0015, spread = {x = 200, y = 200, z = 200},
seed = 230, octaves = 3, persist = 0.6}, seed = 230, octaves = 3, persist = 0.6},
biomes = {"desert"}, biomes = {"desert"},
y_min = 5, y_max = 100,
schematic = dpath .. "large_cactus.mts", schematic = dpath .. "large_cactus.mts",
flags = "place_center_x", flags = "place_center_x",
rotation = "random"}) rotation = "random"})
@ -362,12 +345,11 @@ register_decoration(1, {
register_decoration((minetest.registered_nodes["default:pine_bush"] and 1), { register_decoration((minetest.registered_nodes["default:pine_bush"] and 1), {
name = "default:pine_bush", name = "default:pine_bush",
place_on = {"default:dirt_with_snow", "default:cold_dirt"}, place_on = {"default:dirt_with_snow", "default:cold_dirt"},
sidelen = 16, sidelen = 16, y_min = 4, y_max = 120,
noise_params = { noise_params = {
offset = -0.004, scale = 0.01, spread = {x = 100, y = 100, z = 100}, offset = -0.004, scale = 0.01, spread = {x = 100, y = 100, z = 100},
seed = 137, octaves = 3, persist = 0.7}, seed = 137, octaves = 3, persist = 0.7},
biomes = {"taiga", "snowy_grassland"}, biomes = {"taiga", "snowy_grassland"},
y_min = 4, y_max = 120,
schematic = dpath .. "pine_bush.mts"}) schematic = dpath .. "pine_bush.mts"})
-- default blueberry bush -- default blueberry bush
@ -381,20 +363,18 @@ register_decoration((minetest.registered_nodes["default:blueberry_bush_leaves"]
offset = -0.004, scale = 0.01, spread = {x = 100, y = 100, z = 100}, offset = -0.004, scale = 0.01, spread = {x = 100, y = 100, z = 100},
seed = 697, octaves = 3, persist = 0.7}, seed = 697, octaves = 3, persist = 0.7},
biomes = {"coniferous_forest", "taiga", "snowy_grassland"}, biomes = {"coniferous_forest", "taiga", "snowy_grassland"},
place_offset_y = 1, schematic = dpath .. "blueberry_bush.mts", place_offset_y = 1})
schematic = dpath .. "blueberry_bush.mts"})
-- place waterlily in beach areas -- place waterlily in beach areas
register_decoration(1, { register_decoration(1, {
place_on = {"default:sand"}, place_on = {"default:sand"},
sidelen = 16, sidelen = 16, y_min = 0, y_max = 0,
noise_params = { noise_params = {
offset = -0.12, scale = 0.3, spread = {x = 200, y = 200, z = 200}, offset = -0.12, scale = 0.3, spread = {x = 200, y = 200, z = 200},
seed = 33, octaves = 3, persist = 0.7}, seed = 33, octaves = 3, persist = 0.7},
biomes = {"desert_ocean", "plains_ocean", "mesa_ocean", "grove_ocean", biomes = {"desert_ocean", "plains_ocean", "mesa_ocean", "grove_ocean",
"deciduous_forest_ocean", "swamp_ocean"}, "deciduous_forest_ocean", "swamp_ocean"},
y_min = 0, y_max = 0,
schematic = ethereal.waterlily, schematic = ethereal.waterlily,
rotation = "random"}) rotation = "random"})
@ -425,11 +405,9 @@ if ethereal.logs == 1 then
register_decoration(ethereal.prairie, { register_decoration(ethereal.prairie, {
name = "default:apple_log", name = "default:apple_log",
place_on = {"default:dirt_with_grass", "ethereal:prairie_dirt"}, place_on = {"default:dirt_with_grass", "ethereal:prairie_dirt"},
place_offset_y = 1, sidelen = 16, fill_ratio = 0.001,
sidelen = 16,
fill_ratio = 0.001,
biomes = {"deciduous_forest", "jumble", "swamp", "prairie"}, biomes = {"deciduous_forest", "jumble", "swamp", "prairie"},
schematic = dpath .. "apple_log.mts", schematic = dpath .. "apple_log.mts", place_offset_y = 1,
flags = "place_center_x", flags = "place_center_x",
rotation = "random", rotation = "random",
spawn_by = {"default:dirt_with_grass", "ethereal:prairie_dirt"}, num_spawn_by = 8}) spawn_by = {"default:dirt_with_grass", "ethereal:prairie_dirt"}, num_spawn_by = 8})
@ -437,10 +415,9 @@ if ethereal.logs == 1 then
register_decoration(ethereal.junglee, { register_decoration(ethereal.junglee, {
name = "default:jungle_log", name = "default:jungle_log",
place_on = {"default:dirt_with_rainforest_litter"}, place_on = {"default:dirt_with_rainforest_litter"},
place_offset_y = 1,
fill_ratio = 0.005, fill_ratio = 0.005,
biomes = {"rainforest"}, biomes = {"rainforest"},
schematic = dpath .. "jungle_log.mts", schematic = dpath .. "jungle_log.mts", place_offset_y = 1,
flags = "place_center_x", flags = "place_center_x",
rotation = "random", rotation = "random",
spawn_by = "default:dirt_with_rainforest_litter", num_spawn_by = 8}) spawn_by = "default:dirt_with_rainforest_litter", num_spawn_by = 8})
@ -448,11 +425,9 @@ if ethereal.logs == 1 then
register_decoration(ethereal.snowy, { register_decoration(ethereal.snowy, {
name = "default:pine_log", name = "default:pine_log",
place_on = {"default:dirt_with_snow", "default:dirt_with_coniferous_litter"}, place_on = {"default:dirt_with_snow", "default:dirt_with_coniferous_litter"},
place_offset_y = 1, fill_ratio = 0.0018, y_min = 4, y_max = 100,
fill_ratio = 0.0018,
biomes = {"taiga", "coniferous_forest"}, biomes = {"taiga", "coniferous_forest"},
y_min = 4, y_max = 100, schematic = dpath .. "pine_log.mts", place_offset_y = 1,
schematic = dpath .. "pine_log.mts",
flags = "place_center_x", flags = "place_center_x",
rotation = "random", rotation = "random",
spawn_by = {"default:dirt_with_snow", "default:dirt_with_coniferous_litter"}, spawn_by = {"default:dirt_with_snow", "default:dirt_with_coniferous_litter"},
@ -462,13 +437,12 @@ if ethereal.logs == 1 then
name = "default:acacia_log", name = "default:acacia_log",
deco_type = "schematic", deco_type = "schematic",
place_on = {"default:dry_dirt_with_dry_grass"}, place_on = {"default:dry_dirt_with_dry_grass"},
place_offset_y = 1,
sidelen = 16, sidelen = 16,
noise_params = { noise_params = {
offset = 0, scale = 0.001, spread = {x = 250, y = 250, z = 250}, offset = 0, scale = 0.001, spread = {x = 250, y = 250, z = 250},
seed = 2, octaves = 3, persist = 0.66}, seed = 2, octaves = 3, persist = 0.66},
biomes = {"savanna"}, biomes = {"savanna"},
schematic = dpath .. "acacia_log.mts", schematic = dpath .. "acacia_log.mts", place_offset_y = 1,
flags = "place_center_x", flags = "place_center_x",
rotation = "random", rotation = "random",
spawn_by = "default:dry_dirt_with_dry_grass", num_spawn_by = 8}) spawn_by = "default:dry_dirt_with_dry_grass", num_spawn_by = 8})
@ -476,10 +450,8 @@ if ethereal.logs == 1 then
register_decoration(ethereal.plains, { register_decoration(ethereal.plains, {
name = "ethereal:scorched_log", name = "ethereal:scorched_log",
place_on = {"ethereal:dry_dirt"}, place_on = {"ethereal:dry_dirt"},
place_offset_y = 1, fill_ratio = 0.0018, y_min = 4, y_max = 100,
fill_ratio = 0.0018,
biomes = {"plains"}, biomes = {"plains"},
y_min = 4, y_max = 100,
schematic = { schematic = {
size = {x = 3, y = 1, z = 1}, size = {x = 3, y = 1, z = 1},
data = { data = {
@ -487,7 +459,7 @@ if ethereal.logs == 1 then
{name = "ethereal:scorched_tree", param1 = 255, param2 = 16}, {name = "ethereal:scorched_tree", param1 = 255, param2 = 16},
{name = "ethereal:scorched_tree", param1 = 255, param2 = 16} {name = "ethereal:scorched_tree", param1 = 255, param2 = 16}
} }
}, }, place_offset_y = 1,
flags = "place_center_x", flags = "place_center_x",
rotation = "random", rotation = "random",
spawn_by = "ethereal:dry_dirt", num_spawn_by = 8}) spawn_by = "ethereal:dry_dirt", num_spawn_by = 8})
@ -495,10 +467,8 @@ if ethereal.logs == 1 then
register_decoration(ethereal.grove, { register_decoration(ethereal.grove, {
name = "ethereal:banana_log", name = "ethereal:banana_log",
place_on = {"ethereal:grove_dirt"}, place_on = {"ethereal:grove_dirt"},
place_offset_y = 1, fill_ratio = 0.0018, y_min = 4, y_max = 100,
fill_ratio = 0.0018,
biomes = {"grove"}, biomes = {"grove"},
y_min = 4, y_max = 100,
schematic = { schematic = {
size = {x = 3, y = 1, z = 1}, size = {x = 3, y = 1, z = 1},
data = { data = {
@ -506,7 +476,7 @@ if ethereal.logs == 1 then
{name = "ethereal:banana_trunk", param1 = 255, param2 = 16}, {name = "ethereal:banana_trunk", param1 = 255, param2 = 16},
{name = "ethereal:banana_trunk", param1 = 201, param2 = 16} {name = "ethereal:banana_trunk", param1 = 201, param2 = 16}
} }
}, }, place_offset_y = 1,
flags = "place_center_x", flags = "place_center_x",
rotation = "random", rotation = "random",
spawn_by = "ethereal:grove_dirt", num_spawn_by = 8}) spawn_by = "ethereal:grove_dirt", num_spawn_by = 8})