2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
-- register decoration helper
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
local function register_decoration(enabled, def)
|
2021-11-27 13:54:46 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
if enabled ~= 1 then return end
|
|
|
|
|
|
|
|
def.sidelen = def.sidelen or 80 -- some handy defaults
|
|
|
|
def.deco_type = "simple"
|
|
|
|
def.y_min = def.y_min or 1
|
|
|
|
def.y_max = def.y_max or 100
|
|
|
|
|
|
|
|
minetest.register_decoration(def)
|
2020-06-12 17:04:48 +03:00
|
|
|
end
|
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
-- wild cotton added in 5.3.0
|
|
|
|
|
|
|
|
register_decoration(1, {
|
|
|
|
name = "farming:cotton_wild",
|
|
|
|
place_on = {"default:dry_dirt_with_dry_grass"},
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
|
|
|
offset = -0.1, scale = 0.1, spread = {x = 50, y = 50, z = 50},
|
|
|
|
seed = 4242, octaves = 3, persist = 0.7
|
|
|
|
},
|
|
|
|
biomes = {"savanna"},
|
|
|
|
decoration = "farming:cotton_wild"})
|
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- water pools in swamp areas
|
2021-11-27 13:54:46 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2024-08-16 13:05:33 +03:00
|
|
|
place_on = {"default:dirt_with_grass"},
|
2024-08-19 11:07:23 +03:00
|
|
|
sidelen = 4,
|
2024-08-16 13:05:33 +03:00
|
|
|
place_offset_y = -1,
|
|
|
|
fill_ratio = 0.01,
|
|
|
|
biomes = {"swamp"},
|
2024-08-19 11:07:23 +03:00
|
|
|
y_min = 1, y_max = 2,
|
2024-08-16 13:05:33 +03:00
|
|
|
flags = "force_placement",
|
|
|
|
decoration = "default:water_source",
|
2024-08-19 11:07:23 +03:00
|
|
|
spawn_by = "default:dirt_with_grass", num_spawn_by = 8})
|
2021-11-27 13:54:46 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2024-08-16 13:05:33 +03:00
|
|
|
place_on = {"default:dirt_with_grass"},
|
2024-08-19 11:07:23 +03:00
|
|
|
sidelen = 4,
|
2024-08-16 13:05:33 +03:00
|
|
|
place_offset_y = -1,
|
|
|
|
fill_ratio = 0.1,
|
|
|
|
biomes = {"swamp"},
|
2024-08-19 11:07:23 +03:00
|
|
|
y_min = 1, y_max = 2,
|
2024-08-16 13:05:33 +03:00
|
|
|
flags = "force_placement",
|
|
|
|
decoration = "default:water_source",
|
2024-08-19 11:07:23 +03:00
|
|
|
spawn_by = {"default:dirt_with_grass", "default:water_source"}, num_spawn_by = 8})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- dry dirt patches
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2024-08-16 13:05:33 +03:00
|
|
|
place_on = {"default:dry_dirt_with_dry_grass"},
|
|
|
|
sidelen = 4,
|
|
|
|
noise_params = {
|
2024-08-19 11:07:23 +03:00
|
|
|
offset = -1.5, scale = -1.5, spread = {x = 200, y = 200, z = 200},
|
|
|
|
seed = 329, octaves = 4, persist = 1.0
|
2024-08-16 13:05:33 +03:00
|
|
|
},
|
|
|
|
biomes = {"savanna"},
|
|
|
|
decoration = "default:dry_dirt",
|
|
|
|
place_offset_y = -1,
|
|
|
|
flags = "force_placement"
|
|
|
|
})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
-- firethorn shrub
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.glacier, {
|
|
|
|
place_on = "default:snowblock",
|
|
|
|
fill_ratio = 0.001,
|
|
|
|
biomes = {"glacier"},
|
|
|
|
y_min = 1, y_max = 30,
|
|
|
|
decoration = "ethereal:firethorn"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- scorched tree
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.plains, {
|
|
|
|
place_on = "ethereal:dry_dirt",
|
|
|
|
fill_ratio = 0.006,
|
|
|
|
biomes = {"plains"},
|
|
|
|
decoration = "ethereal:scorched_tree", height_max = 6})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- dry shrub
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.plains, {
|
|
|
|
place_on = {"ethereal:dry_dirt"},
|
|
|
|
fill_ratio = 0.015,
|
|
|
|
biomes = {"plains"},
|
|
|
|
decoration = "default:dry_shrub"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.grassy, {
|
|
|
|
place_on = {"default:sand"},
|
|
|
|
fill_ratio = 0.015,
|
|
|
|
biomes = {"deciduous_forest_ocean"},
|
|
|
|
decoration = "default:dry_shrub"})
|
|
|
|
|
|
|
|
register_decoration(ethereal.desert, {
|
|
|
|
place_on = {"default:desert_sand"},
|
|
|
|
fill_ratio = 0.015,
|
|
|
|
biomes = {"desert"},
|
|
|
|
decoration = "default:dry_shrub"})
|
|
|
|
|
|
|
|
register_decoration(ethereal.sandstone, {
|
|
|
|
place_on = {"default:sandstone"},
|
|
|
|
fill_ratio = 0.015,
|
|
|
|
biomes = {"sandstone_desert"},
|
|
|
|
decoration = "default:dry_shrub"})
|
|
|
|
|
|
|
|
register_decoration(ethereal.mesa, {
|
|
|
|
place_on = {"default:dirt_with_dry_grass"},
|
|
|
|
fill_ratio = 0.015,
|
|
|
|
biomes = {"mesa"},
|
|
|
|
decoration = "default:dry_shrub"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- dry grass
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.savanna, {
|
|
|
|
place_on = {"default:dry_dirt_with_dry_grass", "default:dirt_with_dry_grass"},
|
|
|
|
fill_ratio = 0.25,
|
|
|
|
biomes = {"savanna"},
|
|
|
|
decoration = {"default:dry_grass_2", "default:dry_grass_3", "default:dry_grass_4",
|
|
|
|
"default:dry_grass_5"}})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.mesa, {
|
|
|
|
place_on = {"default:dirt_with_dry_grass"},
|
|
|
|
fill_ratio = 0.10,
|
|
|
|
biomes = {"mesa"},
|
|
|
|
decoration = {"default:dry_grass_2", "default:dry_grass_3", "default:dry_grass_4",
|
|
|
|
"default:dry_grass_5"}})
|
|
|
|
|
|
|
|
register_decoration(ethereal.caves, {
|
|
|
|
place_on = {"default:desert_stone"},
|
|
|
|
fill_ratio = 0.005,
|
|
|
|
biomes = {"caves"},
|
|
|
|
y_min = 5, y_max = 42,
|
|
|
|
decoration = {"default:dry_grass_2", "default:dry_grass_3", "default:dry_shrub"}})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- flowers & strawberry
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration((ethereal.grassy or ethereal.grassytwo), {
|
|
|
|
place_on = {"default:dirt_with_grass"},
|
|
|
|
fill_ratio = 0.025,
|
|
|
|
biomes = {"deciduous_forest", "grassytwo"},
|
|
|
|
decoration = {"flowers:dandelion_white", "flowers:dandelion_yellow",
|
|
|
|
"flowers:geranium", "flowers:rose", "flowers:tulip",
|
|
|
|
"flowers:viola", "ethereal:strawberry_7"}})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- prairie flowers & strawberry
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.prairie, {
|
|
|
|
place_on = {"ethereal:prairie_dirt"},
|
|
|
|
fill_ratio = 0.035,
|
|
|
|
biomes = {"prairie"},
|
|
|
|
decoration = {"flowers:dandelion_white", "flowers:dandelion_yellow",
|
|
|
|
"flowers:geranium", "flowers:rose", "flowers:tulip",
|
|
|
|
"flowers:viola", "ethereal:strawberry_7", "flowers:chrysanthemum_green",
|
|
|
|
"flowers:tulip_black"}})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
-- crystal spike & grass
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.frost, {
|
|
|
|
place_on = {"ethereal:crystal_dirt"},
|
|
|
|
fill_ratio = 0.02,
|
|
|
|
biomes = {"frost", "frost_floatland"},
|
|
|
|
y_min = 1, y_max = 1750,
|
|
|
|
decoration = {"ethereal:crystal_spike", "ethereal:crystalgrass"}})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- red shrub
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.fiery, {
|
|
|
|
place_on = {"ethereal:fiery_dirt"},
|
|
|
|
fill_ratio = 0.10,
|
|
|
|
biomes = {"fiery"},
|
|
|
|
decoration = "ethereal:dry_shrub"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- snowy grass
|
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration((ethereal.grayness or ethereal.snowy), {
|
|
|
|
place_on = {"ethereal:gray_dirt", "ethereal:cold_dirt",
|
|
|
|
"default:dirt_with_coniferous_litter"},
|
|
|
|
fill_ratio = 0.05,
|
|
|
|
biomes = {"grayness", "coniferous_forest"},
|
|
|
|
decoration = "ethereal:snowygrass"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- cactus
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.sandstone, {
|
|
|
|
place_on = {"default:sandstone"},
|
|
|
|
fill_ratio = 0.002,
|
|
|
|
biomes = {"sandstone_desert"},
|
|
|
|
decoration = "default:cactus", height_max = 3})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.desert, {
|
|
|
|
place_on = {"default:desert_sand"},
|
|
|
|
fill_ratio = 0.005,
|
|
|
|
biomes = {"desert"},
|
|
|
|
decoration = "default:cactus", height_max = 4})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2023-06-08 18:06:57 +03:00
|
|
|
-- spore grass
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.mushroom, {
|
|
|
|
place_on = {"ethereal:mushroom_dirt"},
|
|
|
|
fill_ratio = 0.1,
|
|
|
|
biomes = {"mushroom"},
|
|
|
|
decoration = "ethereal:spore_grass"})
|
2023-06-08 18:06:57 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
-- red & brown mushroom
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"default:dirt_with_rainforest_litter", "default:dirt_with_grass",
|
|
|
|
"ethereal:prairie_dirt", "ethereal:mushroom_dirt"},
|
2024-04-17 14:15:33 +03:00
|
|
|
sidelen = 16,
|
|
|
|
fill_ratio = 0.01,
|
2024-08-19 11:07:23 +03:00
|
|
|
biomes = {"junglee", "deciduous_forest", "grassytwo", "prairie", "swamp", "mushroom"},
|
|
|
|
decoration = {"flowers:mushroom_brown", "flowers:mushroom_red"}})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- jungle grass
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.junglee, {
|
2024-08-19 14:48:35 +03:00
|
|
|
place_on = {"default:dirt_with_rainforest_litter"},
|
2024-08-19 11:07:23 +03:00
|
|
|
fill_ratio = 0.1,
|
|
|
|
biomes = {"junglee"},
|
|
|
|
decoration = "default:junglegrass"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.jumble, {
|
|
|
|
place_on = {"default:dirt_with_grass"},
|
|
|
|
fill_ratio = 0.15,
|
|
|
|
biomes = {"jumble"},
|
|
|
|
decoration = "default:junglegrass"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.swamp, {
|
|
|
|
place_on = {"default:dirt_with_grass"},
|
|
|
|
fill_ratio = 0.25,
|
|
|
|
biomes = {"swamp"},
|
|
|
|
decoration = "default:junglegrass"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- grass
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"default:dirt_with_grass", "default:dirt_with_rainforest_litter",
|
|
|
|
"ethereal:prairie_dirt", "ethereal:grove_dirt", "ethereal:bamboo_dirt"},
|
|
|
|
fill_ratio = 0.35,
|
|
|
|
biomes = {"deciduous_forest", "grassytwo", "jumble", "junglee", "grove", "prairie",
|
|
|
|
"mediterranean", "bamboo", "sakura"},
|
|
|
|
decoration = {"default:grass_2", "default:grass_3", "default:grass_4",
|
|
|
|
"default:grass_5"}})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"default:dirt_with_grass"},
|
|
|
|
fill_ratio = 0.35,
|
|
|
|
biomes = {"grassland", "swamp"},
|
|
|
|
decoration = {"default:grass_3", "default:grass_4"}})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
-- lilac
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.sakura, {
|
|
|
|
place_on = {"ethereal:bamboo_dirt"},
|
2024-08-19 13:33:40 +03:00
|
|
|
fill_ratio = 0.025,
|
2024-08-19 11:07:23 +03:00
|
|
|
biomes = {"sakura"},
|
|
|
|
decoration = "ethereal:lilac"})
|
2022-11-07 14:04:56 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- marram grass
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-20 10:37:40 +03:00
|
|
|
register_decoration(1, {
|
2024-08-19 11:07:23 +03:00
|
|
|
place_on = {"default:sand"},
|
|
|
|
fill_ratio = 0.25,
|
2024-08-20 10:37:40 +03:00
|
|
|
y_min = 3, y_max = 5,
|
|
|
|
biomes = {"coniferous_forest_ocean", "grassland_ocean"},
|
2024-08-19 11:07:23 +03:00
|
|
|
decoration = {"default:marram_grass_1", "default:marram_grass_2",
|
|
|
|
"default:marram_grass_3"}})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- ferns
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.grove, {
|
|
|
|
place_on = {"ethereal:grove_dirt"},
|
|
|
|
fill_ratio = 0.2,
|
|
|
|
biomes = {"grove"},
|
|
|
|
decoration = "ethereal:fern"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.swamp, {
|
|
|
|
place_on = {"default:dirt_with_grass"},
|
|
|
|
fill_ratio = 0.1,
|
|
|
|
biomes = {"swamp"},
|
|
|
|
decoration = "ethereal:fern"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.frost, { -- chance of something edible so high up
|
|
|
|
place_on = {"ethereal:crystal_dirt"},
|
|
|
|
fill_ratio = 0.001,
|
|
|
|
y_min = 1025, y_max = 1750,
|
|
|
|
biomes = {"frost_floatland"},
|
|
|
|
decoration = "ethereal:fern"})
|
2021-04-18 10:29:42 +03:00
|
|
|
|
2020-05-28 16:20:31 +03:00
|
|
|
-- snow
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.snowy, {
|
|
|
|
place_on = {"default:dirt_with_coniferous_litter"},
|
|
|
|
fill_ratio = 0.8,
|
|
|
|
y_min = 20, y_max = 40,
|
|
|
|
biomes = {"coniferous_forest"},
|
|
|
|
decoration = "default:snow"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.alpine, {
|
|
|
|
place_on = {"default:dirt_with_snow"},
|
|
|
|
fill_ratio = 0.8,
|
|
|
|
y_min = 40, y_max = 140,
|
|
|
|
biomes = {"taiga"},
|
|
|
|
decoration = "default:snow"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 17:19:46 +03:00
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"ethereal:cold_dirt"},
|
|
|
|
fill_ratio = 0.4,
|
|
|
|
y_min = 2, y_max = 40,
|
|
|
|
biomes = {"cold_grass"},
|
|
|
|
decoration = "default:snow"})
|
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
-- wild onion and setting
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2023-12-04 11:07:56 +03:00
|
|
|
local abundant = minetest.settings:get_bool("ethereal.abundant_onions") ~= false
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"default:dirt_with_grass", "ethereal:prairie_dirt"},
|
|
|
|
fill_ratio = (abundant and 0.025 or 0.005),
|
|
|
|
biomes = {"deciduous_forest", "grassytwo", "jumble", "prairie"},
|
|
|
|
decoration = "ethereal:onion_4"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- papyrus
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration((ethereal.grassy or ethereal.junglee or ethereal.swamp), {
|
|
|
|
place_on = {"default:dirt_with_grass", "default:dirt_with_rainforest_litter"},
|
|
|
|
fill_ratio = 0.1,
|
|
|
|
y_min = 1, y_max = 1,
|
|
|
|
biomes = {"deciduous_forest", "junglee", "swamp"},
|
|
|
|
decoration = "default:papyrus", height_max = 4,
|
|
|
|
spawn_by = "default:water_source", num_spawn_by = 1})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
--= Farming Redo plants
|
|
|
|
|
|
|
|
if farming and farming.mod and farming.mod == "redo" then
|
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
print ("[MOD] Ethereal - Farming Redo detected")
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- potato
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.junglee, {
|
|
|
|
place_on = {"default:dirt_with_rainforest_litter"},
|
|
|
|
fill_ratio = 0.002,
|
|
|
|
biomes = {"junglee"},
|
|
|
|
decoration = "farming:potato_3"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- carrot, cucumber, potato, tomato, corn, coffee, raspberry, rhubarb
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.grassytwo, {
|
|
|
|
place_on = {"default:dirt_with_grass"},
|
|
|
|
fill_ratio = 0.002,
|
|
|
|
biomes = {"grassytwo"},
|
|
|
|
decoration = {"farming:carrot_7", "farming:cucumber_4", "farming:potato_3",
|
|
|
|
"farming:vanilla_7", "farming:tomato_7", "farming:corn_8", "farming:coffee_5",
|
|
|
|
"farming:blackberry_4", "farming:raspberry_4", "farming:rhubarb_3",
|
|
|
|
"farming:blueberry_4", "farming:cabbage_6", "farming:lettuce_5",
|
|
|
|
"farming:sunflower_8", "farming:asparagus_4"}})
|
|
|
|
|
|
|
|
register_decoration(ethereal.grassy, {
|
|
|
|
place_on = {"default:dirt_with_grass"},
|
|
|
|
fill_ratio = 0.002,
|
|
|
|
biomes = {"grassytwo"},
|
|
|
|
decoration = {"farming:carrot_7", "farming:cucumber_4", "farming:potato_3",
|
|
|
|
"farming:vanilla_7", "farming:tomato_7", "farming:corn_8", "farming:coffee_5",
|
|
|
|
"farming:blackberry_4", "farming:raspberry_4", "farming:rhubarb_3",
|
|
|
|
"farming:blueberry_4", "farming:cabbage_6", "farming:lettuce_5",
|
|
|
|
"farming:sunflower_8", "farming:eggplant_3"}})
|
|
|
|
|
|
|
|
register_decoration(ethereal.jumble, {
|
|
|
|
place_on = {"default:dirt_with_grass"},
|
|
|
|
fill_ratio = 0.002,
|
|
|
|
biomes = {"jumble"},
|
|
|
|
decoration = {"farming:carrot_7", "farming:cucumber_4", "farming:potato_3",
|
|
|
|
"farming:vanilla_7", "farming:tomato_7", "farming:corn_8", "farming:coffee_5",
|
|
|
|
"farming:blackberry_4", "farming:raspberry_4", "farming:rhubarb_3",
|
|
|
|
"farming:blueberry_4", "farming:cabbage_6", "farming:lettuce_5",
|
|
|
|
"farming:spinage_3"}})
|
|
|
|
|
|
|
|
register_decoration(ethereal.prairie, {
|
|
|
|
place_on = {"ethereal:prairie_dirt"},
|
|
|
|
fill_ratio = 0.025,
|
|
|
|
biomes = {"prairie"},
|
|
|
|
decoration = {"farming:carrot_7", "farming:cucumber_4", "farming:potato_3",
|
|
|
|
"farming:parsley_3", "farming:tomato_7", "farming:corn_8", "farming:coffee_5",
|
|
|
|
"farming:blackberry_4", "farming:raspberry_4", "farming:rhubarb_3",
|
|
|
|
"farming:blueberry_4", "farming:pea_5", "farming:beetroot_5",
|
|
|
|
"farming:sunflower_8"}})
|
|
|
|
|
|
|
|
register_decoration(ethereal.mediterranean, {
|
|
|
|
place_on = {"ethereal:grove_dirt"},
|
|
|
|
fill_ratio = 0.002,
|
|
|
|
biomes = {"mediterranean"},
|
|
|
|
decoration = "farming:parsley_3"})
|
2021-03-11 12:48:52 +03:00
|
|
|
|
2020-05-28 16:20:31 +03:00
|
|
|
-- melon and pumpkin
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"default:dirt_with_grass", "default:dirt_with_rainforest_litter"},
|
|
|
|
fill_ratio = 0.001,
|
|
|
|
y_min = 1, y_max = 1,
|
|
|
|
biomes = {"junglee", "deciduous_forest", "grassytwo", "jumble"},
|
|
|
|
decoration = {"farming:melon_8", "farming:pumpkin_8"},
|
|
|
|
spawn_by = "default:water_source", num_spawn_by = 1})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- mint
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"default:dirt_with_grass", "default:dirt_with_coniferous_litter",
|
|
|
|
"ethereal:bamboo_dirt"},
|
|
|
|
fill_ratio = 0.005,
|
|
|
|
y_min = 1, y_max = 75,
|
|
|
|
decoration = "farming:mint_4",
|
|
|
|
spawn_by = {"group:water", "group:sand"}, num_spawn_by = 1})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- green beans
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.grassytwo, {
|
|
|
|
place_on = {"default:dirt_with_grass"},
|
|
|
|
fill_ratio = 0.001,
|
|
|
|
biomes = {"grassytwo"},
|
|
|
|
decoration = "farming:beanbush"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
-- grape bushel
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration((ethereal.grassy or ethereal.grassytwo or ethereal.prairie), {
|
|
|
|
place_on = {"default:dirt_with_grass", "ethereal:prairie_dirt"},
|
|
|
|
fill_ratio = 0.001,
|
|
|
|
biomes = {"grassy", "grassytwo", "prairie"},
|
|
|
|
decoration = "farming:grapebush"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- chili, garlic, pepper, onion, hemp, soy, ginger
|
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2020-05-28 16:20:31 +03:00
|
|
|
place_on = {"default:dirt_with_grass", "ethereal:prairie_dirt",
|
|
|
|
"default:dirt_with_rainforest_litter"},
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
2024-08-19 11:07:23 +03:00
|
|
|
offset = 0, scale = 0.002, spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 760, octaves = 3, persist = 0.6
|
2020-05-28 16:20:31 +03:00
|
|
|
},
|
2024-08-19 11:07:23 +03:00
|
|
|
y_min = 5, y_max = 35,
|
2020-12-13 12:34:10 +03:00
|
|
|
decoration = {
|
|
|
|
"farming:chili_8", "farming:garlic_5", "farming:pepper_5", "farming:pepper_6",
|
2022-10-28 14:22:05 +03:00
|
|
|
"farming:onion_5", "farming:hemp_7", "farming:pepper_7", "farming:soy_5",
|
2024-08-19 11:07:23 +03:00
|
|
|
"farming:ginger"},
|
|
|
|
spawn_by = "group:tree", num_spawn_by = 1})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- pineapple,soy
|
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2020-05-28 16:20:31 +03:00
|
|
|
place_on = {"default:dirt_with_dry_grass"},
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
2024-08-19 11:07:23 +03:00
|
|
|
offset = 0, scale = 0.002, spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 917, octaves = 3, persist = 0.6
|
2020-05-28 16:20:31 +03:00
|
|
|
},
|
2024-08-19 11:07:23 +03:00
|
|
|
y_min = 18, y_max = 30,
|
|
|
|
decoration = {"farming:pineapple_8", "farming:soy_5"}})
|
2021-03-11 12:48:52 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- artichoke
|
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2021-03-11 12:48:52 +03:00
|
|
|
place_on = {"ethereal:grove_dirt"},
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
2024-08-19 11:07:23 +03:00
|
|
|
offset = 0, scale = 0.002, spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 448, octaves = 3, persist = 0.6
|
2021-03-11 12:48:52 +03:00
|
|
|
},
|
2024-08-19 11:07:23 +03:00
|
|
|
y_min = 15, y_max = 40,
|
2021-03-11 12:48:52 +03:00
|
|
|
decoration = {"farming:artichoke_5"},
|
2024-08-19 11:07:23 +03:00
|
|
|
spawn_by = "group:tree", num_spawn_by = 1})
|
|
|
|
|
|
|
|
end -- end farming
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- new flowers from baked clay mod
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
if minetest.get_modpath("bakedclay") then
|
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"ethereal:prairie_dirt", "default:dirt_with_grass", "ethereal:grove_dirt"},
|
2020-05-28 16:20:31 +03:00
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
2024-08-19 11:07:23 +03:00
|
|
|
offset = 0, scale = 0.004, spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 7133, octaves = 3, persist = 0.6
|
2020-05-28 16:20:31 +03:00
|
|
|
},
|
2024-08-19 11:07:23 +03:00
|
|
|
y_min = 10, y_max = 90,
|
|
|
|
decoration = "bakedclay:delphinium"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"ethereal:prairie_dirt", "default:dirt_with_grass",
|
|
|
|
"ethereal:grove_dirt", "ethereal:bamboo_dirt"},
|
2020-05-28 16:20:31 +03:00
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
2024-08-19 11:07:23 +03:00
|
|
|
offset = 0, scale = 0.004, spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 7134, octaves = 3, persist = 0.6
|
2020-05-28 16:20:31 +03:00
|
|
|
},
|
2024-08-19 11:07:23 +03:00
|
|
|
y_min = 15, y_max = 90,
|
|
|
|
decoration = "bakedclay:thistle"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2020-05-28 16:20:31 +03:00
|
|
|
place_on = {"ethereal:jungle_dirt", "default:dirt_with_rainforest_litter"},
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
2024-08-19 11:07:23 +03:00
|
|
|
offset = 0, scale = 0.01, spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 7135, octaves = 3, persist = 0.6
|
2020-05-28 16:20:31 +03:00
|
|
|
},
|
2024-08-19 11:07:23 +03:00
|
|
|
y_min = 1, y_max = 90,
|
2020-05-28 16:20:31 +03:00
|
|
|
decoration = "bakedclay:lazarus",
|
2024-08-19 11:07:23 +03:00
|
|
|
spawn_by = "default:jungletree", num_spawn_by = 1})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2020-05-28 16:20:31 +03:00
|
|
|
place_on = {"default:dirt_with_grass", "default:sand"},
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
2024-08-19 11:07:23 +03:00
|
|
|
offset = 0, scale = 0.009, spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 7136, octaves = 3, persist = 0.6
|
2020-05-28 16:20:31 +03:00
|
|
|
},
|
2024-08-19 11:07:23 +03:00
|
|
|
y_min = 1, y_max = 15,
|
2020-05-28 16:20:31 +03:00
|
|
|
decoration = "bakedclay:mannagrass",
|
2024-08-19 11:07:23 +03:00
|
|
|
spawn_by = "group:water", num_spawn_by = 1})
|
2020-05-28 16:20:31 +03:00
|
|
|
end
|
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- blue agave from wine mod
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
if minetest.get_modpath("wine") then
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.desert, {
|
2021-11-27 13:54:46 +03:00
|
|
|
place_on = {"default:desert_sand"},
|
2020-05-28 16:20:31 +03:00
|
|
|
sidelen = 16,
|
2021-11-27 13:54:46 +03:00
|
|
|
fill_ratio = 0.001,
|
|
|
|
biomes = {"desert"},
|
2024-08-19 11:07:23 +03:00
|
|
|
decoration = {"wine:blue_agave"}})
|
2020-05-28 16:20:31 +03:00
|
|
|
end
|
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
-- ferns
|
2021-11-27 13:54:46 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
local function register_fern_decoration(seed, length)
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.snowy, {
|
|
|
|
name = "default:fern_" .. length,
|
|
|
|
place_on = {"ethereal:cold_dirt", "default:dirt_with_coniferous_litter"},
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
|
|
|
offset = 0, scale = 0.2, spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = seed, octaves = 3, persist = 0.7
|
|
|
|
},
|
2024-08-19 17:19:46 +03:00
|
|
|
y_min = 3, y_max = 100,
|
2024-08-19 11:07:23 +03:00
|
|
|
decoration = "default:fern_" .. length})
|
|
|
|
end
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_fern_decoration(14936, 3)
|
|
|
|
register_fern_decoration(801, 2)
|
|
|
|
register_fern_decoration(5, 1)
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
-- Tundra moss
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.tundra, {
|
|
|
|
place_on = {"default:permafrost_with_stones"},
|
|
|
|
sidelen = 4,
|
|
|
|
noise_params = {
|
|
|
|
offset = -0.8, scale = 2.0, spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 53995, octaves = 3, persist = 1.0
|
|
|
|
},
|
|
|
|
biomes = {"tundra"},
|
|
|
|
y_min = 2, y_max = 50,
|
|
|
|
decoration = "default:permafrost_with_moss",
|
|
|
|
place_offset_y = -1,
|
|
|
|
flags = "force_placement"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
-- Tundra patchy snow
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(ethereal.tundra, {
|
|
|
|
place_on = {"default:permafrost_with_moss", "default:permafrost_with_stones",
|
|
|
|
"default:stone", "default:gravel"},
|
|
|
|
sidelen = 4,
|
|
|
|
noise_params = {
|
|
|
|
offset = 0, scale = 1.0, spread = {x = 100, y = 100, z = 100},
|
|
|
|
seed = 172555, octaves = 3, persist = 1.0
|
|
|
|
},
|
|
|
|
biomes = {"tundra", "tundra_beach"},
|
|
|
|
y_min = 1, y_max = 50,
|
|
|
|
decoration = "default:snow"})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- butterflies mod
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
if minetest.get_modpath("butterflies") then
|
2021-11-27 13:54:46 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2021-11-27 13:54:46 +03:00
|
|
|
name = "butterflies:butterfly",
|
|
|
|
place_on = {"default:dirt_with_grass", "ethereal:prairie_dirt"},
|
|
|
|
place_offset_y = 2,
|
|
|
|
fill_ratio = 0.005,
|
|
|
|
biomes = {"deciduous_forest", "grassytwo", "prairie", "jumble"},
|
2024-08-19 11:07:23 +03:00
|
|
|
y_min = 1, y_max = 200,
|
2021-11-27 13:54:46 +03:00
|
|
|
decoration = {
|
|
|
|
"butterflies:butterfly_white",
|
|
|
|
"butterflies:butterfly_red",
|
|
|
|
"butterflies:butterfly_violet"
|
|
|
|
},
|
2024-08-19 11:07:23 +03:00
|
|
|
spawn_by = "group:flower", num_spawn_by = 1})
|
2022-07-27 14:16:05 +03:00
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
-- restart butterfly timers
|
|
|
|
minetest.register_lbm({
|
|
|
|
name = ":butterflies:butterfly_timer",
|
|
|
|
nodenames = {
|
|
|
|
"butterflies:butterfly_white", "butterflies:butterfly_red",
|
|
|
|
"butterflies:butterfly_violet"
|
|
|
|
},
|
2022-10-01 09:21:00 +03:00
|
|
|
run_at_every_load = true,
|
2022-07-27 14:16:05 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
action = function(pos) minetest.get_node_timer(pos):start(5) end
|
2022-09-30 19:26:44 +03:00
|
|
|
})
|
2020-05-28 16:20:31 +03:00
|
|
|
end
|
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- fireflies mod
|
2020-05-28 16:20:31 +03:00
|
|
|
|
|
|
|
if minetest.get_modpath("fireflies") then
|
2021-11-27 13:54:46 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2020-05-28 16:20:31 +03:00
|
|
|
name = "fireflies:firefly_low",
|
2024-08-19 11:07:23 +03:00
|
|
|
place_on = {"default:dirt_with_grass", "default:dirt_with_coniferous_litter",
|
|
|
|
"default:dirt_with_rainforest_litter", "default:dirt",
|
|
|
|
"ethereal:cold_dirt", "prairie"},
|
2020-05-28 16:20:31 +03:00
|
|
|
place_offset_y = 2,
|
|
|
|
fill_ratio = 0.0005,
|
2024-08-19 11:07:23 +03:00
|
|
|
biomes = {"deciduous_forest", "grassytwo", "coniferous_forest", "junglee",
|
|
|
|
"swamp"},
|
|
|
|
y_min = -1, y_max = 200,
|
|
|
|
decoration = "fireflies:hidden_firefly"})
|
2022-07-27 14:16:05 +03:00
|
|
|
|
2022-09-30 19:26:44 +03:00
|
|
|
-- restart firefly timers
|
|
|
|
minetest.register_lbm({
|
|
|
|
name = ":fireflies:firefly_timer",
|
|
|
|
nodenames = {"fireflies:firefly", "fireflies:hidden_firefly"},
|
2022-10-01 09:21:00 +03:00
|
|
|
run_at_every_load = true,
|
2022-07-27 14:16:05 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
action = function(pos) minetest.get_node_timer(pos):start(5) end
|
2022-09-30 19:26:44 +03:00
|
|
|
})
|
2020-05-28 16:20:31 +03:00
|
|
|
end
|
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- Coral Reef
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2024-08-16 13:05:33 +03:00
|
|
|
name = "default:corals",
|
|
|
|
place_on = {"default:sand"},
|
|
|
|
place_offset_y = -1,
|
|
|
|
sidelen = 4,
|
|
|
|
noise_params = {
|
2024-08-19 11:07:23 +03:00
|
|
|
offset = -4, scale = 4, spread = {x = 50, y = 50, z = 50},
|
|
|
|
seed = 7013, octaves = 3, persist = 0.7,
|
2024-08-16 13:05:33 +03:00
|
|
|
},
|
|
|
|
biomes = {"desert_ocean", "savanna_ocean", "junglee_ocean"},
|
2024-08-19 11:07:23 +03:00
|
|
|
y_min = -8, y_max = -2,
|
2024-08-16 13:05:33 +03:00
|
|
|
flags = "force_placement",
|
2024-08-19 11:07:23 +03:00
|
|
|
decoration = {"default:coral_green", "default:coral_pink", "default:coral_cyan",
|
|
|
|
"default:coral_brown", "default:coral_orange", "default:coral_skeleton"}})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-16 13:05:33 +03:00
|
|
|
-- Kelp
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2024-08-16 13:05:33 +03:00
|
|
|
name = "default:kelp",
|
|
|
|
place_on = {"default:sand"},
|
|
|
|
place_offset_y = -1,
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
2024-08-19 11:07:23 +03:00
|
|
|
offset = -0.04, scale = 0.1, spread = {x = 200, y = 200, z = 200},
|
|
|
|
seed = 87112, octaves = 3, persist = 0.7
|
2024-08-16 13:05:33 +03:00
|
|
|
},
|
2024-08-19 11:07:23 +03:00
|
|
|
biomes = {"frost_ocean", "deciduous_forest_ocean", "sandstone_ocean", "swamp_ocean"},
|
|
|
|
y_min = -10, y_max = -5,
|
2024-08-16 13:05:33 +03:00
|
|
|
flags = "force_placement",
|
|
|
|
decoration = "default:sand_with_kelp",
|
2024-08-19 11:07:23 +03:00
|
|
|
param2 = 48, param2_max = 96})
|
2020-05-28 16:20:31 +03:00
|
|
|
|
2024-08-06 18:24:52 +03:00
|
|
|
-- illumishrooms using underground decoration placement
|
2024-08-16 13:05:33 +03:00
|
|
|
|
2024-08-06 18:24:52 +03:00
|
|
|
local function add_illumishroom(low, high, nodename)
|
|
|
|
|
2024-08-19 11:07:23 +03:00
|
|
|
register_decoration(1, {
|
2024-08-06 18:24:52 +03:00
|
|
|
place_on = {"default:stone_with_coal"},
|
|
|
|
sidelen = 16,
|
|
|
|
fill_ratio = 0.5,
|
2024-08-19 11:07:23 +03:00
|
|
|
y_min = low, y_max = high,
|
2024-08-06 18:24:52 +03:00
|
|
|
flags = "force_placement, all_floors",
|
2024-08-19 11:07:23 +03:00
|
|
|
decoration = nodename})
|
2024-06-09 15:51:54 +03:00
|
|
|
end
|
2024-08-06 18:24:52 +03:00
|
|
|
|
|
|
|
add_illumishroom(-1000, -30, "ethereal:illumishroom")
|
|
|
|
add_illumishroom(-2000, -1000, "ethereal:illumishroom2")
|
|
|
|
add_illumishroom(-3000, -2000, "ethereal:illumishroom3")
|
2024-08-20 10:37:40 +03:00
|
|
|
|
|
|
|
--= Register Biome Decoration Using Plants Mega Pack Lite if Xanadu found
|
|
|
|
|
|
|
|
if minetest.get_modpath("xanadu") then
|
|
|
|
|
|
|
|
--= Desert Biome
|
|
|
|
|
|
|
|
-- Cactus
|
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"default:desert_sand", "default:sandstone"},
|
|
|
|
sidelen = 16, fill_ratio = 0.005,
|
|
|
|
biomes = {"desert", "sandstone"},
|
|
|
|
decoration = {"xanadu:cactus_echinocereus", "xanadu:cactus_matucana",
|
|
|
|
"xanadu:cactus_baseball", "xanadu:cactus_golden"}})
|
|
|
|
|
|
|
|
-- Desert Plants
|
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"default:desert_sand", "default:sandstone", "default:sand"},
|
|
|
|
sidelen = 16, fill_ratio = 0.004,
|
|
|
|
biomes = {"desert", "sandstone"},
|
|
|
|
decoration = {"xanadu:desert_kangaroo", "xanadu:desert_brittle",
|
|
|
|
"xanadu:desert_ocotillo", "xanadu:desert_whitesage"}})
|
|
|
|
|
|
|
|
--= Prairie Biome
|
|
|
|
|
|
|
|
-- Grass
|
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"ethereal:prairie_dirt", "default:dirt_with_grass"},
|
|
|
|
sidelen = 16, fill_ratio = 0.005,
|
|
|
|
biomes = {"prairie", "deciduous_forest", "grassytwo"},
|
|
|
|
decoration = {"xanadu:grass_prairie", "xanadu:grass_cord",
|
|
|
|
"xanadu:grass_wheatgrass", "xanadu:desert_whitesage"}})
|
|
|
|
|
|
|
|
-- Flowers
|
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"ethereal:prairie_dirt", "default:dirt_with_grass",
|
|
|
|
"ethereal:grove_dirt", "ethereal:bamboo_dirt"},
|
|
|
|
sidelen = 16, fill_ratio = 0.005,
|
|
|
|
biomes = {"prairie", "deciduous_forest", "grassytwo", "bamboo"},
|
|
|
|
decoration = {"xanadu:flower_jacobsladder", "xanadu:flower_thistle",
|
|
|
|
"xanadu:flower_wildcarrot"}})
|
|
|
|
|
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"ethereal:prairie_dirt", "default:dirt_with_grass",
|
|
|
|
"ethereal:grove_dirt"},
|
|
|
|
sidelen = 16, fill_ratio = 0.005,
|
|
|
|
biomes = {"prairie", "deciduous_forest", "grassytwo", "grove"},
|
|
|
|
decoration = {"xanadu:flower_delphinium", "xanadu:flower_celosia",
|
|
|
|
"xanadu:flower_daisy", "xanadu:flower_bluerose"}})
|
|
|
|
|
|
|
|
-- Shrubs
|
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"ethereal:prairie_dirt", "default:dirt_with_grass",
|
|
|
|
"ethereal:grove_dirt", "ethereal:jungle_grass", "ethereal:gray_dirt",
|
|
|
|
"default:dirt_with_rainforest_litter"},
|
|
|
|
sidelen = 16, fill_ratio = 0.005,
|
|
|
|
biomes = {"prairie", "deciduous_forest", "grassytwo", "grove", "junglee",
|
|
|
|
"grayness", "jumble"},
|
|
|
|
decoration = {"xanadu:shrub_kerria", "xanadu:shrub_spicebush"}})
|
|
|
|
|
|
|
|
--= Jungle Biome
|
|
|
|
|
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"default:dirt_with_grass", "default:dirt_with_rainforest_litter"},
|
|
|
|
sidelen = 16, fill_ratio = 0.007,
|
|
|
|
biomes = {"junglee", "jumble"},
|
|
|
|
decoration = {"xanadu:rainforest_guzmania", "xanadu:rainforest_devil",
|
|
|
|
"xanadu:rainforest_lazarus", "xanadu:rainforest_lollipop",
|
|
|
|
"xanadu:mushroom_woolly"}})
|
|
|
|
|
|
|
|
--= Cold Biomes
|
|
|
|
|
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"default:dirt_with_snow", "ethereal:gray_dirt"},
|
|
|
|
sidelen = 16, fill_ratio = 0.005,
|
|
|
|
biomes = {"coniferous_forest", "taiga", "grayness"},
|
|
|
|
decoration = {"xanadu:mountain_edelweiss", "xanadu:mountain_armeria",
|
|
|
|
"xanadu:mountain_bellflower", "xanadu:mountain_willowherb",
|
|
|
|
"xanadu:mountain_bistort"}})
|
|
|
|
|
|
|
|
--= Mushroom Biome
|
|
|
|
|
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"ethereal:mushroom_dirt"},
|
|
|
|
sidelen = 16, fill_ratio = 0.005,
|
|
|
|
biomes = {"mushroom"},
|
|
|
|
decoration = {"xanadu:mushroom_powderpuff", "xanadu:mushroom_chanterelle",
|
|
|
|
"xanadu:mushroom_parasol"}})
|
|
|
|
|
|
|
|
--= Lakeside
|
|
|
|
|
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"default:sand", "default:dirt_with_grass"},
|
|
|
|
sidelen = 16, fill_ratio = 0.015,
|
|
|
|
biomes = {"deciduous_forest_ocean", "grassy", "grassytwo", "jumble",
|
|
|
|
"swamp"},
|
|
|
|
decoration = {"xanadu:wetlands_cattails", "xanadu:wetlands_pickerel",
|
|
|
|
"xanadu:wetlands_mannagrass", "xanadu:wetlands_turtle"},
|
|
|
|
spawn_by = "default:water_source", num_spawn_by = 1})
|
|
|
|
|
|
|
|
--= Harsh Biomes
|
|
|
|
|
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"ethereal:mushroom_dirt", "default:dirt_with_grass",
|
|
|
|
"ethereal:gray_dirt", "ethereal:dirt_with_snow", "ethereal:prairie_dirt",
|
|
|
|
"ethereal:grove_dirt", "ethereal:dry_dirt", "ethereal:fiery_dirt",
|
|
|
|
"default:sand", "default:desert_sand", "ethereal:bamboo_dirt",
|
|
|
|
"default:dirt_with_rainforest_litter"},
|
|
|
|
sidelen = 16, fill_ratio = 0.004,
|
|
|
|
biomes = {"mushroom", "prairie", "grayness", "plains", "desert", "junglee",
|
|
|
|
"deciduous_forest", "grassytwo", "jumble", "coniferous_forest", "taiga",
|
|
|
|
"fiery", "mesa", "bamboo"},
|
|
|
|
decoration = {"xanadu:spooky_thornbush", "xanadu:spooky_baneberry"}})
|
|
|
|
end
|
|
|
|
|
|
|
|
--= Poppy's growing in Clearing Biome in memory of RealBadAngel
|
|
|
|
|
|
|
|
register_decoration(1, {
|
|
|
|
place_on = {"default:dirt_with_grass"},
|
|
|
|
sidelen = 16, fill_ratio = 0.004,
|
|
|
|
biomes = {"grassland"},
|
|
|
|
decoration = {"xanadu:poppy"}})
|