added white sakura as it's own schematic to fix replacement/cache issue

master
TenPlus1 2019-02-20 15:21:36 +00:00
parent b49b42a895
commit 1301999e80
2 changed files with 5 additions and 7 deletions

View File

@ -123,13 +123,11 @@ function ethereal.grow_birch_tree(pos)
end
function ethereal.grow_sakura_tree(pos)
local white = math.random(10)
if white == 1 then
white = {{"ethereal:sakura_leaves", "ethereal:sakura_leaves2"}}
else
white = nil
end
add_tree(pos, 4, 0, 3, path .. "sakura.mts", white)
if math.random(10) == 1 then
add_tree(pos, 4, 0, 3, path .. "sakura2.mts")
else
add_tree(pos, 4, 0, 3, path .. "sakura.mts")
end
end
-- check if sapling has enough height room to grow

BIN
schematics/sakura2.mts Normal file

Binary file not shown.