2015-04-10 17:38:53 +03:00
|
|
|
-- clear default mapgen biomes and decorations
|
2015-01-20 18:09:07 +03:00
|
|
|
minetest.clear_registered_biomes()
|
|
|
|
minetest.clear_registered_decorations()
|
2015-04-09 11:41:15 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
-- register ore's
|
2015-08-27 18:35:27 +03:00
|
|
|
minetest.register_ore({
|
|
|
|
ore_type = "blob",
|
|
|
|
ore = "bakedclay:red",
|
|
|
|
wherein = {"bakedclay:orange"},
|
|
|
|
clust_scarcity = 4 * 4 * 4,
|
|
|
|
clust_num_ores = 8,
|
|
|
|
clust_size = 6,
|
|
|
|
y_min = -10,
|
|
|
|
y_max = 71,
|
|
|
|
noise_params = {
|
|
|
|
offset = 0.35,
|
|
|
|
scale = 0.2,
|
|
|
|
spread = {x = 5, y = 5, z = 5},
|
|
|
|
seed = -316,
|
|
|
|
octaves = 1,
|
|
|
|
persist = 0.5
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_ore({
|
|
|
|
ore_type = "blob",
|
|
|
|
ore = "bakedclay:grey",
|
|
|
|
wherein = {"bakedclay:orange"},
|
|
|
|
clust_scarcity = 4 * 4 * 4,
|
|
|
|
clust_num_ores = 8,
|
|
|
|
clust_size = 6,
|
|
|
|
y_min = -10,
|
|
|
|
y_max = 71,
|
|
|
|
noise_params = {
|
|
|
|
offset = 0.35,
|
|
|
|
scale = 0.2,
|
|
|
|
spread = {x = 5, y = 5, z = 5},
|
|
|
|
seed = -613,
|
|
|
|
octaves = 1,
|
|
|
|
persist = 0.5
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
local path = minetest.get_modpath("ethereal").."/schematics/"
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
-- tree schematics
|
|
|
|
dofile(path.."apple_tree.lua")
|
|
|
|
dofile(path.."orange_tree.lua")
|
|
|
|
dofile(path.."banana_tree.lua")
|
|
|
|
dofile(path.."bamboo_tree.lua")
|
|
|
|
dofile(path.."birch_tree.lua")
|
|
|
|
dofile(path.."bush.lua")
|
|
|
|
dofile(path.."waterlily.lua")
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
--= Biomes (Minetest 0.4.13 and above)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
local add_biome = function(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
if p ~= 1 then return end
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
minetest.register_biome({
|
|
|
|
name = a,
|
|
|
|
node_dust = b,
|
|
|
|
node_top = c,
|
|
|
|
depth_top = d,
|
|
|
|
node_filler = e,
|
|
|
|
depth_filler = f,
|
|
|
|
node_stone = g,
|
|
|
|
node_water_top = h,
|
|
|
|
depth_water_top = i,
|
|
|
|
node_water = j,
|
|
|
|
node_river_water = k,
|
|
|
|
y_min = l,
|
|
|
|
y_max = m,
|
|
|
|
heat_point = n,
|
|
|
|
humidity_point = o,
|
|
|
|
})
|
2015-01-20 18:09:07 +03:00
|
|
|
end
|
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("underground", nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
|
|
|
-31000, -192, 50, 50, 1)
|
2015-07-25 18:45:29 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("desert", nil, "default:desert_sand", 1, "default:desert_sand", 3,
|
|
|
|
"default:desert_stone", nil, nil, nil, nil, 3, 23, 35, 20, ethereal.desert)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("desert_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
"default:desert_stone", nil, nil, nil, nil, -192, 3, 35, 20, ethereal.desert)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("glacier", "default:snowblock", "default:snowblock", 1,
|
|
|
|
"default:snowblock", 3, "default:ice", "default:ice", 10, -8, 31000, 0, 50, ethereal.glacier)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("glacier_ocean", "default:snowblock", "default:sand", 1, "default:sand", 3,
|
|
|
|
nil, nil, nil, nil, nil, -112, -9, 0, 50, ethereal.glacier)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("bamboo", nil, "ethereal:bamboo_dirt", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 3, 71, 45, 75, ethereal.bamboo)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("bamboo_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 2, 45, 75, ethereal.bamboo)
|
2015-07-25 18:45:29 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("mesa", nil, "bakedclay:orange", 1, "bakedclay:orange", 15,
|
|
|
|
nil, nil, nil, nil, nil, 1, 71, 25, 28, ethereal.mesa)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("mesa_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 1, 25, 28, ethereal.mesa)
|
2015-07-25 18:45:29 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("alpine", nil, "default:dirt_with_snow", 1, "default:dirt", 2,
|
|
|
|
nil, nil, nil, nil, nil, 40, 140, 10, 40, ethereal.alpine)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("snowy", nil, "ethereal:cold_dirt", 1, "default:dirt", 2,
|
|
|
|
nil, nil, nil, nil, nil, 4, 40, 10, 40, ethereal.snowy)
|
2015-07-25 18:45:29 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("frost", nil, "ethereal:crystal_dirt", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 1, 71, 10, 40, ethereal.frost)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("frost_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 1, 10, 40, ethereal.frost)
|
2015-07-25 18:45:29 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("grassy", nil, "ethereal:green_dirt", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 3, 91, 13, 40, ethereal.grassy)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("grassy_ocean", nil, "defaut:sand", 2, "default:gravel", 1,
|
|
|
|
nil, nil, nil, nil, nil, -31000, 3, 13, 40, ethereal.grassy)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("caves", nil, "default:desert_stone", 3, "air", 8,
|
|
|
|
nil, nil, nil, nil, nil, 4, 41, 15, 25, ethereal.caves)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("grayness", nil, "ethereal:gray_dirt", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 2, 41, 15, 30, ethereal.grayness)
|
2015-11-02 00:23:26 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("grayness_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 1, 15, 30, ethereal.grayness)
|
2015-07-25 18:45:29 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("grassytwo", nil, "ethereal:green_dirt", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 1, 91, 15, 40, ethereal.grassytwo)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("grassytwo_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 1, 15, 40, ethereal.grassytwo)
|
2015-07-25 18:45:29 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("prairie", nil, "ethereal:prairie_dirt", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 3, 26, 20, 40, ethereal.prairie)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
add_biome("prairie_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 1, 20, 40, ethereal.prairie)
|
|
|
|
|
|
|
|
add_biome("jumble", nil, "ethereal:green_dirt", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 1, 71, 25, 50, ethereal.jumble)
|
|
|
|
|
|
|
|
add_biome("jumble_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 1, 25, 50, ethereal.jumble)
|
|
|
|
|
|
|
|
add_biome("junglee", nil, "ethereal:jungle_dirt", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 1, 71, 30, 60, ethereal.junglee)
|
|
|
|
|
|
|
|
add_biome("junglee_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 1, 30, 60, ethereal.junglee)
|
|
|
|
|
|
|
|
add_biome("grove", nil, "ethereal:grove_dirt", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 3, 23, 45, 35, ethereal.grove)
|
|
|
|
|
|
|
|
add_biome("grove_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 2, 45, 35, ethereal.grove)
|
|
|
|
|
|
|
|
add_biome("mushroom", nil, "ethereal:mushroom_dirt", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 3, 50, 45, 55, ethereal.mushroom)
|
|
|
|
|
|
|
|
add_biome("mushroom_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 2, 45, 55, ethereal.mushroom)
|
|
|
|
|
|
|
|
add_biome("sandstone", nil, "default:sandstone", 1, "default:sandstone", 1,
|
|
|
|
"default:sandstone", nil, nil, nil, nil, 3, 23, 50, 20, ethereal.sandstone)
|
|
|
|
|
|
|
|
add_biome("sandstone_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 2, 50, 20, ethereal.sandstone)
|
|
|
|
|
|
|
|
add_biome("quicksand", nil, "ethereal:quicksand2", 3, "default:gravel", 1,
|
|
|
|
nil, nil, nil, nil, nil, 1, 1, 50, 38, ethereal.quicksand)
|
|
|
|
|
|
|
|
add_biome("plains", nil, "ethereal:dry_dirt", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 3, 25, 65, 25, ethereal.plains)
|
|
|
|
|
|
|
|
add_biome("plains_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 2, 55, 25, ethereal.plains)
|
|
|
|
|
|
|
|
add_biome("savannah", nil, "default:dirt_with_dry_grass", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 3, 50, 55, 25, ethereal.savannah)
|
|
|
|
|
|
|
|
add_biome("savannah_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 1, 55, 25, ethereal.savannah)
|
|
|
|
|
|
|
|
add_biome("fiery", nil, "ethereal:fiery_dirt", 1, "default:dirt", 3,
|
|
|
|
nil, nil, nil, nil, nil, 5, 20, 85, 10, ethereal.fiery)
|
|
|
|
|
|
|
|
add_biome("fiery_ocean", nil, "default:sand", 1, "default:sand", 2,
|
|
|
|
nil, nil, nil, nil, nil, -192, 4, 85, 10, ethereal.fiery)
|
|
|
|
|
|
|
|
add_biome("sandclay", nil, "default:sand", 3, "default:clay", 2,
|
|
|
|
nil, nil, nil, nil, nil, 1, 11, 65, 2, ethereal.sandclay)
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
--= schematic decorations
|
|
|
|
|
|
|
|
-- redwood tree
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
2015-11-22 23:27:07 +03:00
|
|
|
place_on = {"bakedclay:red"},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.01,
|
|
|
|
biomes = {"mesa"},
|
2015-01-20 18:09:07 +03:00
|
|
|
schematic = path.."redwood.mts",
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- banana tree
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = "ethereal:grove_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-01-20 18:09:07 +03:00
|
|
|
fill_ratio = 0.015,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"grove"},
|
2015-04-25 14:41:36 +03:00
|
|
|
schematic = ethereal.bananatree,
|
2015-01-20 18:09:07 +03:00
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- healing tree
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = "default:dirt_with_snow",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.01,
|
2015-06-05 21:20:54 +03:00
|
|
|
biomes = {"alpine"},
|
2015-11-22 23:27:07 +03:00
|
|
|
y_min = 120,
|
2015-06-05 21:20:54 +03:00
|
|
|
y_max = 140,
|
2015-01-20 18:09:07 +03:00
|
|
|
schematic = path.."yellowtree.mts",
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- crystal frost tree
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = "ethereal:crystal_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.01,
|
|
|
|
biomes = {"frost"},
|
2015-01-20 18:09:07 +03:00
|
|
|
schematic = path.."frosttrees.mts",
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- giant mushroom
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = "ethereal:mushroom_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.02,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"mushroom"},
|
2015-01-20 18:09:07 +03:00
|
|
|
schematic = path.."mushroomone.mts",
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- small lava crater
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = "ethereal:fiery_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.01,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"fiery"},
|
2015-01-20 18:09:07 +03:00
|
|
|
schematic = path.."volcanom.mts",
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- large lava crater
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = "ethereal:fiery_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.01,
|
|
|
|
biomes = {"fiery"},
|
2015-01-20 18:09:07 +03:00
|
|
|
schematic = path.."volcanol.mts",
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- jungle tree
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = "ethereal:jungle_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-06-05 21:20:54 +03:00
|
|
|
fill_ratio = 0.08,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"junglee"},
|
2015-01-20 18:09:07 +03:00
|
|
|
schematic = path.."jungletree.mts",
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- willow tree
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = "ethereal:gray_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.02,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"grayness"},
|
2015-01-20 18:09:07 +03:00
|
|
|
schematic = path.."willow.mts",
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- pine tree
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = {"ethereal:cold_dirt", "default:dirt_with_snow"},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-01-20 18:09:07 +03:00
|
|
|
fill_ratio = 0.025,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"snowy", "alpine"},
|
2015-01-20 18:09:07 +03:00
|
|
|
schematic = path.."pinetree.mts",
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- apple tree
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = "ethereal:green_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.03,
|
|
|
|
biomes = {"grassy", "jumble"},
|
2015-04-25 14:41:36 +03:00
|
|
|
schematic = ethereal.appletree,
|
2015-01-20 18:09:07 +03:00
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-11-14 13:21:06 +03:00
|
|
|
-- big old tree
|
2015-01-20 18:09:07 +03:00
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "schematic",
|
2015-11-14 13:21:06 +03:00
|
|
|
place_on = "ethereal:green_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.0025,
|
2015-11-14 13:21:06 +03:00
|
|
|
biomes = {"jumble"},
|
|
|
|
schematic = path.."bigtree.mts",
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
|
|
|
-- birch tree (was apple)
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = {"ethereal:green_dirt"},
|
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.03,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"grassytwo"},
|
2015-11-14 13:21:06 +03:00
|
|
|
schematic = ethereal.birchtree,
|
2015-01-20 18:09:07 +03:00
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- orange tree
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = {"ethereal:prairie_dirt"},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-11-14 13:21:06 +03:00
|
|
|
fill_ratio = 0.01,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"prairie"},
|
2015-04-25 14:41:36 +03:00
|
|
|
schematic = ethereal.orangetree,
|
2015-01-20 18:09:07 +03:00
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- acacia tree
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "schematic",
|
2015-11-02 23:36:10 +03:00
|
|
|
place_on = {"default:dirt_with_dry_grass"},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-01-20 18:09:07 +03:00
|
|
|
fill_ratio = 0.004,
|
2015-11-02 23:36:10 +03:00
|
|
|
biomes = {"savannah"},
|
2015-01-20 18:09:07 +03:00
|
|
|
schematic = path.."acaciatree.mts",
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
2015-11-03 13:58:28 +03:00
|
|
|
-- large cactus (by Paramat)
|
2015-11-02 23:36:10 +03:00
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = {"default:desert_sand"},
|
|
|
|
sidelen = 80,
|
2015-11-03 13:58:28 +03:00
|
|
|
noise_params = {
|
|
|
|
offset = -0.0005,
|
|
|
|
scale = 0.0015,
|
|
|
|
spread = {x = 200, y = 200, z = 200},
|
|
|
|
seed = 230,
|
|
|
|
octaves = 3,
|
|
|
|
persist = 0.6
|
|
|
|
},
|
2015-11-02 23:36:10 +03:00
|
|
|
biomes = {"desert"},
|
2015-11-03 13:58:28 +03:00
|
|
|
y_min = 5,
|
|
|
|
y_max = 31000,
|
2015-11-02 23:36:10 +03:00
|
|
|
schematic = path.."large_cactus.mts",
|
2015-11-03 13:58:28 +03:00
|
|
|
flags = "place_center_x", --, place_center_z",
|
|
|
|
rotation = "random",
|
2015-11-02 23:36:10 +03:00
|
|
|
})
|
|
|
|
|
2015-11-03 13:58:28 +03:00
|
|
|
-- palm tree
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = {"default:sand"},
|
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.0025,
|
2015-11-03 13:58:28 +03:00
|
|
|
biomes = {
|
2015-11-04 21:01:11 +03:00
|
|
|
"desert_ocean", "plains_ocean", "sandclay",
|
2015-11-22 23:27:07 +03:00
|
|
|
"sandstone_ocean", "mesa_ocean", "grove_ocean", "grassy_ocean",
|
2015-11-03 13:58:28 +03:00
|
|
|
},
|
|
|
|
y_min = 1,
|
|
|
|
y_max = 1,
|
|
|
|
schematic = path.."palmtree.mts",
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
rotation = "random",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
--= simple decorations
|
|
|
|
|
|
|
|
-- scorched tree
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = "ethereal:dry_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-01-20 18:09:07 +03:00
|
|
|
fill_ratio = 0.006,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"plains"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = "ethereal:scorched_tree",
|
|
|
|
height_max = 6,
|
|
|
|
})
|
|
|
|
|
2015-08-31 19:40:29 +03:00
|
|
|
-- bamboo tree
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = "ethereal:bamboo_dirt",
|
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.025,
|
2015-08-31 19:40:29 +03:00
|
|
|
biomes = {"bamboo"},
|
|
|
|
schematic = ethereal.bambootree,
|
|
|
|
flags = "place_center_x, place_center_z",
|
|
|
|
})
|
|
|
|
|
|
|
|
-- bush
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "schematic",
|
|
|
|
place_on = "ethereal:bamboo_dirt",
|
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.08,
|
|
|
|
biomes = {"bamboo"},
|
|
|
|
schematic = ethereal.bush,
|
|
|
|
flags = "place_center_x, place_center_z",
|
2015-01-20 18:09:07 +03:00
|
|
|
})
|
|
|
|
|
2015-11-22 23:27:07 +03:00
|
|
|
-- grass
|
2015-04-10 17:38:53 +03:00
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = "ethereal:bamboo_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-08-31 19:40:29 +03:00
|
|
|
fill_ratio = 0.35,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"bamboo"},
|
2015-08-31 19:40:29 +03:00
|
|
|
decoration = {"default:grass_2", "default:grass_3"},
|
2015-01-20 18:09:07 +03:00
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- dry shrub
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
2015-07-04 14:22:39 +03:00
|
|
|
place_on = {
|
|
|
|
"ethereal:dry_dirt", "default:sand", "default:desert_sand",
|
2015-08-31 19:40:29 +03:00
|
|
|
"sandstone", "bakedclay:red", "bakedclay:orange"
|
2015-07-04 14:22:39 +03:00
|
|
|
},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-01-20 18:09:07 +03:00
|
|
|
fill_ratio = 0.015,
|
2015-11-22 23:27:07 +03:00
|
|
|
biomes = {"plains", "grassy_ocean", "desert", "sandstone", "mesa"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = "default:dry_shrub",
|
|
|
|
})
|
|
|
|
|
2015-11-02 00:23:26 +03:00
|
|
|
-- dry grass
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"default:dirt_with_dry_grass"},
|
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.25,
|
|
|
|
biomes = {"savannah"},
|
|
|
|
decoration = {
|
2015-11-03 13:58:28 +03:00
|
|
|
"default:dry_grass_2", "default:dry_grass_3",
|
2015-11-02 00:23:26 +03:00
|
|
|
"default:dry_grass_4", "default:dry_grass_5"
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- flowers & strawberry
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = "ethereal:green_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.025,
|
2015-01-20 18:09:07 +03:00
|
|
|
biomes = {"grassy", "grassy", "grassytwo"},
|
2015-07-04 14:22:39 +03:00
|
|
|
decoration = {
|
|
|
|
"flowers:dandelion_white", "flowers:dandelion_yellow",
|
|
|
|
"flowers:geranium", "flowers:rose", "flowers:tulip",
|
|
|
|
"flowers:viola", "ethereal:strawberry_7"
|
|
|
|
},
|
2015-01-20 18:09:07 +03:00
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- prairie flowers & strawberry
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = "ethereal:prairie_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.035,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"prairie"},
|
2015-07-04 14:22:39 +03:00
|
|
|
decoration = {
|
|
|
|
"flowers:dandelion_white", "flowers:dandelion_yellow",
|
|
|
|
"flowers:geranium", "flowers:rose", "flowers:tulip",
|
|
|
|
"flowers:viola", "ethereal:strawberry_7"
|
|
|
|
},
|
2015-01-20 18:09:07 +03:00
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- crystal spike & crystal grass
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = "ethereal:crystal_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-01-20 18:09:07 +03:00
|
|
|
fill_ratio = 0.02,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"frost"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = {"ethereal:crystal_spike", "ethereal:crystalgrass"},
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- red shrub
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = "ethereal:fiery_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-01-20 18:09:07 +03:00
|
|
|
fill_ratio = 0.20,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"fiery"},
|
2015-10-25 14:56:28 +03:00
|
|
|
decoration = {"ethereal:dry_shrub"},
|
|
|
|
})
|
|
|
|
|
|
|
|
-- fire flower
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "simple",
|
|
|
|
place_on = "ethereal:fiery_dirt",
|
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.02,
|
|
|
|
biomes = {"fiery"},
|
|
|
|
decoration = {"ethereal:fire_flower"},
|
2015-01-20 18:09:07 +03:00
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- snowy grass
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"ethereal:gray_dirt", "ethereal:cold_dirt"},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-01-20 18:09:07 +03:00
|
|
|
fill_ratio = 0.05,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"grayness", "snowy"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = "ethereal:snowygrass",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- cactus
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = "default:sandstone",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.0025,
|
|
|
|
biomes = {"sandstone"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = "default:cactus",
|
|
|
|
height_max = 3,
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = "default:desert_sand",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.005,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"desert"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = "default:cactus",
|
|
|
|
height_max = 4,
|
|
|
|
})
|
|
|
|
|
2015-09-30 18:24:13 +03:00
|
|
|
-- wild mushrooms
|
2015-04-10 17:38:53 +03:00
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = "ethereal:mushroom_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-09-30 18:24:13 +03:00
|
|
|
fill_ratio = 0.01,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"mushroom"},
|
2015-09-30 18:24:13 +03:00
|
|
|
decoration = "flowers:mushroom_fertile_red",
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"ethereal:green_dirt", "ethereal:jungle_dirt",
|
|
|
|
"ethereal:prairie_dirt", "ethereal:mushroom_dirt"},
|
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
|
|
|
offset = 0,
|
|
|
|
scale = 0.009,
|
|
|
|
spread = {x = 200, y = 200, z = 200},
|
|
|
|
seed = 2,
|
|
|
|
octaves = 3,
|
|
|
|
persist = 0.66
|
|
|
|
},
|
|
|
|
biomes = {"junglee", "grassy", "grassytwo", "prairie", "mushroom"},
|
|
|
|
y_min = 1,
|
|
|
|
y_max = 120,
|
|
|
|
decoration = {"flowers:mushroom_fertile_brown", "flowers:mushroom_fertile_red"},
|
2015-01-20 18:09:07 +03:00
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- jungle grass
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"ethereal:jungle_dirt", "ethereal:green_dirt"},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.15,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"junglee", "jumble"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = "default:junglegrass",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- grass
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
2015-07-04 14:22:39 +03:00
|
|
|
place_on = {
|
|
|
|
"ethereal:green_dirt_top", "ethereal:jungle_dirt",
|
|
|
|
"ethereal:prairie_dirt", "ethereal:grove_dirt"
|
|
|
|
},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-11-22 23:27:07 +03:00
|
|
|
fill_ratio = 0.35,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"grassy", "grassytwo", "jumble", "junglee", "prairie", "grove"},
|
2015-07-04 14:22:39 +03:00
|
|
|
decoration = {
|
|
|
|
"default:grass_2", "default:grass_3",
|
|
|
|
"default:grass_4", "default:grass_5"
|
|
|
|
},
|
2015-01-20 18:09:07 +03:00
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- ferns
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = "ethereal:grove_dirt",
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.2,
|
|
|
|
biomes = {"grove"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = "ethereal:fern",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- snow
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"ethereal:cold_dirt", "default:dirt_with_snow"},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.8,
|
|
|
|
biomes = {"snowy", "alpine"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = "default:snow",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- wild onion
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"ethereal:green_dirt", "ethereal:prairie_dirt"},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.25,
|
|
|
|
biomes = {"grassy", "grassytwo", "jumble", "prairie"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = "ethereal:onion_4",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- papyrus
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"ethereal:green_dirt", "ethereal:jungle_dirt"},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-01-20 18:09:07 +03:00
|
|
|
fill_ratio = 0.1,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"grassy", "junglee"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = "default:papyrus",
|
|
|
|
height_max = 4,
|
|
|
|
spawn_by = "default:water_source",
|
|
|
|
num_spawn_by = 1,
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
--= Farming Redo plants
|
|
|
|
|
2015-03-24 12:23:05 +03:00
|
|
|
if farming.mod and farming.mod == "redo" then
|
|
|
|
|
2015-07-04 14:22:39 +03:00
|
|
|
print ("[MOD] Ethereal - Farming Redo detected and in use")
|
2015-01-20 18:09:07 +03:00
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- potato
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"ethereal:jungle_dirt"},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-01-20 18:09:07 +03:00
|
|
|
fill_ratio = 0.035,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"junglee"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = "farming:potato_3",
|
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- carrot, cucumber, potato, tomato, corn, coffee, raspberry, rhubarb
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"ethereal:green_dirt", "ethereal:prairie_dirt"},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-01-20 18:09:07 +03:00
|
|
|
fill_ratio = 0.05,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"grassy", "grassytwo", "prairie", "jumble"},
|
2015-07-04 14:22:39 +03:00
|
|
|
decoration = {
|
|
|
|
"farming:carrot_7", "farming:cucumber_4", "farming:potato_3",
|
|
|
|
"farming:tomato_7", "farming:corn_8", "farming:coffee_5",
|
|
|
|
"farming:raspberry_4", "farming:rhubarb_3", "farming:blueberry_4"
|
|
|
|
},
|
2015-01-20 18:09:07 +03:00
|
|
|
})
|
|
|
|
|
2015-04-10 17:38:53 +03:00
|
|
|
-- melon and pumpkin
|
|
|
|
minetest.register_decoration({
|
2015-01-20 18:09:07 +03:00
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"ethereal:green_dirt", "ethereal:jungle_dirt"},
|
2015-04-10 17:38:53 +03:00
|
|
|
sidelen = 80,
|
2015-01-20 18:09:07 +03:00
|
|
|
fill_ratio = 0.015,
|
2015-04-10 17:38:53 +03:00
|
|
|
biomes = {"grassy", "grassytwo", "junglee", "jumble"},
|
2015-01-20 18:09:07 +03:00
|
|
|
decoration = {"farming:melon_8", "farming:pumpkin_8"},
|
|
|
|
spawn_by = "default:water_source",
|
|
|
|
num_spawn_by = 1,
|
|
|
|
})
|
|
|
|
|
2015-04-25 11:05:34 +03:00
|
|
|
-- green beans
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"ethereal:green_dirt"},
|
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.035,
|
|
|
|
biomes = {"grassytwo"},
|
|
|
|
decoration = "farming:beanbush",
|
|
|
|
})
|
2015-07-04 14:22:39 +03:00
|
|
|
|
2015-10-26 14:32:15 +03:00
|
|
|
-- grape bushel
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "simple",
|
|
|
|
place_on = {"ethereal:green_dirt", "ethereal:prairie_dirt"},
|
|
|
|
sidelen = 80,
|
|
|
|
fill_ratio = 0.025,
|
|
|
|
biomes = {"grassytwo", "grassy", "prairie"},
|
|
|
|
decoration = "farming:grapebush",
|
|
|
|
})
|
|
|
|
|
2015-09-30 18:24:13 +03:00
|
|
|
end
|
|
|
|
|
|
|
|
-- is waterlily in game?
|
|
|
|
if minetest.registered_nodes["flowers:waterlily"] then
|
|
|
|
minetest.register_decoration({
|
|
|
|
deco_type = "schematic",
|
2015-11-18 12:36:37 +03:00
|
|
|
place_on = {"default:sand"},
|
2015-09-30 18:24:13 +03:00
|
|
|
sidelen = 16,
|
|
|
|
noise_params = {
|
|
|
|
offset = -0.12,
|
|
|
|
scale = 0.3,
|
|
|
|
spread = {x = 200, y = 200, z = 200},
|
|
|
|
seed = 33,
|
|
|
|
octaves = 3,
|
|
|
|
persist = 0.7
|
|
|
|
},
|
2015-11-03 13:58:28 +03:00
|
|
|
biomes = {
|
2015-11-04 21:01:11 +03:00
|
|
|
"desert_ocean", "plains_ocean", "sandclay",
|
2015-11-22 23:27:07 +03:00
|
|
|
"sandstone_ocean", "mesa_ocean", "grove_ocean", "grassy_ocean",
|
2015-11-03 13:58:28 +03:00
|
|
|
},
|
2015-09-30 18:24:13 +03:00
|
|
|
y_min = 0,
|
|
|
|
y_max = 0,
|
2015-11-18 12:36:37 +03:00
|
|
|
schematic = ethereal.waterlily,
|
2015-09-30 18:24:13 +03:00
|
|
|
rotation = "random",
|
|
|
|
})
|
|
|
|
end
|