Generate sponges in v6

This commit is contained in:
Wuzzy 2019-12-18 20:38:23 +01:00
parent 8b6dc30943
commit f74a502979
2 changed files with 24 additions and 0 deletions

View File

@ -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

View File

@ -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",