remove sakura mts files and use schem table instead :) all is well
This commit is contained in:
parent
03df3ab59c
commit
62f8e138d5
@ -30,6 +30,7 @@ dofile(path .. "willow.lua")
|
||||
dofile(path .. "bigtree.lua")
|
||||
dofile(path .. "redwood_tree.lua")
|
||||
dofile(path .. "vinetree.lua")
|
||||
dofile(path .. "sakura.lua")
|
||||
dofile(path .. "igloo.lua")
|
||||
|
||||
--= Biomes
|
||||
@ -280,7 +281,7 @@ if ethereal.glacier then
|
||||
end
|
||||
|
||||
--sakura tree
|
||||
add_schem({"ethereal:bamboo_dirt"}, 0.01, {"sakura"}, 7, 100, path .. "sakura.mts", ethereal.sakura)
|
||||
add_schem({"ethereal:bamboo_dirt"}, 0.01, {"sakura"}, 7, 100, ethereal.sakura_tree, ethereal.sakura)
|
||||
|
||||
-- redwood tree
|
||||
add_schem({"default:dirt_with_dry_grass"}, 0.0025, {"mesa"}, 1, 100, ethereal.redwood_tree, ethereal.mesa)
|
||||
|
@ -124,9 +124,10 @@ end
|
||||
|
||||
function ethereal.grow_sakura_tree(pos)
|
||||
if math.random(10) == 1 then
|
||||
add_tree(pos, 4, 0, 3, path .. "sakura2.mts")
|
||||
add_tree(pos, 4, 0, 3, ethereal.sakura_tree,
|
||||
{{"ethereal:sakura_leaves", "ethereal:sakura_leaves2"}})
|
||||
else
|
||||
add_tree(pos, 4, 0, 3, path .. "sakura.mts")
|
||||
add_tree(pos, 4, 0, 3, ethereal.sakura_tree)
|
||||
end
|
||||
end
|
||||
|
||||
|
96
schematics/sakura.lua
Normal file
96
schematics/sakura.lua
Normal file
@ -0,0 +1,96 @@
|
||||
local T = {name = "ethereal:sakura_trunk", param1 = 255}
|
||||
local P = {name = "ethereal:sakura_leaves", param1 = 255}
|
||||
local W = {name = "ethereal:sakura_leaves2", param1 = 255}
|
||||
local _ = {name = "air", param1 = 255}
|
||||
|
||||
ethereal.sakura_tree = {
|
||||
|
||||
size = {x=10, y=10, z=7},
|
||||
|
||||
yslice_prob = {
|
||||
{ypos = 0, prob = 127},
|
||||
{ypos = 3, prob = 127},
|
||||
{ypos = 8, prob = 127},
|
||||
},
|
||||
|
||||
data = {
|
||||
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,P,P,_,_,_,_,
|
||||
_,_,_,P,P,P,P,_,_,_,
|
||||
_,_,_,P,P,P,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,P,P,P,P,_,_,_,
|
||||
_,_,_,P,P,P,P,_,_,_,
|
||||
_,_,P,P,T,P,P,P,_,_,
|
||||
_,_,P,P,P,P,P,P,_,_,
|
||||
_,_,P,_,P,P,P,P,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,P,P,P,_,_,_,_,
|
||||
_,_,P,P,P,P,P,P,_,_,
|
||||
_,_,P,P,T,P,P,P,P,_,
|
||||
_,P,P,P,P,P,P,P,P,P,
|
||||
_,P,P,P,P,P,P,P,P,P,
|
||||
_,P,P,P,P,P,P,P,P,_,
|
||||
_,_,P,P,P,P,P,P,_,_,
|
||||
|
||||
_,_,_,_,T,_,_,_,_,_,
|
||||
_,_,_,_,T,_,_,_,_,_,
|
||||
_,_,_,_,T,_,_,_,_,_,
|
||||
_,_,P,P,T,T,P,_,_,_,
|
||||
_,P,P,T,T,T,T,P,P,_,
|
||||
_,P,P,T,_,T,P,T,P,_,
|
||||
P,P,P,T,P,T,P,P,T,P,
|
||||
P,P,T,P,P,P,P,P,T,P,
|
||||
P,P,T,P,P,P,P,T,P,P,
|
||||
_,P,P,P,P,P,P,P,P,_,
|
||||
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,P,_,P,_,_,_,_,
|
||||
_,_,P,P,T,P,P,P,_,_,
|
||||
_,_,P,P,_,P,P,P,P,_,
|
||||
_,P,P,P,P,P,P,P,P,P,
|
||||
_,P,P,P,P,P,P,P,P,P,
|
||||
_,P,P,P,P,P,P,P,P,_,
|
||||
_,_,P,P,P,P,P,P,_,_,
|
||||
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,P,_,_,_,_,_,
|
||||
_,_,_,P,P,P,_,_,_,_,
|
||||
_,_,_,P,T,P,_,_,_,_,
|
||||
_,_,P,P,T,P,P,P,P,_,
|
||||
_,_,P,P,P,P,P,P,P,_,
|
||||
_,_,P,P,P,P,_,P,P,_,
|
||||
_,_,_,_,P,_,_,_,_,_,
|
||||
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
_,_,_,_,P,_,_,_,_,_,
|
||||
_,_,_,P,P,P,_,_,_,_,
|
||||
_,_,_,P,P,P,_,_,_,_,
|
||||
_,_,_,P,P,P,_,_,_,_,
|
||||
_,_,_,_,P,_,_,_,_,_,
|
||||
_,_,_,_,_,_,_,_,_,_,
|
||||
|
||||
},
|
||||
}
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user