Tree collisions and highlights
This commit is contained in:
parent
57602adddb
commit
7255cbdf64
17 changed files with 231 additions and 2251 deletions
|
|
@ -22,6 +22,6 @@ static func generate_cell(x: int, z: int, density: float, path: bool = false, wa
|
|||
|
||||
if not (path or water):
|
||||
if density >= 0.6:
|
||||
cell_data.add_trees(int(density * 10 / 3))
|
||||
cell_data.add_trees(int(density * 10 / 2))
|
||||
|
||||
Global.map_data[x][z] = cell_data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue