forked from minetest/minetest_game
New wider apple tree schematic
Precisely reduce trees and logs per mapchunk division to compensate.
This commit is contained in:
parent
3d02145271
commit
20b433881b
@ -1621,8 +1621,8 @@ function default.register_decorations()
|
|||||||
place_on = {"default:dirt_with_grass"},
|
place_on = {"default:dirt_with_grass"},
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.036,
|
offset = 0.024,
|
||||||
scale = 0.022,
|
scale = 0.015,
|
||||||
spread = {x = 250, y = 250, z = 250},
|
spread = {x = 250, y = 250, z = 250},
|
||||||
seed = 2,
|
seed = 2,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
@ -1643,8 +1643,8 @@ function default.register_decorations()
|
|||||||
place_offset_y = 1,
|
place_offset_y = 1,
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.0018,
|
offset = 0.0012,
|
||||||
scale = 0.0011,
|
scale = 0.0007,
|
||||||
spread = {x = 250, y = 250, z = 250},
|
spread = {x = 250, y = 250, z = 250},
|
||||||
seed = 2,
|
seed = 2,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
|
@ -684,8 +684,8 @@ minetest.register_node("default:sapling", {
|
|||||||
"default:sapling",
|
"default:sapling",
|
||||||
-- minp, maxp to be checked, relative to sapling pos
|
-- minp, maxp to be checked, relative to sapling pos
|
||||||
-- minp_relative.y = 1 because sapling pos has been checked
|
-- minp_relative.y = 1 because sapling pos has been checked
|
||||||
{x = -2, y = 1, z = -2},
|
{x = -3, y = 1, z = -3},
|
||||||
{x = 2, y = 6, z = 2},
|
{x = 3, y = 6, z = 3},
|
||||||
-- maximum interval of interior volume check
|
-- maximum interval of interior volume check
|
||||||
4)
|
4)
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -387,7 +387,7 @@ end
|
|||||||
function default.grow_new_apple_tree(pos)
|
function default.grow_new_apple_tree(pos)
|
||||||
local path = minetest.get_modpath("default") ..
|
local path = minetest.get_modpath("default") ..
|
||||||
"/schematics/apple_tree_from_sapling.mts"
|
"/schematics/apple_tree_from_sapling.mts"
|
||||||
minetest.place_schematic({x = pos.x - 2, y = pos.y - 1, z = pos.z - 2},
|
minetest.place_schematic({x = pos.x - 3, y = pos.y - 1, z = pos.z - 3},
|
||||||
path, "random", nil, false)
|
path, "random", nil, false)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -30,66 +30,80 @@ local _ = {name = "air", prob = 0}
|
|||||||
|
|
||||||
-- Mapgen Apple tree
|
-- Mapgen Apple tree
|
||||||
|
|
||||||
local L = {name = "default:leaves", prob = 191}
|
|
||||||
local N = {name = "default:leaves", prob = 223}
|
|
||||||
local M = {name = "default:leaves", prob = 255}
|
local M = {name = "default:leaves", prob = 255}
|
||||||
|
local N = {name = "default:leaves", prob = 223}
|
||||||
local F = {name = "default:apple", prob = 63}
|
local F = {name = "default:apple", prob = 63}
|
||||||
local T = {name = "default:tree", prob = 255}
|
|
||||||
local Y = {name = "default:tree", prob = 255, force_place = true}
|
local Y = {name = "default:tree", prob = 255, force_place = true}
|
||||||
local U = {name = "default:tree", prob = 127}
|
local T = {name = "default:tree", prob = 255}
|
||||||
local I = {name = "default:tree", prob = 127, force_place = true}
|
|
||||||
|
|
||||||
mts_save("apple_tree", {
|
mts_save("apple_tree", {
|
||||||
size = {x = 5, y = 8, z = 5},
|
size = {x = 7, y = 8, z = 7},
|
||||||
data = {
|
data = {
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
L, N, N, N, L,
|
_, _, N, M, N, _, _,
|
||||||
L, N, N, N, L,
|
_, _, _, N, _, _, _,
|
||||||
L, N, N, N, L,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
|
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
N, Y, F, I, N,
|
_, M, M, F, M, M, _,
|
||||||
N, M, M, M, N,
|
_, N, M, M, M, N, _,
|
||||||
N, M, M, M, N,
|
_, _, N, M, N, _, _,
|
||||||
_, N, N, N, _,
|
_, _, _, _, _, _, _,
|
||||||
|
|
||||||
_, _, Y, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, Y, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, Y, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, Y, _, _,
|
_, _, _, _, _, _, _,
|
||||||
N, F, M, F, N,
|
N, M, Y, _, _, M, N,
|
||||||
N, M, M, M, N,
|
_, M, M, _, Y, M, _,
|
||||||
N, M, M, M, N,
|
_, N, M, M, M, N, _,
|
||||||
_, N, M, N, _,
|
_, _, _, N, _, _, _,
|
||||||
|
|
||||||
_, _, _, _, _,
|
_, _, _, Y, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, Y, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, Y, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, Y, _, _, _,
|
||||||
N, I, F, Y, N,
|
M, F, _, Y, _, F, M,
|
||||||
N, M, M, M, N,
|
N, M, _, _, _, M, N,
|
||||||
N, M, M, M, N,
|
_, M, M, M, M, M, _,
|
||||||
_, N, N, N, _,
|
_, _, N, M, N, _, _,
|
||||||
|
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
L, N, N, N, L,
|
N, M, _, _, Y, M, N,
|
||||||
L, N, N, N, L,
|
_, M, Y, _, M, M, _,
|
||||||
L, N, N, N, L,
|
_, N, M, M, M, N, _,
|
||||||
_, _, _, _, _,
|
_, _, _, N, _, _, _,
|
||||||
|
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, M, M, F, M, M, _,
|
||||||
|
_, N, M, M, M, N, _,
|
||||||
|
_, _, N, M, N, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, N, M, N, _, _,
|
||||||
|
_, _, _, N, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
},
|
},
|
||||||
yslice_prob = {
|
yslice_prob = {
|
||||||
{ypos = 2, prob = 127},
|
{ypos = 2, prob = 127},
|
||||||
{ypos = 6, prob = 127},
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -97,56 +111,73 @@ mts_save("apple_tree", {
|
|||||||
-- Apple tree from sapling
|
-- Apple tree from sapling
|
||||||
|
|
||||||
mts_save("apple_tree_from_sapling", {
|
mts_save("apple_tree_from_sapling", {
|
||||||
size = {x = 5, y = 8, z = 5},
|
size = {x = 7, y = 8, z = 7},
|
||||||
data = {
|
data = {
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
L, N, N, N, L,
|
_, _, N, M, N, _, _,
|
||||||
L, N, N, N, L,
|
_, _, _, N, _, _, _,
|
||||||
L, N, N, N, L,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
|
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
N, T, F, U, N,
|
_, M, M, F, M, M, _,
|
||||||
N, M, M, M, N,
|
_, N, M, M, M, N, _,
|
||||||
N, M, M, M, N,
|
_, _, N, M, N, _, _,
|
||||||
_, N, N, N, _,
|
_, _, _, _, _, _, _,
|
||||||
|
|
||||||
_, _, T, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, Y, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, T, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, T, _, _,
|
_, _, _, _, _, _, _,
|
||||||
N, F, M, F, N,
|
N, M, T, _, _, M, N,
|
||||||
N, M, M, M, N,
|
_, M, M, _, T, M, _,
|
||||||
N, M, M, M, N,
|
_, N, M, M, M, N, _,
|
||||||
_, N, M, N, _,
|
_, _, _, N, _, _, _,
|
||||||
|
|
||||||
_, _, _, _, _,
|
_, _, _, T, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, Y, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, T, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, T, _, _, _,
|
||||||
N, U, F, T, N,
|
M, F, _, T, _, F, M,
|
||||||
N, M, M, M, N,
|
N, M, _, _, _, M, N,
|
||||||
N, M, M, M, N,
|
_, M, M, M, M, M, _,
|
||||||
_, N, N, N, _,
|
_, _, N, M, N, _, _,
|
||||||
|
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
_, _, _, _, _,
|
_, _, _, _, _, _, _,
|
||||||
L, N, N, N, L,
|
N, M, _, _, T, M, N,
|
||||||
L, N, N, N, L,
|
_, M, T, _, M, M, _,
|
||||||
L, N, N, N, L,
|
_, N, M, M, M, N, _,
|
||||||
_, _, _, _, _,
|
_, _, _, N, _, _, _,
|
||||||
|
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, M, M, F, M, M, _,
|
||||||
|
_, N, M, M, M, N, _,
|
||||||
|
_, _, N, M, N, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, N, M, N, _, _,
|
||||||
|
_, _, _, N, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
|
_, _, _, _, _, _, _,
|
||||||
},
|
},
|
||||||
yslice_prob = {
|
yslice_prob = {
|
||||||
{ypos = 2, prob = 127},
|
{ypos = 2, prob = 127},
|
||||||
{ypos = 6, prob = 127},
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user