diff --git a/engine/scenes/tests/climate_proof.gd b/engine/scenes/tests/climate_proof.gd index 69cc6499..5e3b10a7 100644 --- a/engine/scenes/tests/climate_proof.gd +++ b/engine/scenes/tests/climate_proof.gd @@ -36,7 +36,6 @@ const TERRAIN_COLORS: Dictionary = { "mountains": Color(0.45, 0.42, 0.40), "hills": Color(0.55, 0.45, 0.30), "swamp": Color(0.30, 0.35, 0.15), - "corrupted_land": Color(0.40, 0.10, 0.30), "volcano": Color(0.75, 0.15, 0.10), "land": Color(0.50, 0.50, 0.30), } @@ -104,7 +103,7 @@ func _print_stats() -> void: var lake_count: int = 0 for tile: Variant in _game_map.tiles.values(): - var tid: String = tile.terrain_id + var tid: String = tile.biome_id terrain_counts[tid] = terrain_counts.get(tid, 0) + 1 if not tile.river_edges.is_empty(): river_tile_count += 1 @@ -147,7 +146,7 @@ func _draw() -> void: if offset.x & 1: y += CELL_H * 0.5 - var color: Color = TERRAIN_COLORS.get(tile.terrain_id, Color(0.5, 0.0, 0.5)) + var color: Color = TERRAIN_COLORS.get(tile.biome_id, Color(0.5, 0.0, 0.5)) draw_rect(Rect2(x, y, CELL_W - 1, CELL_H - 1), color) # Draw river edges as blue dots on tiles with rivers