forked from MineClone5/MineClone5
mcl_mapgen_core: Make mcl_sponges an optional dependency.
This commit is contained in:
parent
c52f598e64
commit
012d0bd942
|
@ -1000,6 +1000,7 @@ local function register_mgv6_decorations()
|
||||||
|
|
||||||
-- Wet Sponge
|
-- Wet Sponge
|
||||||
-- TODO: Remove this when we got ocean monuments
|
-- TODO: Remove this when we got ocean monuments
|
||||||
|
if minetest.get_modpath("mcl_cocoas") then
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
decoration = "mcl_sponges:sponge_wet",
|
decoration = "mcl_sponges:sponge_wet",
|
||||||
|
@ -1019,6 +1020,7 @@ local function register_mgv6_decorations()
|
||||||
y_min = mcl_vars.mg_lava_overworld_max + 5,
|
y_min = mcl_vars.mg_lava_overworld_max + 5,
|
||||||
y_max = -20,
|
y_max = -20,
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
-- 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({
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name = mcl_mapgen_core
|
name = mcl_mapgen_core
|
||||||
author = Wuzzy
|
author = Wuzzy
|
||||||
description = The core of the MCL2 mapgen
|
description = The core of the MCL2 mapgen
|
||||||
depends = mcl_init, mcl_core, biomeinfo, mcl_worlds, mcl_sponges, mcl_ocean, mcl_stairs, mcl_monster_eggs, mcl_structures
|
depends = mcl_init, mcl_core, biomeinfo, mcl_worlds, mcl_ocean, mcl_stairs, mcl_monster_eggs, mcl_structures
|
||||||
optional_depends = mclx_core, mcl_cocoas
|
optional_depends = mclx_core, mcl_cocoas, mcl_sponges
|
||||||
|
|
Loading…
Reference in New Issue