From 2216624a63f6fd7eb846122e454b2a9d7222c509 Mon Sep 17 00:00:00 2001 From: NovaFarma Dev Date: Thu, 11 Dec 2025 12:51:18 +0100 Subject: [PATCH] CLEAN WORLD: Removed ALL terrain elevation - only flat grass platform + water river (no stone/dirt/sand hills) --- src/systems/TerrainSystem.js | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/src/systems/TerrainSystem.js b/src/systems/TerrainSystem.js index a9de2a0..1ce82e4 100644 --- a/src/systems/TerrainSystem.js +++ b/src/systems/TerrainSystem.js @@ -367,24 +367,11 @@ class TerrainSystem { const ny = y * 0.1; const elevation = this.noise.noise(nx, ny); + // SIMPLE TERRAIN - samo grass (brez elevation/stone/hills) let terrainType = this.terrainTypes.GRASS_FULL; - // Edges of WORLD - if (x < 3 || x >= this.width - 3 || y < 3 || y >= this.height - 3) { - terrainType = this.terrainTypes.GRASS_FULL; - } else { - if (elevation < -0.6) terrainType = this.terrainTypes.WATER; // Deep Ocean - else if (elevation < -0.4 && Math.random() < 0.2) { - // ISOLATED ISLANDS (Nodes) - // If we are in deep water but get random bump -> Island - terrainType = this.terrainTypes.SAND; - } - else if (elevation > 0.1) terrainType = this.terrainTypes.SAND; - else if (elevation > 0.2) terrainType = this.terrainTypes.GRASS_FULL; - else if (elevation > 0.3) terrainType = this.terrainTypes.GRASS_TOP; - else if (elevation > 0.7) terrainType = this.terrainTypes.DIRT; - else if (elevation > 0.85) terrainType = this.terrainTypes.STONE; - } + // Edges of WORLD -也 grass + // (removed elevation-based terrain - user wants clean platform) // Farm Override - ZELENA PLATFORMA! if (Math.abs(x - FARM_CENTER_X) <= FARM_SIZE / 2 && Math.abs(y - FARM_CENTER_Y) <= FARM_SIZE / 2) {