Caverealms-Dekoration angepasst
This commit is contained in:
parent
df1276fb86
commit
ee3c9fbad6
2 changed files with 48 additions and 18 deletions
|
@ -30,8 +30,8 @@ setting("number", "stalcha", 0.003) --chance of stalactites 0.003
|
||||||
|
|
||||||
setting("number", "h_lag", 15) --max height for stalagmites
|
setting("number", "h_lag", 15) --max height for stalagmites
|
||||||
setting("number", "h_lac", 20) --...stalactites
|
setting("number", "h_lac", 20) --...stalactites
|
||||||
setting("number", "crystal", 0.007) --chance of glow crystal formations (0.0004)
|
setting("number", "crystal", 0.005) --chance of glow crystal formations (0.0004)
|
||||||
setting("number", "salt_crystal", 0.007) --chance of glow crystal formations
|
setting("number", "salt_crystal", 0.005) --chance of glow crystal formations
|
||||||
setting("number", "h_cry", 9) --max height of glow crystals
|
setting("number", "h_cry", 9) --max height of glow crystals
|
||||||
setting("number", "h_clac", 13) --max height of glow crystal stalactites
|
setting("number", "h_clac", 13) --max height of glow crystal stalactites
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ setting("number", "gemcha", 0.03) --chance of small glow gems
|
||||||
setting("number", "mushcha", 0.04) --chance of mushrooms
|
setting("number", "mushcha", 0.04) --chance of mushrooms
|
||||||
setting("number", "myccha", 0.03) --chance of mycena mushrooms
|
setting("number", "myccha", 0.03) --chance of mycena mushrooms
|
||||||
setting("number", "wormcha", 0.02) --chance of glow worms
|
setting("number", "wormcha", 0.02) --chance of glow worms
|
||||||
setting("number", "giantcha", 0.001) --chance of giant mushrooms
|
setting("number", "giantcha", 0.0015) --chance of giant mushrooms
|
||||||
setting("number", "icicha", 0.035) --chance of icicles
|
setting("number", "icicha", 0.035) --chance of icicles
|
||||||
setting("number", "flacha", 0.04) --chance of constant flames
|
setting("number", "flacha", 0.04) --chance of constant flames
|
||||||
|
|
||||||
|
|
|
@ -238,6 +238,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
local c_redlant = minetest.get_content_id("everness:glowing_pillar")
|
local c_redlant = minetest.get_content_id("everness:glowing_pillar")
|
||||||
local c_redplant = minetest.get_content_id("everness:bloodspore_plant")
|
local c_redplant = minetest.get_content_id("everness:bloodspore_plant")
|
||||||
|
|
||||||
|
--Kristalle, die um 180° gedreht werden per param2, wenn sie auf dem Boden sind
|
||||||
local erdkristall = {
|
local erdkristall = {
|
||||||
c_torangecrys,
|
c_torangecrys,
|
||||||
c_tredcrys,
|
c_tredcrys,
|
||||||
|
@ -268,6 +269,13 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
--else
|
--else
|
||||||
--end
|
--end
|
||||||
|
|
||||||
|
--Other Wolds
|
||||||
|
-- if minetest.get_modpath("other_worlds") then
|
||||||
|
local c_marsgrass = minetest.get_content_id("mars:grass_1")
|
||||||
|
local c_marsmoss = minetest.get_content_id("mars:moss")
|
||||||
|
--else
|
||||||
|
--end
|
||||||
|
|
||||||
-- crystals
|
-- crystals
|
||||||
local c_crystore = minetest.get_content_id("caverealms:glow_ore")
|
local c_crystore = minetest.get_content_id("caverealms:glow_ore")
|
||||||
local c_emerald = minetest.get_content_id("caverealms:glow_emerald")
|
local c_emerald = minetest.get_content_id("caverealms:glow_emerald")
|
||||||
|
@ -375,13 +383,13 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
if n_biome_w < -0.33 then -- algae
|
if n_biome_w < -0.33 then -- algae
|
||||||
if is_deep then --deep algae deco
|
if is_deep then --deep algae deco
|
||||||
worms = { c_worm_green, c_tyellowcrys }
|
worms = { c_worm_green, c_tyellowcrys }
|
||||||
decos = { c_mycena, c_greemush, c_tyellowcrys, c_amanita }
|
decos = { c_mycena, c_tyellowcrys, c_amanita }
|
||||||
else -- normal algae
|
else -- normal algae
|
||||||
worms = { c_worm_green }
|
worms = { c_worm_green }
|
||||||
decos = { c_mycena }
|
decos = { c_mycena }
|
||||||
end
|
end
|
||||||
floor = c_algae
|
floor = c_algae
|
||||||
worm_max_len = 3
|
worm_max_len = 1
|
||||||
if mode == 1 and data[ai] == c_air and math.random() < 0.03 then
|
if mode == 1 and data[ai] == c_air and math.random() < 0.03 then
|
||||||
data[ai] = c_firefly
|
data[ai] = c_firefly
|
||||||
end
|
end
|
||||||
|
@ -389,39 +397,54 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
if is_deep then --deep moss deco
|
if is_deep then --deep moss deco
|
||||||
worms = { c_worm_green, c_tgreen1crys, c_tgreen2crys, c_worm_blue }
|
worms = { c_worm_green, c_tgreen1crys, c_tgreen2crys, c_worm_blue }
|
||||||
decos = {
|
decos = {
|
||||||
|
c_mycena,
|
||||||
|
c_greemush,
|
||||||
c_mycena,
|
c_mycena,
|
||||||
c_greemush,
|
c_greemush,
|
||||||
c_tgreen1crys,
|
c_tgreen1crys,
|
||||||
c_tgreen2crys,
|
c_tgreen2crys,
|
||||||
}
|
}
|
||||||
deco_mul = 2
|
deco_mul = 1.
|
||||||
|
worm_max_len = 1
|
||||||
else -- normal moss
|
else -- normal moss
|
||||||
worms = { c_worm_green }
|
worms = { c_worm_green }
|
||||||
decos = { c_mycena }
|
decos = { c_mycena }
|
||||||
|
worm_max_len = 3
|
||||||
end
|
end
|
||||||
floor = c_moss
|
floor = c_moss
|
||||||
worm_max_len = 3
|
|
||||||
deco_mul = 2.0
|
deco_mul = 2.0
|
||||||
if mode == 1 and data[ai] == c_air and math.random() < 0.001 then
|
if mode == 1 and data[ai] == c_air and math.random() < 0.001 then
|
||||||
|
if math.random() < 0.5 then
|
||||||
|
local pos = { x = x, y = y, z = z }
|
||||||
|
riesenpilz.brown(pos, data, area)
|
||||||
|
else
|
||||||
caverealms:grow_green_mushroom(x, y - 1, z, area, data)
|
caverealms:grow_green_mushroom(x, y - 1, z, area, data)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
else -- lichen
|
else -- lichen
|
||||||
if is_deep then --magical lichen deco
|
if is_deep then --magical lichen deco
|
||||||
worms = { c_crystpurple, c_crystpurple, c_purplevine }
|
worms = { c_crystpurple, c_crystpurple, c_purplevine }
|
||||||
decos = {
|
decos = {
|
||||||
|
c_mosspurple,
|
||||||
|
c_flamepurple,
|
||||||
|
c_crystpurple,
|
||||||
c_mosspurple,
|
c_mosspurple,
|
||||||
c_flamepurple,
|
c_flamepurple,
|
||||||
c_crystpurple,
|
c_crystpurple,
|
||||||
c_bluetwist,
|
c_bluetwist,
|
||||||
c_tyellocrys,
|
c_tyellowcrys,
|
||||||
}
|
}
|
||||||
|
deco_mul = 2
|
||||||
|
worm_max_len = 1
|
||||||
else -- normal lichen
|
else -- normal lichen
|
||||||
worms = { c_worm_blue }
|
worms = { c_worm_blue }
|
||||||
|
worm_max_len = 3
|
||||||
decos = { c_mycena, c_fungus, c_fungus }
|
decos = { c_mycena, c_fungus, c_fungus }
|
||||||
|
deco_mul = 3.3
|
||||||
end
|
end
|
||||||
floor = c_lichen
|
floor = c_lichen
|
||||||
worm_max_len = 1
|
|
||||||
deco_mul = 3.3
|
|
||||||
if mode == 1 and data[ai] == c_air and math.random() < 0.003 then
|
if mode == 1 and data[ai] == c_air and math.random() < 0.003 then
|
||||||
data[ai] = c_bluefly
|
data[ai] = c_bluefly
|
||||||
end
|
end
|
||||||
|
@ -439,7 +462,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
floor = c_desand
|
floor = c_desand
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if is_deep then
|
if is_deep then --hot cobble
|
||||||
decos = {
|
decos = {
|
||||||
c_redplant,
|
c_redplant,
|
||||||
c_redlant,
|
c_redlant,
|
||||||
|
@ -451,7 +474,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
c_crystorange,
|
c_crystorange,
|
||||||
}
|
}
|
||||||
worms = { c_worm_red, c_torangecrys }
|
worms = { c_worm_red, c_torangecrys }
|
||||||
else
|
else --desert
|
||||||
decos = {
|
decos = {
|
||||||
c_tyellocrys,
|
c_tyellocrys,
|
||||||
c_flame,
|
c_flame,
|
||||||
|
@ -482,15 +505,22 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
worm_max_len = 1
|
worm_max_len = 1
|
||||||
decos = {
|
decos = {
|
||||||
c_crystcyan,
|
c_crystcyan,
|
||||||
|
c_crystcyan,
|
||||||
|
c_blueglowshroom,
|
||||||
c_blueglowshroom,
|
c_blueglowshroom,
|
||||||
c_bluetwist,
|
c_bluetwist,
|
||||||
c_bflame,
|
c_bflame,
|
||||||
|
c_bflame,
|
||||||
c_icicles_f,
|
c_icicles_f,
|
||||||
c_bluelant,
|
c_bluelant,
|
||||||
c_iciu,
|
c_iciu,
|
||||||
c_iciu,
|
c_iciu,
|
||||||
c_icicles_f,
|
c_icicles_f,
|
||||||
c_bluegrass,
|
c_bluegrass,
|
||||||
|
c_iciu,
|
||||||
|
c_iciu,
|
||||||
|
c_icicles_f,
|
||||||
|
c_bluegrass,
|
||||||
}
|
}
|
||||||
deco_mul = 2
|
deco_mul = 2
|
||||||
else --glacial
|
else --glacial
|
||||||
|
@ -498,7 +528,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
floor_depth = 2
|
floor_depth = 2
|
||||||
worms = { c_icid, c_worm_blue }
|
worms = { c_icid, c_worm_blue }
|
||||||
worm_max_len = 1
|
worm_max_len = 1
|
||||||
decos = { c_gem, c_iciu }
|
decos = { c_gem, c_gem, c_iciu, c_fakeice2 }
|
||||||
deco_mul = 2
|
deco_mul = 2
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -506,12 +536,12 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
if n_biome_w < -0.33 then -- hotspring
|
if n_biome_w < -0.33 then -- hotspring
|
||||||
floor = c_hcobble
|
floor = c_hcobble
|
||||||
worms = { c_worm_red }
|
worms = { c_worm_red }
|
||||||
worm_max_len = 1
|
worm_max_len = 3
|
||||||
if mode == 1 and math.random() < 0.005 then
|
if mode == 1 and math.random() < 0.005 then
|
||||||
caverealms:spawn_hotspring(x, y, z, area, data, math.random(4) + 2)
|
caverealms:spawn_hotspring(x, y, z, area, data, math.random(4) + 2)
|
||||||
end
|
end
|
||||||
decos = { c_fire_vine, c_redmush }
|
decos = { c_fire_vine, c_marsgrass, c_marsmoss }
|
||||||
deco_mul = 0.7
|
deco_mul = 1
|
||||||
elseif n_biome_w < 0.33 then -- dungeon
|
elseif n_biome_w < 0.33 then -- dungeon
|
||||||
if math.random() < 0.5 then
|
if math.random() < 0.5 then
|
||||||
floor = c_gobsidian
|
floor = c_gobsidian
|
||||||
|
@ -519,7 +549,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
floor = c_gobsidian2
|
floor = c_gobsidian2
|
||||||
end
|
end
|
||||||
worms = { c_worm_red, c_tredcrys }
|
worms = { c_worm_red, c_tredcrys }
|
||||||
worm_max_len = 4
|
worm_max_len = 1
|
||||||
decos = { c_flame, c_flame, c_bflame, c_fire_vine, c_tredcrys }
|
decos = { c_flame, c_flame, c_bflame, c_fire_vine, c_tredcrys }
|
||||||
else -- deep glacial
|
else -- deep glacial
|
||||||
floor = c_iced
|
floor = c_iced
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue