Ajoute biome méditérranéen
This commit is contained in:
parent
a7b550488c
commit
cf37b92453
445
nalc_mediterranean/init.lua
Normal file
445
nalc_mediterranean/init.lua
Normal file
@ -0,0 +1,445 @@
|
|||||||
|
-- Load tree's schematics
|
||||||
|
--local schems_pin_parasol = assert(loadfile(minetest.get_modpath("nalc_mediterranean").."/pin_parasol.lua"))()
|
||||||
|
--
|
||||||
|
--local schems_pin_maritime = assert(loadfile(minetest.get_modpath("nalc_mediterranean").."/pin_maritime.lua"))()
|
||||||
|
--
|
||||||
|
--local schems_cypres = assert(loadfile(minetest.get_modpath("nalc_mediterranean").."/cypres.lua"))()
|
||||||
|
--
|
||||||
|
--local schems_olivier = assert(loadfile(minetest.get_modpath("nalc_mediterranean").."/olivier.lua"))()
|
||||||
|
|
||||||
|
-- Mediterranean Dirt definition
|
||||||
|
local dirt_data = table.copy(minetest.registered_nodes["default:dirt_with_dry_grass"])
|
||||||
|
|
||||||
|
dirt_data.description = "Dirt with Mediterranean Grass"
|
||||||
|
dirt_data.tiles =
|
||||||
|
{"default_dry_grass.png^[multiply:#8ACA00", "default_dirt.png",
|
||||||
|
{name = "default_dirt.png^(default_dry_grass_side.png^[multiply:#8ACA00)",
|
||||||
|
tileable_vertical = false}
|
||||||
|
}
|
||||||
|
|
||||||
|
minetest.register_node("nalc_mediterranean:dirt_with_mediterranean_grass", dirt_data)
|
||||||
|
|
||||||
|
-- Mediterranean pine needles
|
||||||
|
-- Pine Needles
|
||||||
|
local needles_data = table.copy(minetest.registered_nodes["default:pine_needles"])
|
||||||
|
needles_data.description = "Mediterranean Pine Needles"
|
||||||
|
needles_data.drop = {
|
||||||
|
max_items = 1,
|
||||||
|
items = {
|
||||||
|
{
|
||||||
|
items = {'nalc_mediterranean:sapling_umbrella_pine'},
|
||||||
|
rarity = 120,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
items = {'nalc_mediterranean:sapling_maritime_pine'},
|
||||||
|
rarity = 120,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
items = {'nalc_mediterranean:sapling_cypress'},
|
||||||
|
rarity = 120,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
items = {'nalc_mediterranean:needles'},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
minetest.register_node("nalc_mediterranean:needles", needles_data)
|
||||||
|
|
||||||
|
-- Olive tree definition
|
||||||
|
local tree_data = table.copy(minetest.registered_nodes["default:tree"])
|
||||||
|
tree_data.description = "Olive tree trunk"
|
||||||
|
tree_data.tiles = {"default_tree_top.png", "default_tree_top.png", "default_pine_tree.png^[colorize:#8F8F8F6F"}
|
||||||
|
|
||||||
|
minetest.register_node("nalc_mediterranean:olive_tree", tree_data)
|
||||||
|
|
||||||
|
-- Mediterranean Olive leaves
|
||||||
|
local leaves_data = table.copy(minetest.registered_nodes["default:leaves"])
|
||||||
|
leaves_data.description = "Olive Leaves"
|
||||||
|
leaves_data.tiles = {"feuilles_olivier.png"}
|
||||||
|
leaves_data.special_tiles = {"feuilles_olivier.png"}
|
||||||
|
leaves_data.drop = {
|
||||||
|
max_items = 1,
|
||||||
|
items = {
|
||||||
|
{
|
||||||
|
items = {'nalc_mediterranean:sapling_olive'},
|
||||||
|
rarity = 40,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
items = {'nalc_mediterranean:olive_leaves'},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
minetest.register_node("nalc_mediterranean:olive_leaves", leaves_data)
|
||||||
|
|
||||||
|
-- Saplings Definitions
|
||||||
|
local path = minetest.get_modpath("nalc_mediterranean").."/schematics"
|
||||||
|
|
||||||
|
local function grow_umbrella_pine(pos)
|
||||||
|
minetest.place_schematic({x= pos.x -10, y = pos.y - 1, z = pos.z - 10}, path.."/pin_parasol.mts", "random", nil, true)
|
||||||
|
end
|
||||||
|
|
||||||
|
local function grow_maritime_pine(pos)
|
||||||
|
minetest.place_schematic({x= pos.x -4, y = pos.y - 1, z = pos.z - 4}, path.."/pin_maritime.mts", "0", nil, true)
|
||||||
|
end
|
||||||
|
|
||||||
|
local function grow_cypress(pos)
|
||||||
|
minetest.place_schematic({x= pos.x -4, y = pos.y - 1, z = pos.z - 4}, path.."/cypres.mts", "0", nil, true)
|
||||||
|
end
|
||||||
|
|
||||||
|
local function grow_olive_tree(pos)
|
||||||
|
minetest.place_schematic({x= pos.x -4, y = pos.y - 1, z = pos.z - 4}, path.."/olivier.mts", "random", nil, true)
|
||||||
|
end
|
||||||
|
|
||||||
|
local function grow_sapling(pos)
|
||||||
|
if not default.can_grow(pos) then
|
||||||
|
-- try again 5 min later
|
||||||
|
minetest.get_node_timer(pos):start(300)
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
local node = minetest.get_node(pos)
|
||||||
|
if node.name == "nalc_mediterranean:sapling_umbrella_pine" then
|
||||||
|
minetest.log("action", "An Umbrella Pine sapling grows into a tree at "..minetest.pos_to_string(pos))
|
||||||
|
grow_umbrella_pine(pos)
|
||||||
|
elseif node.name == "nalc_mediterranean:sapling_maritime_pine" then
|
||||||
|
minetest.log("action", "A Maritime Pine sapling grows into a tree at "..minetest.pos_to_string(pos))
|
||||||
|
grow_maritime_pine(pos)
|
||||||
|
elseif node.name == "nalc_mediterranean:sapling_cypress" then
|
||||||
|
minetest.log("action", "A Cypress sapling grows into a tree at "..minetest.pos_to_string(pos))
|
||||||
|
grow_cypres(pos)
|
||||||
|
elseif node.name == "nalc_mediterranean:sapling_olive" then
|
||||||
|
minetest.log("action", "An Olive sapling grows into a tree at "..minetest.pos_to_string(pos))
|
||||||
|
grow_olive_tree(pos)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
minetest.register_lbm({
|
||||||
|
name = "nalc_mediterranean:convert_saplings_to_node_timer",
|
||||||
|
nodenames = {"nalc_mediterranean:sapling_umbrella_pine", "nalc_mediterranean:sapling_maritime_pine", "nalc_mediterranean:sapling_cypress", "nalc_mediterranean:sapling_olive"},
|
||||||
|
action = function(pos)
|
||||||
|
minetest.get_node_timer(pos):start(math.random(300, 1500))
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Saplings --
|
||||||
|
|
||||||
|
local sapling_data = table.copy(minetest.registered_nodes["default:pine_sapling"])
|
||||||
|
|
||||||
|
local trees = {
|
||||||
|
{ description = "Umbrella Pine Sapling",
|
||||||
|
sapling = "nalc_mediterranean:sapling_umbrella_pine",
|
||||||
|
minp = {x = -10, y = 1, z = -10},
|
||||||
|
maxp = {x = 10, y = 16, z = 10},
|
||||||
|
texture = "default_pine_sapling.png",
|
||||||
|
},
|
||||||
|
{ description = "Maritime Pine Sapling",
|
||||||
|
sapling = "nalc_mediterranean:sapling_maritime_pine",
|
||||||
|
minp = {x = -4, y = 1, z = -4},
|
||||||
|
maxp = {x = 4, y = 14, z = 4},
|
||||||
|
texture = "default_pine_sapling.png",
|
||||||
|
},
|
||||||
|
{ description = "Cypress Sapling",
|
||||||
|
sapling = "nalc_mediterranean:sapling_cypress",
|
||||||
|
minp = {x = -4, y = 1, z = -4},
|
||||||
|
maxp = {x = 4, y = 19, z = 4},
|
||||||
|
texture = "default_pine_sapling.png",
|
||||||
|
},
|
||||||
|
{ description = "Olive Sapling",
|
||||||
|
sapling = "nalc_mediterranean:sapling_olive",
|
||||||
|
minp = {x = -4, y = 1, z = -4},
|
||||||
|
maxp = {x = 4, y = 9, z = 4},
|
||||||
|
texture = "default_sapling.png",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
for _, tree in pairs(trees) do
|
||||||
|
sapling_data.description = tree.description
|
||||||
|
sapling_data.tiles = {tree.texture}
|
||||||
|
sapling_data.inventory_image = tree.texture
|
||||||
|
sapling_data.wield_image = tree.texture
|
||||||
|
sapling_data.on_timer = grow_sapling
|
||||||
|
sapling_data.on_place = function(itemstack, placer, pointed_thing)
|
||||||
|
itemstack = default.sapling_on_place(
|
||||||
|
itemstack,
|
||||||
|
placer,
|
||||||
|
pointed_thing,
|
||||||
|
tree.sapling,
|
||||||
|
tree.minp,
|
||||||
|
tree.maxp,
|
||||||
|
4)
|
||||||
|
return itemstack
|
||||||
|
end
|
||||||
|
|
||||||
|
minetest.register_node(tree.sapling, table.copy(sapling_data))
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Biome méditéranéen
|
||||||
|
-- Température : 77
|
||||||
|
-- Humidité : 50
|
||||||
|
-- Altitude : 3-50
|
||||||
|
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "mediterranean",
|
||||||
|
node_top = "nalc_mediterranean:dirt_with_mediterranean_grass",
|
||||||
|
depth_top = 1,
|
||||||
|
node_filler = "default:dirt",
|
||||||
|
node_riverbed = "default:sand",
|
||||||
|
depth_riverbed = 2,
|
||||||
|
node_dungeon = "default:cobble",
|
||||||
|
node_dungeon_alt = "default:mossycobble",
|
||||||
|
node_dungeon_stair = "default:stair_cobble",
|
||||||
|
y_min = 4,
|
||||||
|
y_max = 150,
|
||||||
|
heat_point = 77,
|
||||||
|
humidity_point = 50,
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Biome méditéranéen plage
|
||||||
|
-- Température : 77
|
||||||
|
-- Humidité : 50
|
||||||
|
-- Altitude : 0-3
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "mediterranean_shore",
|
||||||
|
node_top = "default:sand",
|
||||||
|
depth_top = 1,
|
||||||
|
node_filler = "default:sand",
|
||||||
|
node_riverbed = "default:sand",
|
||||||
|
depth_riverbed = 2,
|
||||||
|
node_dungeon = "default:cobble",
|
||||||
|
node_dungeon_alt = "default:mossycobble",
|
||||||
|
node_dungeon_stair = "default:stair_cobble",
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 3,
|
||||||
|
heat_point = 77,
|
||||||
|
humidity_point = 50,
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Decorations --
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "nalc_mediterranean:umbrella_pine",
|
||||||
|
deco_type = "schematic",
|
||||||
|
place_on = {"nalc_mediterranean:dirt_with_mediterranean_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
fill_ratio = 0.0005,
|
||||||
|
biomes = {"mediterranean"},
|
||||||
|
y_min = 4,
|
||||||
|
y_max = 60,
|
||||||
|
schematic = path.."/pin_parasol.mts",
|
||||||
|
flags = "place_center_x, place_center_z",
|
||||||
|
rotation = "random",
|
||||||
|
spawn_by = "nalc_mediterranean:dirt_with_mediterranean_grass",
|
||||||
|
num_spawn_by = 4,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "nalc_mediterranean:maritime_pine",
|
||||||
|
deco_type = "schematic",
|
||||||
|
place_on = {"nalc_mediterranean:dirt_with_mediterranean_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.005,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0.003,
|
||||||
|
scale = -0.0096,
|
||||||
|
spread = {x = 200, y = 200, z = 200},
|
||||||
|
seed = 2,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.68,
|
||||||
|
},
|
||||||
|
biomes = {"mediterranean"},
|
||||||
|
y_min = 4,
|
||||||
|
y_max = 100,
|
||||||
|
schematic = path.."/pin_maritime.mts",
|
||||||
|
flags = "place_center_x, place_center_z",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "nalc_mediterranean:cypress",
|
||||||
|
deco_type = "schematic",
|
||||||
|
place_on = {"nalc_mediterranean:dirt_with_mediterranean_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.0005,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0,
|
||||||
|
scale = 0.003,
|
||||||
|
spread = {x = 200, y = 200, z = 200},
|
||||||
|
seed = 329,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.6,
|
||||||
|
},
|
||||||
|
biomes = {"mediterranean"},
|
||||||
|
y_min = 4,
|
||||||
|
y_max = 40,
|
||||||
|
schematic = path.."/cypres.mts",
|
||||||
|
flags = "place_center_x, place_center_z",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "nalc_mediterranean:olive_tree1",
|
||||||
|
deco_type = "schematic",
|
||||||
|
place_on = {"nalc_mediterranean:dirt_with_mediterranean_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
fill_ratio = 0.00005,
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0,
|
||||||
|
-- scale = 0.003,
|
||||||
|
-- spread = {x = 200, y = 200, z = 200},
|
||||||
|
-- seed = 329,
|
||||||
|
-- octaves = 3,
|
||||||
|
-- persist = 0.6,
|
||||||
|
-- },
|
||||||
|
biomes = {"mediterranean"},
|
||||||
|
y_min = 4,
|
||||||
|
y_max = 100,
|
||||||
|
schematic = path.."/olivier.mts",
|
||||||
|
flags = "place_center_x, place_center_z",
|
||||||
|
rotation = "random",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "nalc_mediterranean:olive_tree2",
|
||||||
|
deco_type = "schematic",
|
||||||
|
place_on = {"nalc_mediterranean:dirt_with_mediterranean_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
fill_ratio = 0.0005,
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0,
|
||||||
|
-- scale = 0.003,
|
||||||
|
-- spread = {x = 200, y = 200, z = 200},
|
||||||
|
-- seed = 329,
|
||||||
|
-- octaves = 3,
|
||||||
|
-- persist = 0.6,
|
||||||
|
-- },
|
||||||
|
biomes = {"mediterranean"},
|
||||||
|
y_min = 30,
|
||||||
|
y_max = 60,
|
||||||
|
schematic = path.."/olivier.mts",
|
||||||
|
flags = "place_center_x, place_center_z",
|
||||||
|
rotation = "random",
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Leaf decay
|
||||||
|
|
||||||
|
if minetest.get_modpath("snow") then
|
||||||
|
default.register_leafdecay{
|
||||||
|
trunks = {"default:pine_tree"},
|
||||||
|
leaves = {"snow:needles", "default:pine_needles", "snow:needles_decorated", "nalc_mediterranean:needles"},
|
||||||
|
radius = 5,
|
||||||
|
}
|
||||||
|
else
|
||||||
|
default.register_leafdecay{
|
||||||
|
trunks = {"default:pine_tree"},
|
||||||
|
leaves = {"default:pine_needles", "nalc_mediterranean:needles"},
|
||||||
|
radius = 5,
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
default.register_leafdecay{
|
||||||
|
trunks = {"nalc_mediterranean:olive_tree"},
|
||||||
|
leaves = {"nalc_mediterranean:olive_leaves"},
|
||||||
|
radius = 3,
|
||||||
|
}
|
||||||
|
|
||||||
|
-- Grass decorations
|
||||||
|
local function register_grass_decoration(offset, scale, length)
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "nalc_mediterranean:grass_" .. length,
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"nalc_mediterranean:dirt_with_mediterranean_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
noise_params = {
|
||||||
|
offset = offset,
|
||||||
|
scale = scale,
|
||||||
|
spread = {x = 200, y = 200, z = 200},
|
||||||
|
seed = 329,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.6
|
||||||
|
},
|
||||||
|
biomes = {"mediterranean"},
|
||||||
|
y_max = 31000,
|
||||||
|
y_min = 1,
|
||||||
|
decoration = "default:grass_" .. length,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
local function register_dry_grass_decoration(offset, scale, length)
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "nalc_mediterranean:dry_grass_" .. length,
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"nalc_mediterranean:dirt_with_mediterranean_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
noise_params = {
|
||||||
|
offset = offset,
|
||||||
|
scale = scale,
|
||||||
|
spread = {x = 200, y = 200, z = 200},
|
||||||
|
seed = 330,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.6
|
||||||
|
},
|
||||||
|
biomes = {"mediterranean"},
|
||||||
|
y_max = 31000,
|
||||||
|
y_min = 1,
|
||||||
|
decoration = "default:dry_grass_" .. length,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Grasses
|
||||||
|
|
||||||
|
register_grass_decoration(-0.03, 0.09, 5)
|
||||||
|
register_grass_decoration(-0.015, 0.075, 4)
|
||||||
|
register_grass_decoration(0, 0.06, 3)
|
||||||
|
register_grass_decoration(0.015, 0.045, 2)
|
||||||
|
register_grass_decoration(0.03, 0.03, 1)
|
||||||
|
|
||||||
|
-- Dry grasses
|
||||||
|
|
||||||
|
register_dry_grass_decoration(0.01, 0.05, 5)
|
||||||
|
register_dry_grass_decoration(0.03, 0.03, 4)
|
||||||
|
register_dry_grass_decoration(0.05, 0.01, 3)
|
||||||
|
register_dry_grass_decoration(0.07, -0.01, 2)
|
||||||
|
register_dry_grass_decoration(0.09, -0.03, 1)
|
||||||
|
|
||||||
|
-- Pine bush
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "nalc_mediterranean:pine_bush",
|
||||||
|
deco_type = "schematic",
|
||||||
|
place_on = {"nalc_mediterranean:dirt_with_mediterranean_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
noise_params = {
|
||||||
|
offset = -0.004,
|
||||||
|
scale = 0.01,
|
||||||
|
spread = {x = 100, y = 100, z = 100},
|
||||||
|
seed = 137,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.7,
|
||||||
|
},
|
||||||
|
biomes = {"mediterranean"},
|
||||||
|
y_max = 31000,
|
||||||
|
y_min = 4,
|
||||||
|
schematic = minetest.get_modpath("default") .. "/schematics/pine_bush.mts",
|
||||||
|
flags = "place_center_x, place_center_z",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.log("action", "[nalc_mediterranean] loaded.")
|
||||||
|
|
||||||
|
-- local mts_save = function(name, schematic)
|
||||||
|
-- local s = minetest.serialize_schematic(schematic, "mts", {})
|
||||||
|
-- local path = minetest.get_modpath("nalc_mediterranean") .. "/schematics"
|
||||||
|
-- local filename = path .. "/" .. name .. ".mts"
|
||||||
|
-- filename = filename:gsub("\"", "\\\""):gsub("\\", "\\\\")
|
||||||
|
-- local file, err = io.open(filename, "wb")
|
||||||
|
-- if err == nil then
|
||||||
|
-- file:write(s)
|
||||||
|
-- file:flush()
|
||||||
|
-- file:close()
|
||||||
|
-- end
|
||||||
|
-- print("Wrote: " .. filename)
|
||||||
|
--end
|
||||||
|
|
||||||
|
--mts_save("pin_parasol", schems_pin_parasol)
|
||||||
|
--mts_save("pin_maritime", schems_pin_maritime)
|
||||||
|
--mts_save("cypres", schems_cypres)
|
||||||
|
--mts_save("olivier", schems_olivier)
|
3
nalc_mediterranean/mod.conf
Normal file
3
nalc_mediterranean/mod.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
name = nalc_mediterranean
|
||||||
|
depends = default
|
||||||
|
optional_depends = snow
|
179
nalc_mediterranean/schematics/cypres.lua
Normal file
179
nalc_mediterranean/schematics/cypres.lua
Normal file
@ -0,0 +1,179 @@
|
|||||||
|
local _ = {name = "air", prob = 0}
|
||||||
|
local Q = {name = "default:pine_tree", force_place = true}
|
||||||
|
local R = {name = "nalc_mediterranean:needles", param2=0}
|
||||||
|
|
||||||
|
local schems_cypres = {
|
||||||
|
size = {x=7, y=20, z=7},
|
||||||
|
yslice_prob = {
|
||||||
|
{ypos=0, prob=254},
|
||||||
|
{ypos=1, prob=254},
|
||||||
|
{ypos=2, prob=254},
|
||||||
|
{ypos=3, prob=192},
|
||||||
|
{ypos=4, prob=254},
|
||||||
|
{ypos=5, prob=192},
|
||||||
|
{ypos=6, prob=254},
|
||||||
|
{ypos=7, prob=254},
|
||||||
|
{ypos=8, prob=254},
|
||||||
|
{ypos=9, prob=254},
|
||||||
|
{ypos=10, prob=254},
|
||||||
|
{ypos=11, prob=254},
|
||||||
|
{ypos=12, prob=254},
|
||||||
|
{ypos=13, prob=254},
|
||||||
|
{ypos=14, prob=254},
|
||||||
|
{ypos=15, prob=254},
|
||||||
|
{ypos=16, prob=254},
|
||||||
|
{ypos=17, prob=254},
|
||||||
|
{ypos=18, prob=254},
|
||||||
|
{ypos=19, prob=254},
|
||||||
|
},
|
||||||
|
data = {
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,R,R,R,R,R,_,
|
||||||
|
_,R,R,R,R,R,_,
|
||||||
|
_,R,R,R,R,R,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
|
||||||
|
_,_,_,Q,_,_,_,
|
||||||
|
_,_,_,Q,_,_,_,
|
||||||
|
_,_,R,Q,R,_,_,
|
||||||
|
_,R,R,Q,R,_,_,
|
||||||
|
_,R,R,Q,R,R,_,
|
||||||
|
_,R,R,Q,R,R,_,
|
||||||
|
R,R,R,Q,R,R,R,
|
||||||
|
R,R,R,Q,R,R,R,
|
||||||
|
R,R,R,Q,R,R,R,
|
||||||
|
_,R,R,Q,R,R,_,
|
||||||
|
_,R,R,Q,R,R,_,
|
||||||
|
_,R,R,Q,R,R,_,
|
||||||
|
_,R,R,Q,R,R,_,
|
||||||
|
_,_,R,Q,R,_,_,
|
||||||
|
_,_,R,Q,R,_,_,
|
||||||
|
_,_,R,Q,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,R,R,R,R,R,_,
|
||||||
|
_,R,R,R,R,R,_,
|
||||||
|
_,R,R,R,R,R,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,R,R,R,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return schems_cypres
|
BIN
nalc_mediterranean/schematics/cypres.mts
Normal file
BIN
nalc_mediterranean/schematics/cypres.mts
Normal file
Binary file not shown.
459
nalc_mediterranean/schematics/olivier.lua
Normal file
459
nalc_mediterranean/schematics/olivier.lua
Normal file
@ -0,0 +1,459 @@
|
|||||||
|
local schematic = {
|
||||||
|
size = {x=7, y=9, z=7},
|
||||||
|
yslice_prob = {
|
||||||
|
{ypos=0, prob=254},
|
||||||
|
{ypos=1, prob=192},
|
||||||
|
{ypos=2, prob=128},
|
||||||
|
{ypos=3, prob=254},
|
||||||
|
{ypos=4, prob=254},
|
||||||
|
{ypos=5, prob=254},
|
||||||
|
{ypos=6, prob=254},
|
||||||
|
{ypos=7, prob=254},
|
||||||
|
{ypos=8, prob=254},
|
||||||
|
},
|
||||||
|
data = {
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=128, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=128, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_tree", prob=254, param2=2},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_tree", prob=254, param2=2},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_tree", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_tree", prob=254, param2=3},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_tree", prob=254, param2=2},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_tree", prob=254, param2=2},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_tree", prob=254, param2=2},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_tree", prob=254, param2=3},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_tree", prob=254, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=192, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="nalc_mediterranean:olive_leaves", prob=254, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
{name="air", prob=0, param2=0},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
return schematic
|
BIN
nalc_mediterranean/schematics/olivier.mts
Normal file
BIN
nalc_mediterranean/schematics/olivier.mts
Normal file
Binary file not shown.
132
nalc_mediterranean/schematics/pin_maritime.lua
Normal file
132
nalc_mediterranean/schematics/pin_maritime.lua
Normal file
@ -0,0 +1,132 @@
|
|||||||
|
local _ = {name = "air", prob = 0}
|
||||||
|
local Q = {name = "default:pine_tree", force_place = true}
|
||||||
|
local R = {name = "nalc_mediterranean:needles", param2=0}
|
||||||
|
local T = {name = "nalc_mediterranean:needles", param2=0, prob=192}
|
||||||
|
|
||||||
|
local schems_pin_maritime = {
|
||||||
|
size = {x=7, y=14, z=7},
|
||||||
|
yslice_prob = {
|
||||||
|
{ypos=0, prob=254},
|
||||||
|
{ypos=1, prob=254},
|
||||||
|
{ypos=2, prob=128},
|
||||||
|
{ypos=3, prob=128},
|
||||||
|
{ypos=4, prob=128},
|
||||||
|
{ypos=5, prob=192},
|
||||||
|
{ypos=6, prob=192},
|
||||||
|
{ypos=7, prob=254},
|
||||||
|
{ypos=8, prob=254},
|
||||||
|
{ypos=9, prob=254},
|
||||||
|
{ypos=10, prob=254},
|
||||||
|
{ypos=11, prob=254},
|
||||||
|
{ypos=12, prob=254},
|
||||||
|
{ypos=13, prob=254},
|
||||||
|
},
|
||||||
|
data = {
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,T,T,T,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,T,R,R,R,T,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,T,T,T,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,T,T,T,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
T,R,R,R,R,R,T,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,T,R,R,R,T,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
|
||||||
|
_,_,_,Q,_,_,_,
|
||||||
|
_,_,_,Q,_,_,_,
|
||||||
|
_,_,_,Q,_,_,_,
|
||||||
|
_,_,_,Q,_,_,_,
|
||||||
|
_,_,_,Q,_,_,_,
|
||||||
|
_,_,_,Q,_,_,_,
|
||||||
|
_,_,_,Q,_,_,_,
|
||||||
|
_,_,T,Q,T,_,_,
|
||||||
|
_,_,R,Q,R,_,_,
|
||||||
|
T,R,R,Q,R,R,T,
|
||||||
|
_,_,R,Q,R,_,_,
|
||||||
|
_,T,R,Q,R,T,_,
|
||||||
|
_,_,R,Q,R,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,T,T,T,_,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
T,R,R,R,R,R,T,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,T,R,R,R,T,_,
|
||||||
|
_,_,_,R,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,T,R,R,R,T,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,T,T,T,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,T,T,T,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
_,_,_,_,_,_,_,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return schems_pin_maritime
|
BIN
nalc_mediterranean/schematics/pin_maritime.mts
Normal file
BIN
nalc_mediterranean/schematics/pin_maritime.mts
Normal file
Binary file not shown.
6427
nalc_mediterranean/schematics/pin_parasol.lua
Normal file
6427
nalc_mediterranean/schematics/pin_parasol.lua
Normal file
File diff suppressed because it is too large
Load Diff
BIN
nalc_mediterranean/schematics/pin_parasol.mts
Normal file
BIN
nalc_mediterranean/schematics/pin_parasol.mts
Normal file
Binary file not shown.
BIN
nalc_mediterranean/textures/feuilles_olivier.png
Normal file
BIN
nalc_mediterranean/textures/feuilles_olivier.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 293 B |
@ -1,3 +1,491 @@
|
|||||||
|
-- deciduous_cold
|
||||||
|
-- Température : 55
|
||||||
|
-- Humidité : 110
|
||||||
|
-- 3-200
|
||||||
|
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "deciduous_cold",
|
||||||
|
node_top = "default:dirt_with_grass",
|
||||||
|
depth_top = 1,
|
||||||
|
node_filler = "default:dirt",
|
||||||
|
node_riverbed = "default:sand",
|
||||||
|
depth_riverbed = 2,
|
||||||
|
node_dungeon = "default:cobble",
|
||||||
|
node_dungeon_alt = "default:mossycobble",
|
||||||
|
node_dungeon_stair = "default:stair_cobble",
|
||||||
|
y_min = 3,
|
||||||
|
y_max = 200,
|
||||||
|
heat_point = 55,
|
||||||
|
humidity_point = 69,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_biome({
|
||||||
|
name = "deciduous_cold_humid",
|
||||||
|
node_top = "default:dirt_with_grass",
|
||||||
|
depth_top = 1,
|
||||||
|
node_filler = "default:dirt",
|
||||||
|
node_riverbed = "default:sand",
|
||||||
|
depth_riverbed = 2,
|
||||||
|
node_dungeon = "default:cobble",
|
||||||
|
node_dungeon_alt = "default:mossycobble",
|
||||||
|
node_dungeon_stair = "default:stair_cobble",
|
||||||
|
y_min = 3,
|
||||||
|
y_max = 200,
|
||||||
|
heat_point = 55,
|
||||||
|
humidity_point = 111,
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Décorations --
|
||||||
|
|
||||||
|
-- fonctions de bruits
|
||||||
|
-- variables de bruits
|
||||||
|
local densités = {
|
||||||
|
{ offset = 0.000001,
|
||||||
|
scale = 0.00001,
|
||||||
|
},
|
||||||
|
{ offset = 0.00001,
|
||||||
|
scale = 0.0001,
|
||||||
|
},
|
||||||
|
{ offset = 0.0001,
|
||||||
|
scale = 0.001,
|
||||||
|
},
|
||||||
|
{ offset = 0.001,
|
||||||
|
scale = 0.01,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
local function noise_param(seed, spread, densité, octaves, persist)
|
||||||
|
return {
|
||||||
|
offset = densité.offset or 0.001,
|
||||||
|
scale = densité.scale or 0.01,
|
||||||
|
spread = {x = spread or 100, y = spread or 100, z = spread or 100},
|
||||||
|
seed = seed or math.random(1,999),
|
||||||
|
octaves = octaves or 1,
|
||||||
|
persist = persist or 0.5,
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Génération des arbres de moretrees en fonction des biomes et non plus par biome_lib
|
||||||
|
if not moretrees.enable_apple_tree then
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:apple_tree",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass", "default:dirt_with_coniferous_litter"},
|
||||||
|
sidelen = 16,
|
||||||
|
--fill_ratio = 0.0005,
|
||||||
|
noise_params = noise_param(750, 200, densités[2]),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.00003,
|
||||||
|
-- scale = 0.001,
|
||||||
|
-- spread = {x = 50, y = 50, z = 50},
|
||||||
|
-- seed = 750,
|
||||||
|
-- octaves = 3,
|
||||||
|
-- persist = 0.5,
|
||||||
|
-- },
|
||||||
|
biomes = {"mixed_mushroom_deciduous", "deciduous_forest", "coniferous_forest", "mixed_mushroom_cold", "grassland", "deciduous_cold", "deciduous_cold_humid"},
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:apple_tree_sapling_ongen",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if not moretrees.enable_oak then
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:oak",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass", "default:dirt_with_coniferous_litter", "nalc_mediterranean:dirt_with_mediterranean_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.005,
|
||||||
|
noise_params = noise_param(751, 200, densités[2]),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.00006,
|
||||||
|
-- scale = 0.00033,
|
||||||
|
-- spread = {x = 100, y = 100, z = 100},
|
||||||
|
-- seed = 751,
|
||||||
|
-- octaves = 1,
|
||||||
|
-- persist = 0,
|
||||||
|
-- },
|
||||||
|
biomes = {"grassland", "deciduous_forest", "mixed_mushroom_deciduous", "mixed_mushroom_cold", "coniferous_forest", "mediterranean"},
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:oak_sapling_ongen",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if not moretrees.enable_sequoia then
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:sequoia",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass", "default:dirt_with_coniferous_litter", "default:dirt_with_snow"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.005,
|
||||||
|
noise_params = noise_param(752, 150, densités[4], 3),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.0003,
|
||||||
|
-- scale = 0.01,
|
||||||
|
-- spread = {x = 30, y = 30, z = 30},
|
||||||
|
-- seed = 752,
|
||||||
|
-- octaves = 3,
|
||||||
|
-- persist = 0.5,
|
||||||
|
-- },
|
||||||
|
biomes = {"grassland", "pine_forest", "coniferous_forest", "mixed_mushroom_cold", "deciduous_forest", "mixed_mushroom_deciduous", "taiga", "snow_biome_alpine"},
|
||||||
|
y_min = 100,
|
||||||
|
y_max = 210,
|
||||||
|
decoration = "moretrees:sequoia_sapling_ongen",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if not moretrees.enable_palm then
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:palm",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt", "default:sand", "default:desert_sand", "default:dirt_with_rainforest_litter"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.005,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0.003,
|
||||||
|
scale = 0.01,
|
||||||
|
spread = {x = 30, y = 30, z = 30},
|
||||||
|
seed = 753,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.5,
|
||||||
|
},
|
||||||
|
biomes = {"desert", "desert_ocean", "rainforest_swamp"},
|
||||||
|
y_min = -2,
|
||||||
|
y_max = 3,
|
||||||
|
decoration = "moretrees:palm_sapling_ongen",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if not moretrees.enable_date_palm then
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:date_palm",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:sand", "default:desert_sand", "default:dry_dirt_with_dry_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.005,
|
||||||
|
noise_params = {
|
||||||
|
offset = -0.003,
|
||||||
|
scale = 0.01,
|
||||||
|
spread = {x = 30, y = 30, z = 30},
|
||||||
|
seed = 753,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.5,
|
||||||
|
},
|
||||||
|
biomes = {"desert", "desert_ocean", "sandstone_desert", "sandstone_desert_ocean", "savanna_shore", "mediterranean_shore"},
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 3,
|
||||||
|
decoration = "moretrees:date_palm_sapling_ongen",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if not moretrees.enable_cedar then
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:cedar_rare_alt50",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_coniferous_litter"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.0005,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0.00015,
|
||||||
|
scale = 0.0015,
|
||||||
|
spread = {x = 130, y = 130, z = 130},
|
||||||
|
seed = 754,
|
||||||
|
octaves = 1,
|
||||||
|
persist = 0.6,
|
||||||
|
},
|
||||||
|
biomes = {"coniferous_forest", "mixed_mushroom_cold"},
|
||||||
|
y_min = 50,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:cedar_sapling_ongen",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:cedar_rare_alt100",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass", "nalc_mediterranean:dirt_with_mediterranean_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.0005,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0.00015,
|
||||||
|
scale = 0.0008,
|
||||||
|
spread = {x = 130, y = 130, z = 130},
|
||||||
|
seed = 754,
|
||||||
|
octaves = 1,
|
||||||
|
persist = 0.6,
|
||||||
|
},
|
||||||
|
biomes = {"deciduous_forest", "mixed_mushroom_deciduous", "mediterranean"},
|
||||||
|
y_min = 100,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:cedar_sapling_ongen",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:cedar",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass", "default:dirt_with_snow"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.005,
|
||||||
|
noise_params = {
|
||||||
|
offset = 0.00015,
|
||||||
|
scale = 0.0015,
|
||||||
|
spread = {x = 130, y = 130, z = 130},
|
||||||
|
seed = 754,
|
||||||
|
octaves = 1,
|
||||||
|
persist = 0.6,
|
||||||
|
},
|
||||||
|
biomes = {"pine_forest"},
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:cedar_sapling_ongen",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if not moretrees.enable_rubber_tree then
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:rubber_tree",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_rainforest_litter", "default:dry_dirt_with_dry_grass", "default:dirt", "default:dry_dirt"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.005,
|
||||||
|
noise_params = noise_param(754, 130, densités[1]),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.00015,
|
||||||
|
-- scale = 0.0008,
|
||||||
|
-- spread = {x = 130, y = 130, z = 130},
|
||||||
|
-- seed = 754,
|
||||||
|
-- octaves = 1,
|
||||||
|
-- persist = 0.6,
|
||||||
|
-- },
|
||||||
|
biomes = {"rainforest", "rainforest_swamp", "mixed_mushroom_hot", "savanna", "savanna_shore"},
|
||||||
|
y_min = -1,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:rubber_tree_sapling_ongen",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if not moretrees.enable_willow then
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:willow_rare",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.0005,
|
||||||
|
noise_params = noise_param(755, 130, densités[1]),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.00015,
|
||||||
|
-- scale = 0.0008,
|
||||||
|
-- spread = {x = 130, y = 130, z = 130},
|
||||||
|
-- seed = 755,
|
||||||
|
-- octaves = 1,
|
||||||
|
-- persist = 0.6,
|
||||||
|
-- },
|
||||||
|
biomes = {"deciduous_forest", "mixed_mushroom_deciduous"},
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:willow_sapling_ongen",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:willow",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.005,
|
||||||
|
noise_params = noise_param(755, 100, densités[3]),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.0003,
|
||||||
|
-- scale = 0.0008,
|
||||||
|
-- spread = {x = 10, y = 10, z = 10},
|
||||||
|
-- seed = 755,
|
||||||
|
-- octaves = 1,
|
||||||
|
-- persist = 0.6,
|
||||||
|
-- },
|
||||||
|
biomes = {"deciduous_cold", "deciduous_cold_humid"},
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:willow_sapling_ongen",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if not moretrees.enable_birch then
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:birch",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass", "default:dirt_with_coniferous_litter"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.005,
|
||||||
|
noise_params = noise_param(756, 150, densités[3]),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.00001,
|
||||||
|
-- scale = 0.003,
|
||||||
|
-- spread = {x = 150, y = 150, z = 150},
|
||||||
|
-- seed = 756,
|
||||||
|
-- octaves = 3,
|
||||||
|
-- persist = 0.5,
|
||||||
|
-- },
|
||||||
|
biomes = {"coniferous_forest", "mixed_mushroom_cold", "grassland", "deciduous_forest", "mixed_mushroom_deciduous"},
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:birch_sapling_ongen",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if not moretrees.enable_spruce then
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:spruce_rare_alt40-200",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.0005,
|
||||||
|
noise_params = noise_param(757, 250, densités[2], 2),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.00015,
|
||||||
|
-- scale = 0.0015,
|
||||||
|
-- spread = {x = 130, y = 130, z = 130},
|
||||||
|
-- seed = 757,
|
||||||
|
-- octaves = 1,
|
||||||
|
-- persist = 0.6,
|
||||||
|
-- },
|
||||||
|
biomes = {"deciduous_forest", "mixed_mushroom_deciduous"},
|
||||||
|
y_min = 40,
|
||||||
|
y_max = 200,
|
||||||
|
decoration = "moretrees:spruce_sapling_ongen",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:spruce",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_snow", "default:dirt_with_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.005,
|
||||||
|
noise_params = noise_param(757, 250, densités[3], 2),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.0003,
|
||||||
|
-- scale = 0.0016,
|
||||||
|
-- spread = {x = 130, y = 130, z = 130},
|
||||||
|
-- seed = 757,
|
||||||
|
-- octaves = 1,
|
||||||
|
-- persist = 0.6,
|
||||||
|
-- },
|
||||||
|
biomes = {"coniferous_forest", "mixed_mushroom_cold", "taiga", "snow_biome_forest", "snow_biome_lush", "pine_forest"},
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:spruce_sapling_ongen",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if not moretrees.enable_fir then
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:fir_rare_alt40-200",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.0005,
|
||||||
|
noise_params = noise_param(758, 250, densités[2], 2),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.00015,
|
||||||
|
-- scale = 0.0015,
|
||||||
|
-- spread = {x = 130, y = 130, z = 130},
|
||||||
|
-- seed = 758,
|
||||||
|
-- octaves = 1,
|
||||||
|
-- persist = 0.6,
|
||||||
|
-- },
|
||||||
|
biomes = {"deciduous_forest", "mixed_mushroom_deciduous"},
|
||||||
|
y_min = 40,
|
||||||
|
y_max = 200,
|
||||||
|
decoration = "moretrees:fir_sapling_ongen",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:fir",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_snow", "default:dirt_with_grass", "default:dirt_with_coniferous_litter"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.005,
|
||||||
|
noise_params = noise_param(758, 250, densités[3], 2),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.0003,
|
||||||
|
-- scale = 0.0016,
|
||||||
|
-- spread = {x = 130, y = 130, z = 130},
|
||||||
|
-- seed = 758,
|
||||||
|
-- octaves = 1,
|
||||||
|
-- persist = 0.6,
|
||||||
|
-- },
|
||||||
|
biomes = {"snow_biome_forest", "taiga", "snow_biome_lush", "pine_forest", "coniferous_forest", "mixed_mushroom_cold"},
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:fir_sapling_ongen",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if not moretrees.enable_poplar then
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:poplar_small_rare",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.0005,
|
||||||
|
noise_params = noise_param(759, 250, densités[2], 3),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.00015,
|
||||||
|
-- scale = 0.0016,
|
||||||
|
-- spread = {x = 230, y = 230, z = 230},
|
||||||
|
-- seed = 759,
|
||||||
|
-- octaves = 3,
|
||||||
|
-- persist = 0.6,
|
||||||
|
-- },
|
||||||
|
biomes = {"deciduous_forest", "mixed_mushroom_deciduous", "deciduous_cold"},
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:poplar_small_sapling_ongen",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:poplar_small_dense",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.05,
|
||||||
|
noise_params = noise_param(759, 250, densités[4], 3),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.0006,
|
||||||
|
-- scale = 0.006,
|
||||||
|
-- spread = {x = 30, y = 30, z = 30},
|
||||||
|
-- seed = 759,
|
||||||
|
-- octaves = 3,
|
||||||
|
-- persist = 0.6,
|
||||||
|
-- },
|
||||||
|
biomes = {"deciduous_cold_humid"},
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:poplar_small_sapling_ongen",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = "moretrees:poplar",
|
||||||
|
deco_type = "simple",
|
||||||
|
place_on = {"default:dirt_with_grass"},
|
||||||
|
sidelen = 16,
|
||||||
|
-- fill_ratio = 0.005,
|
||||||
|
noise_params = noise_param(760, 50, densités[3], 2),
|
||||||
|
-- noise_params = {
|
||||||
|
-- offset = 0.0006,
|
||||||
|
-- scale = 0.006,
|
||||||
|
-- spread = {x = 30, y = 30, z = 30},
|
||||||
|
-- seed = 760,
|
||||||
|
-- octaves = 3,
|
||||||
|
-- persist = 0.6,
|
||||||
|
-- },
|
||||||
|
biomes = {"deciduous_cold", "deciduous_cold_humid"},
|
||||||
|
y_min = 0,
|
||||||
|
y_max = 31000,
|
||||||
|
decoration = "moretrees:poplar_sapling_ongen",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Jungletree ne sera pas généré par moretrees
|
||||||
|
|
||||||
minetest.register_alias("moretrees:acacia_sapling_ongen", "default:acacia_sapling")
|
minetest.register_alias("moretrees:acacia_sapling_ongen", "default:acacia_sapling")
|
||||||
|
|
||||||
minetest.log("action", "[nalc_moretrees] loaded.")
|
minetest.log("action", "[nalc_moretrees] loaded.")
|
||||||
|
3
nalc_moretrees/mod.conf
Normal file
3
nalc_moretrees/mod.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
name = nalc_moretrees
|
||||||
|
depends = moretrees, nalc_riesenpilz, nalc_mediterranean, snow
|
||||||
|
optional_depends =
|
Loading…
Reference in New Issue
Block a user