forked from mtcontrib/plantlife_modpack
Increase average size of treeferns (generate smallest less frequently)
This commit is contained in:
parent
8b2a32ceae
commit
f91caae9bd
@ -18,7 +18,10 @@ abstract_ferns.grow_tree_fern = function(pos)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local size = math.random(1, 5)
|
local size = math.random(1, 4) + math.random(1, 4)
|
||||||
|
if (size > 5) then
|
||||||
|
size = 10 - size
|
||||||
|
end
|
||||||
local crown = ({ "ferns:tree_fern_leaves", "ferns:tree_fern_leaves_02" })[math.random(1, 2)]
|
local crown = ({ "ferns:tree_fern_leaves", "ferns:tree_fern_leaves_02" })[math.random(1, 2)]
|
||||||
|
|
||||||
local i = 1
|
local i = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user