added white sakura as it's own schematic to fix replacement/cache issue
This commit is contained in:
parent
b49b42a895
commit
1301999e80
12
sapling.lua
12
sapling.lua
@ -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
BIN
schematics/sakura2.mts
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user