Add lilypads and dead bushes

This commit is contained in:
cora 2022-07-29 02:48:00 +02:00
parent 3bf45ec4e9
commit 51f79eaa39
2 changed files with 35 additions and 12 deletions

View file

@ -71,6 +71,7 @@ local list_of_all_biomes = {
"JungleM_underground", "JungleM_underground",
"ExtremeHillsM_underground", "ExtremeHillsM_underground",
"JungleEdgeM_underground", "JungleEdgeM_underground",
"MangroveSwamp_underground",
-- ocean: -- ocean:
@ -134,6 +135,8 @@ local list_of_all_biomes = {
"BirchForestM_deep_ocean", "BirchForestM_deep_ocean",
"Taiga_deep_ocean", "Taiga_deep_ocean",
"JungleM_ocean", "JungleM_ocean",
"MangroveSwamp_ocean",
"MangroveSwamp_deep_ocean",
-- water or beach? -- water or beach?
@ -157,6 +160,7 @@ local list_of_all_biomes = {
"MushroomIslandShore", "MushroomIslandShore",
"JungleM_shore", "JungleM_shore",
"Jungle_shore", "Jungle_shore",
"MangroveSwamp_shore",
-- dimension biome: -- dimension biome:
@ -202,6 +206,7 @@ local list_of_all_biomes = {
"MesaBryce", "MesaBryce",
"JungleEdge", "JungleEdge",
"SavannaM", "SavannaM",
"MangroveSwamp",
} }
-- count how many mobs are in an area -- count how many mobs are in an area

View file

@ -128,6 +128,7 @@ local function register_biomes()
"MesaBryce", "MesaBryce",
"MesaPlateauF", "MesaPlateauF",
"MesaPlateauFM", "MesaPlateauFM",
"MangroveSwamp",
} }
-- Ice Plains Spikes (rare) -- Ice Plains Spikes (rare)
@ -1350,15 +1351,15 @@ local function register_biomes()
depth_top = 1, depth_top = 1,
node_filler = "mcl_mud:mud", node_filler = "mcl_mud:mud",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_mud:mud", node_riverbed = "mcl_core:dirt",
depth_riverbed = 2, depth_riverbed = 2,
y_min = 1, y_min = 1,
-- Note: Limited in height! -- Note: Limited in height!
y_max = 23, y_max = 27,
humidity_point = 95, humidity_point = 95,
heat_point = 54, heat_point = 94,
_mcl_biome_type = "hot", _mcl_biome_type = "hot",
_mcl_palette_index = 28, _mcl_palette_index = 27,
}) })
minetest.register_biome({ minetest.register_biome({
name = "MangroveSwamp_shore", name = "MangroveSwamp_shore",
@ -1366,20 +1367,20 @@ local function register_biomes()
depth_top = 1, depth_top = 1,
node_filler = "mcl_mud:mud", node_filler = "mcl_mud:mud",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_mud:mud", node_riverbed = "mcl_core:dirt",
depth_riverbed = 2, depth_riverbed = 2,
y_min = -5, y_min = -5,
y_max = 0, y_max = 0,
humidity_point = 95, humidity_point = 95,
heat_point = 54, heat_point = 94,
_mcl_biome_type = "hot", _mcl_biome_type = "hot",
_mcl_palette_index = 28, _mcl_palette_index = 27,
}) })
minetest.register_biome({ minetest.register_biome({
name = "MangroveSwamp_ocean", name = "MangroveSwamp_ocean",
node_top = "mcl_mud:mud", node_top = "mcl_core:dirt",
depth_top = 1, depth_top = 1,
node_filler = "mcl_mud:mud", node_filler = "mcl_core:dirt",
depth_filler = 3, depth_filler = 3,
node_riverbed = "mcl_core:gravel", node_riverbed = "mcl_core:gravel",
depth_riverbed = 2, depth_riverbed = 2,
@ -1387,9 +1388,9 @@ local function register_biomes()
y_max = -6, y_max = -6,
vertical_blend = 1, vertical_blend = 1,
humidity_point = 95, humidity_point = 95,
heat_point = 54, heat_point = 94,
_mcl_biome_type = "hot", _mcl_biome_type = "hot",
_mcl_palette_index = 28, _mcl_palette_index = 27,
}) })
-- Swampland -- Swampland
minetest.register_biome({ minetest.register_biome({
@ -3091,7 +3092,6 @@ local function register_decorations()
decoration = "mcl_mangrove:water_logged_roots", decoration = "mcl_mangrove:water_logged_roots",
flags = "place_center_x, place_center_z, force_placement, all_ceilings", flags = "place_center_x, place_center_z, force_placement, all_ceilings",
}) })
minetest.register_decoration({ minetest.register_decoration({
deco_type = "simple", deco_type = "simple",
place_on = {"mcl_mud:mud"}, place_on = {"mcl_mud:mud"},
@ -3102,6 +3102,24 @@ local function register_decorations()
decoration = "mcl_mangrove:mangrove_mud_roots", decoration = "mcl_mangrove:mangrove_mud_roots",
flags = "place_center_x, place_center_z, force_placement", flags = "place_center_x, place_center_z, force_placement",
}) })
minetest.register_decoration({
deco_type = "simple",
place_on = {"mcl_mud:mud"},
sidelen = 80,
fill_ratio = 0.008,
biomes = {"MangroveSwamp","MangroveSwamp_shore"},
decoration = "mcl_core:deadbush",
flags = "place_center_x, place_center_z",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"mcl_core:water_source"},
sidelen = 80,
fill_ratio = 0.035,
biomes = {"MangroveSwamp","MangroveSwamp_shore"},
decoration = "mcl_flowers:waterlily",
flags = "place_center_x, place_center_z, liquid_surface",
})
-- Jungle tree -- Jungle tree