forked from VoxeLibre/VoxeLibre
More variations of mega spruces and large oaks
This commit is contained in:
parent
f62f627443
commit
b992100106
|
@ -345,11 +345,11 @@ function mcl_core.generate_oak_tree(pos)
|
||||||
offset = { x = -2, y = -1, z = -2 }
|
offset = { x = -2, y = -1, z = -2 }
|
||||||
else
|
else
|
||||||
-- Large balloon oak
|
-- Large balloon oak
|
||||||
local t = math.random(1, 2)
|
local t = math.random(1, 4)
|
||||||
path = minetest.get_modpath("mcl_core") .. "/schematics/mcl_core_oak_large_"..t..".mts"
|
path = minetest.get_modpath("mcl_core") .. "/schematics/mcl_core_oak_large_"..t..".mts"
|
||||||
if t == 1 then
|
if t == 1 or t == 3 then
|
||||||
offset = { x = -3, y = -1, z = -3 }
|
offset = { x = -3, y = -1, z = -3 }
|
||||||
elseif t == 2 then
|
elseif t == 2 or t == 4 then
|
||||||
offset = { x = -4, y = -1, z = -4 }
|
offset = { x = -4, y = -1, z = -4 }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -484,7 +484,7 @@ end
|
||||||
|
|
||||||
mcl_core.generate_huge_spruce_tree = function(pos)
|
mcl_core.generate_huge_spruce_tree = function(pos)
|
||||||
local r1 = math.random(1, 2)
|
local r1 = math.random(1, 2)
|
||||||
local r2 = math.random(1, 3)
|
local r2 = math.random(1, 4)
|
||||||
local path
|
local path
|
||||||
local offset = { x = -4, y = -1, z = -5 }
|
local offset = { x = -4, y = -1, z = -5 }
|
||||||
if r1 <= 2 then
|
if r1 <= 2 then
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1737,16 +1737,16 @@ local function register_decorations()
|
||||||
|
|
||||||
-- Oak
|
-- Oak
|
||||||
-- Large oaks
|
-- Large oaks
|
||||||
for i=1, 2 do
|
for i=1, 4 do
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "schematic",
|
deco_type = "schematic",
|
||||||
place_on = {"group:grass_block_no_snow", "mcl_core:dirt"},
|
place_on = {"group:grass_block_no_snow", "mcl_core:dirt"},
|
||||||
sidelen = 80,
|
sidelen = 80,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.00075,
|
offset = 0.000545,
|
||||||
scale = 0.0011,
|
scale = 0.0011,
|
||||||
spread = {x = 250, y = 250, z = 250},
|
spread = {x = 250, y = 250, z = 250},
|
||||||
seed = 3,
|
seed = 3 + 5 * i,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
persist = 0.66
|
persist = 0.66
|
||||||
},
|
},
|
||||||
|
@ -1763,7 +1763,7 @@ local function register_decorations()
|
||||||
place_on = {"group:grass_block", "mcl_core:dirt", },
|
place_on = {"group:grass_block", "mcl_core:dirt", },
|
||||||
sidelen = 80,
|
sidelen = 80,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = -0.0004,
|
offset = -0.0008,
|
||||||
scale = 0.001,
|
scale = 0.001,
|
||||||
spread = {x = 250, y = 250, z = 250},
|
spread = {x = 250, y = 250, z = 250},
|
||||||
seed = 3,
|
seed = 3,
|
||||||
|
@ -2057,9 +2057,10 @@ local function register_decorations()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Huge spruce
|
-- Huge spruce
|
||||||
quick_spruce(3000, 0.005, "mcl_core_spruce_huge_1.mts", {"MegaSpruceTaiga"})
|
quick_spruce(3000, 0.00205, "mcl_core_spruce_huge_1.mts", {"MegaSpruceTaiga"})
|
||||||
quick_spruce(4000, 0.005, "mcl_core_spruce_huge_2.mts", {"MegaSpruceTaiga"})
|
quick_spruce(4000, 0.00245, "mcl_core_spruce_huge_2.mts", {"MegaSpruceTaiga"})
|
||||||
quick_spruce(6000, 0.005, "mcl_core_spruce_huge_3.mts", {"MegaSpruceTaiga"})
|
quick_spruce(6000, 0.00245, "mcl_core_spruce_huge_3.mts", {"MegaSpruceTaiga"})
|
||||||
|
quick_spruce(6600, 0.00245, "mcl_core_spruce_huge_4.mts", {"MegaSpruceTaiga"})
|
||||||
|
|
||||||
quick_spruce(3000, 0.0008, "mcl_core_spruce_huge_up_1.mts", {"MegaTaiga"})
|
quick_spruce(3000, 0.0008, "mcl_core_spruce_huge_up_1.mts", {"MegaTaiga"})
|
||||||
quick_spruce(4000, 0.0008, "mcl_core_spruce_huge_up_2.mts", {"MegaTaiga"})
|
quick_spruce(4000, 0.0008, "mcl_core_spruce_huge_up_2.mts", {"MegaTaiga"})
|
||||||
|
|
Loading…
Reference in New Issue