forked from Mineclonia/Mineclonia
Generate sponges in v6
This commit is contained in:
parent
8b6dc30943
commit
f74a502979
|
@ -4,6 +4,8 @@ biomeinfo
|
|||
mclx_core?
|
||||
mcl_worlds
|
||||
mcl_cocoas
|
||||
mcl_sponges
|
||||
mcl_ocean
|
||||
mcl_stairs
|
||||
mcl_monster_eggs
|
||||
mcl_structures
|
||||
|
|
|
@ -948,6 +948,28 @@ local function register_mgv6_decorations()
|
|||
|
||||
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
|
||||
minetest.register_decoration({
|
||||
deco_type = "simple",
|
||||
|
|
Loading…
Reference in New Issue