From f74a50297975ea20487ca4985dcceb6275b97146 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 18 Dec 2019 20:38:23 +0100 Subject: [PATCH] Generate sponges in v6 --- mods/MAPGEN/mcl_mapgen_core/depends.txt | 2 ++ mods/MAPGEN/mcl_mapgen_core/init.lua | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/mods/MAPGEN/mcl_mapgen_core/depends.txt b/mods/MAPGEN/mcl_mapgen_core/depends.txt index 783a7da49f..4aa96f053c 100644 --- a/mods/MAPGEN/mcl_mapgen_core/depends.txt +++ b/mods/MAPGEN/mcl_mapgen_core/depends.txt @@ -4,6 +4,8 @@ biomeinfo mclx_core? mcl_worlds mcl_cocoas +mcl_sponges +mcl_ocean mcl_stairs mcl_monster_eggs mcl_structures diff --git a/mods/MAPGEN/mcl_mapgen_core/init.lua b/mods/MAPGEN/mcl_mapgen_core/init.lua index 43dd45fcb4..cc0789b3fa 100644 --- a/mods/MAPGEN/mcl_mapgen_core/init.lua +++ b/mods/MAPGEN/mcl_mapgen_core/init.lua @@ -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",