saveschems/init.lua

2053 lines
52 KiB
Lua

-- Schematic file format version 4
local apple_tree_data = {
size = {x=5, y=7, z=5},
data = {-- -2
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:leaves", prob=191},
{name="default:leaves", prob=223},
{name="default:leaves", prob=255},
{name="default:leaves", prob=223},
{name="default:leaves", prob=191},
{name="default:leaves", prob=191},
{name="default:leaves", prob=223},
{name="default:leaves", prob=223},
{name="default:leaves", prob=223},
{name="default:leaves", prob=191},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
-- -1
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:leaves", prob=223},
{name="default:apple", prob=15},
{name="default:tree", prob=191, param2=8, force_place = true},
{name="default:apple", prob=15},
{name="default:leaves", prob=223},
{name="default:leaves", prob=223},
{name="default:leaves", prob=255},
{name="default:leaves", prob=255},
{name="default:leaves", prob=255},
{name="default:leaves", prob=223},
{name="air", prob=0},
{name="default:leaves", prob=223},
{name="default:leaves", prob=223},
{name="default:leaves", prob=223},
{name="air", prob=0},
-- 0
{name="air", prob=0},
{name="air", prob=0},
{name="default:tree", prob=255},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="default:leaves", prob=255},
{name="default:tree", prob=191, param2=16, force_place = true},
{name="default:tree", prob=255, force_place = true},
{name="default:tree", prob=191, param2=12, force_place = true},
{name="default:leaves", prob=255},
{name="default:leaves", prob=223},
{name="default:leaves", prob=255},
{name="default:tree", prob=191, force_place = true},
{name="default:leaves", prob=255},
{name="default:leaves", prob=223},
{name="air", prob=0},
{name="default:leaves", prob=223},
{name="default:leaves", prob=255},
{name="default:leaves", prob=223},
{name="air", prob=0},
-- 1
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:leaves", prob=223},
{name="default:apple", prob=15},
{name="default:tree", prob=191, param2=8, force_place = true},
{name="default:apple", prob=15},
{name="default:leaves", prob=223},
{name="default:leaves", prob=223},
{name="default:leaves", prob=255},
{name="default:leaves", prob=255},
{name="default:leaves", prob=255},
{name="default:leaves", prob=223},
{name="air", prob=0},
{name="default:leaves", prob=223},
{name="default:leaves", prob=223},
{name="default:leaves", prob=223},
{name="air", prob=0},
-- 2
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:leaves", prob=191},
{name="default:leaves", prob=223},
{name="default:leaves", prob=255},
{name="default:leaves", prob=223},
{name="default:leaves", prob=191},
{name="default:leaves", prob=191},
{name="default:leaves", prob=223},
{name="default:leaves", prob=223},
{name="default:leaves", prob=223},
{name="default:leaves", prob=191},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
},
yslice_prob = {
{ypos=1, prob=127},
},
}
local apple_tree_serialized = minetest.serialize_schematic(apple_tree_data, mts, {})
local path = minetest.get_modpath("saveschems") .. "/schematics"
local filename = path .. "/apple_tree.mts"
filename = filename:gsub("\"", "\\\""):gsub("\\", "\\\\")
local file, err = io.open(filename, "wb")
if err == nil then
file:write(apple_tree_serialized)
file:flush()
file:close()
end
local jungle_tree_data = {
size = {x=5, y=17, z=5},
data = {
-- -2
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungleleaves", prob=191},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=191},
{name="default:jungleleaves", prob=191},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=191},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungleleaves", prob=191},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=191},
{name="default:jungleleaves", prob=191},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=191},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
-- -1
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=127, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=255},
{name="default:jungletree", prob=191, param2=8, force_place = true},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=255},
{name="default:jungletree", prob=191, param2=8, force_place = true},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="air", prob=0},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="air", prob=0},
-- 0
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="default:jungletree", prob=255, force_place = true},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="default:jungletree", prob=255, force_place = true},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=127, force_place = true},
{name="default:jungletree", prob=255, force_place = true},
{name="default:jungletree", prob=127, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungleleaves", prob=255},
{name="default:jungletree", prob=191, param2=16, force_place = true},
{name="default:jungletree", prob=255, force_place = true},
{name="default:jungletree", prob=191, param2=12, force_place = true},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungletree", prob=255, force_place = true},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungleleaves", prob=255},
{name="default:jungletree", prob=191, param2=16, force_place = true},
{name="default:jungletree", prob=255, force_place = true},
{name="default:jungletree", prob=191, param2=12, force_place = true},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=255},
{name="default:jungletree", prob=191, force_place = true},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="air", prob=0},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="air", prob=0},
-- 1
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungletree", prob=127, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=255},
{name="default:jungletree", prob=191, param2=8, force_place = true},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=255},
{name="default:jungletree", prob=191, param2=8, force_place = true},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="air", prob=0},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="air", prob=0},
-- 2
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungleleaves", prob=191},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=191},
{name="default:jungleleaves", prob=191},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=191},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:jungleleaves", prob=191},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=255},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=191},
{name="default:jungleleaves", prob=191},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=223},
{name="default:jungleleaves", prob=191},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
},
yslice_prob = {
{ypos=3, prob=127},
{ypos=4, prob=127},
{ypos=10, prob=127},
{ypos=11, prob=127},
},
}
local jungle_tree_serialized = minetest.serialize_schematic(jungle_tree_data, mts, {})
local path = minetest.get_modpath("saveschems") .. "/schematics"
local filename = path .. "/jungle_tree.mts"
filename = filename:gsub("\"", "\\\""):gsub("\\", "\\\\")
local file, err = io.open(filename, "wb")
if err == nil then
file:write(jungle_tree_serialized)
file:flush()
file:close()
end
local pine_tree_data = {
size = {x=5, y=14, z=5},
data = {-- -2
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
-- -1
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="default:pinetree", prob=191, param2=8, force_place = true},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="default:pinetree", prob=191, param2=8, force_place = true},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="default:pinetree", prob=191, param2=8, force_place = true},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
-- 0
{name="air", prob=0},
{name="air", prob=0},
{name="default:pinetree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pinetree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pinetree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pinetree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pinetree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="default:pinetree", prob=191, param2=16, force_place = true},
{name="default:pinetree", prob=255, force_place = true},
{name="default:pinetree", prob=191, param2=12, force_place = true},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="default:pinetree", prob=255, force_place = true},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pinetree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="default:pinetree", prob=191, param2=16, force_place = true},
{name="default:pinetree", prob=255, force_place = true},
{name="default:pinetree", prob=191, param2=12, force_place = true},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="default:pinetree", prob=255, force_place = true},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pinetree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="default:pinetree", prob=191, param2=16, force_place = true},
{name="default:pinetree", prob=255, force_place = true},
{name="default:pinetree", prob=191, param2=12, force_place = true},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="default:pinetree", prob=255, force_place = true},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="air", prob=0},
-- 1
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="default:pinetree", prob=191, param2=8, force_place = true},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="default:pinetree", prob=191, param2=8, force_place = true},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="default:pinetree", prob=191, param2=8, force_place = true},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=255},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
-- 2
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=255},
{name="default:pine_needles", prob=223},
{name="default:pine_needles", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
},
yslice_prob = {
{ypos=1, prob=127},
{ypos=2, prob=127},
{ypos=7, prob=127},
{ypos=10, prob=127},
},
}
local pine_tree_serialized = minetest.serialize_schematic(pine_tree_data, mts, {})
local path = minetest.get_modpath("saveschems") .. "/schematics"
local filename = path .. "/pine_tree.mts"
filename = filename:gsub("\"", "\\\""):gsub("\\", "\\\\")
local file, err = io.open(filename, "wb")
if err == nil then
file:write(pine_tree_serialized)
file:flush()
file:close()
end
local acacia_tree_data = {
size = {x=9, y=8, z=9},
data = {-- -4
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
-- -3
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
-- -2
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
-- -1
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
-- 0
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
-- 1
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
-- 2
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_tree", prob=255, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
-- 3
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
-- 4
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="default:acacia_leaves", prob=223},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
},
yslice_prob = {
{ypos=1, prob=127},
},
}
local acacia_tree_serialized = minetest.serialize_schematic(acacia_tree_data, mts, {})
local path = minetest.get_modpath("saveschems") .. "/schematics"
local filename = path .. "/acacia_tree.mts"
filename = filename:gsub("\"", "\\\""):gsub("\\", "\\\\")
local file, err = io.open(filename, "wb")
if err == nil then
file:write(acacia_tree_serialized)
file:flush()
file:close()
end
local large_cactus_data = {
size = {x=5, y=7, z=1},
data = {
{name="air", prob=0},
{name="air", prob=0},
{name="default:cactus", prob=255, param2=20, force_place = true},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:cactus", prob=255, param2=20},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="air", prob=0},
{name="default:cactus", prob=255, param2=20},
{name="air", prob=0},
{name="air", prob=0},
{name="default:cactus", prob=255, param2=20},
{name="default:cactus", prob=255, param2=20},
{name="default:cactus", prob=255, param2=20},
{name="default:cactus", prob=255, param2=20},
{name="default:cactus", prob=255, param2=20},
{name="default:cactus", prob=255, param2=20},
{name="air", prob=0},
{name="default:cactus", prob=255, param2=20},
{name="air", prob=0},
{name="default:cactus", prob=255, param2=20},
{name="default:cactus", prob=127, param2=20},
{name="air", prob=0},
{name="default:cactus", prob=255, param2=20},
{name="air", prob=0},
{name="default:cactus", prob=127, param2=20},
{name="air", prob=0},
{name="air", prob=0},
{name="default:cactus", prob=255, param2=20},
{name="air", prob=0},
{name="air", prob=0},
},
}
local large_cactus_serialized = minetest.serialize_schematic(large_cactus_data, mts, {})
local path = minetest.get_modpath("saveschems") .. "/schematics"
local filename = path .. "/large_cactus.mts"
filename = filename:gsub("\"", "\\\""):gsub("\\", "\\\\")
local file, err = io.open(filename, "wb")
if err == nil then
file:write(large_cactus_serialized)
file:flush()
file:close()
end