mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 10:31:06 +01:00
Generate sponges in v6
This commit is contained in:
parent
8b6dc30943
commit
f74a502979
2 changed files with 24 additions and 0 deletions
|
@ -4,6 +4,8 @@ biomeinfo
|
||||||
mclx_core?
|
mclx_core?
|
||||||
mcl_worlds
|
mcl_worlds
|
||||||
mcl_cocoas
|
mcl_cocoas
|
||||||
|
mcl_sponges
|
||||||
|
mcl_ocean
|
||||||
mcl_stairs
|
mcl_stairs
|
||||||
mcl_monster_eggs
|
mcl_monster_eggs
|
||||||
mcl_structures
|
mcl_structures
|
||||||
|
|
|
@ -948,6 +948,28 @@ local function register_mgv6_decorations()
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Wet Sponge
|
||||||
|
-- TODO: Remove this when we got ocean monuments
|
||||||
|
minetest.register_decoration({
|
||||||
|
deco_type = "simple",
|
||||||
|
decoration = "mcl_sponges:sponge_wet",
|
||||||
|
spawn_by = {"group:water"},
|
||||||
|
num_spawn_by = 1,
|
||||||
|
place_on = {"mcl_core:dirt","mcl_core:sand"},
|
||||||
|
sidelen = 16,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0.00295,
|
||||||
|
scale = 0.006,
|
||||||
|
spread = {x = 250, y = 250, z = 250},
|
||||||
|
seed = 999,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.666
|
||||||
|
},
|
||||||
|
flags = "force_placement",
|
||||||
|
y_min = mcl_vars.overworld_min,
|
||||||
|
y_max = -20,
|
||||||
|
})
|
||||||
|
|
||||||
-- Add a small amount of tall grass everywhere to avoid areas completely empty devoid of tall grass
|
-- Add a small amount of tall grass everywhere to avoid areas completely empty devoid of tall grass
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
|
|
Loading…
Reference in a new issue