Grass becomes grass saplings when walked over
This commit is contained in:
@@ -242,6 +242,9 @@ function decorate(width: number, height: number, tiles: Tile[], random: () => nu
|
||||
// Create grass patches where noise is above threshold
|
||||
if (grassValue > 0.35) {
|
||||
tiles[i] = TileType.GRASS;
|
||||
} else if (grassValue > 0.25) {
|
||||
// Transition zone: Saplings around grass clumps
|
||||
tiles[i] = TileType.GRASS_SAPLINGS;
|
||||
} else {
|
||||
// Floor decorations (moss/rocks): clustered distribution
|
||||
const decoValue = decorationNoise.get((x + decorOffset) / 8, (y + decorOffset) / 8);
|
||||
|
||||
Reference in New Issue
Block a user