Tree collisions and highlights

This commit is contained in:
Dan Baker 2025-06-26 18:28:33 +01:00
parent 57602adddb
commit 7255cbdf64
17 changed files with 231 additions and 2251 deletions

View file

@ -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