Caverealms-Dekoration angepasst
This commit is contained in:
parent
df1276fb86
commit
ee3c9fbad6
2 changed files with 48 additions and 18 deletions
|
@ -238,6 +238,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
local c_redlant = minetest.get_content_id("everness:glowing_pillar")
|
||||
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 = {
|
||||
c_torangecrys,
|
||||
c_tredcrys,
|
||||
|
@ -268,6 +269,13 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
--else
|
||||
--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
|
||||
local c_crystore = minetest.get_content_id("caverealms:glow_ore")
|
||||
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 is_deep then --deep algae deco
|
||||
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
|
||||
worms = { c_worm_green }
|
||||
decos = { c_mycena }
|
||||
end
|
||||
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
|
||||
data[ai] = c_firefly
|
||||
end
|
||||
|
@ -389,39 +397,54 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
if is_deep then --deep moss deco
|
||||
worms = { c_worm_green, c_tgreen1crys, c_tgreen2crys, c_worm_blue }
|
||||
decos = {
|
||||
c_mycena,
|
||||
c_greemush,
|
||||
c_mycena,
|
||||
c_greemush,
|
||||
c_tgreen1crys,
|
||||
c_tgreen2crys,
|
||||
}
|
||||
deco_mul = 2
|
||||
deco_mul = 1.
|
||||
worm_max_len = 1
|
||||
else -- normal moss
|
||||
worms = { c_worm_green }
|
||||
decos = { c_mycena }
|
||||
worm_max_len = 3
|
||||
end
|
||||
floor = c_moss
|
||||
worm_max_len = 3
|
||||
deco_mul = 2.0
|
||||
if mode == 1 and data[ai] == c_air and math.random() < 0.001 then
|
||||
caverealms:grow_green_mushroom(x, y - 1, z, area, data)
|
||||
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)
|
||||
end
|
||||
end
|
||||
else -- lichen
|
||||
if is_deep then --magical lichen deco
|
||||
worms = { c_crystpurple, c_crystpurple, c_purplevine }
|
||||
decos = {
|
||||
c_mosspurple,
|
||||
c_flamepurple,
|
||||
c_crystpurple,
|
||||
c_mosspurple,
|
||||
c_flamepurple,
|
||||
c_crystpurple,
|
||||
c_bluetwist,
|
||||
c_tyellocrys,
|
||||
c_tyellowcrys,
|
||||
}
|
||||
deco_mul = 2
|
||||
worm_max_len = 1
|
||||
else -- normal lichen
|
||||
worms = { c_worm_blue }
|
||||
worm_max_len = 3
|
||||
decos = { c_mycena, c_fungus, c_fungus }
|
||||
deco_mul = 3.3
|
||||
end
|
||||
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
|
||||
data[ai] = c_bluefly
|
||||
end
|
||||
|
@ -439,7 +462,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
floor = c_desand
|
||||
end
|
||||
end
|
||||
if is_deep then
|
||||
if is_deep then --hot cobble
|
||||
decos = {
|
||||
c_redplant,
|
||||
c_redlant,
|
||||
|
@ -451,7 +474,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
c_crystorange,
|
||||
}
|
||||
worms = { c_worm_red, c_torangecrys }
|
||||
else
|
||||
else --desert
|
||||
decos = {
|
||||
c_tyellocrys,
|
||||
c_flame,
|
||||
|
@ -482,15 +505,22 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
worm_max_len = 1
|
||||
decos = {
|
||||
c_crystcyan,
|
||||
c_crystcyan,
|
||||
c_blueglowshroom,
|
||||
c_blueglowshroom,
|
||||
c_bluetwist,
|
||||
c_bflame,
|
||||
c_bflame,
|
||||
c_icicles_f,
|
||||
c_bluelant,
|
||||
c_iciu,
|
||||
c_iciu,
|
||||
c_icicles_f,
|
||||
c_bluegrass,
|
||||
c_iciu,
|
||||
c_iciu,
|
||||
c_icicles_f,
|
||||
c_bluegrass,
|
||||
}
|
||||
deco_mul = 2
|
||||
else --glacial
|
||||
|
@ -498,7 +528,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
floor_depth = 2
|
||||
worms = { c_icid, c_worm_blue }
|
||||
worm_max_len = 1
|
||||
decos = { c_gem, c_iciu }
|
||||
decos = { c_gem, c_gem, c_iciu, c_fakeice2 }
|
||||
deco_mul = 2
|
||||
end
|
||||
end
|
||||
|
@ -506,12 +536,12 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
if n_biome_w < -0.33 then -- hotspring
|
||||
floor = c_hcobble
|
||||
worms = { c_worm_red }
|
||||
worm_max_len = 1
|
||||
worm_max_len = 3
|
||||
if mode == 1 and math.random() < 0.005 then
|
||||
caverealms:spawn_hotspring(x, y, z, area, data, math.random(4) + 2)
|
||||
end
|
||||
decos = { c_fire_vine, c_redmush }
|
||||
deco_mul = 0.7
|
||||
decos = { c_fire_vine, c_marsgrass, c_marsmoss }
|
||||
deco_mul = 1
|
||||
elseif n_biome_w < 0.33 then -- dungeon
|
||||
if math.random() < 0.5 then
|
||||
floor = c_gobsidian
|
||||
|
@ -519,7 +549,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
floor = c_gobsidian2
|
||||
end
|
||||
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 }
|
||||
else -- deep glacial
|
||||
floor = c_iced
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue