# stages.yaml - Configuració de les 10 etapes d'Orni Attack
# © 2025 Orni Attack

metadata:
  version: "1.0"
  total_stages: 10
  description: "Progressive difficulty curve from novice to expert"

stages:
  # STAGE 1: Tutorial - Only pentagons, slow speed
  - stage_id: 1
    total_enemies: 5
    spawn_config:
      mode: "progressive"
      initial_delay: 2.0
      spawn_interval: 3.0
    enemy_distribution:
      pentagon: 100
      cuadrado: 0
      molinillo: 0
    difficulty_multipliers:
      speed_multiplier: 0.7
      rotation_multiplier: 0.8
      tracking_strength: 0.0

  # STAGE 2: Introduction to tracking enemies
  - stage_id: 2
    total_enemies: 7
    spawn_config:
      mode: "progressive"
      initial_delay: 1.5
      spawn_interval: 2.5
    enemy_distribution:
      pentagon: 70
      cuadrado: 30
      molinillo: 0
    difficulty_multipliers:
      speed_multiplier: 0.85
      rotation_multiplier: 0.9
      tracking_strength: 0.3

  # STAGE 3: All enemy types, normal speed
  - stage_id: 3
    total_enemies: 10
    spawn_config:
      mode: "progressive"
      initial_delay: 1.0
      spawn_interval: 2.0
    enemy_distribution:
      pentagon: 50
      cuadrado: 30
      molinillo: 20
    difficulty_multipliers:
      speed_multiplier: 1.0
      rotation_multiplier: 1.0
      tracking_strength: 0.5

  # STAGE 4: Increased count, faster enemies
  - stage_id: 4
    total_enemies: 12
    spawn_config:
      mode: "progressive"
      initial_delay: 0.8
      spawn_interval: 1.8
    enemy_distribution:
      pentagon: 40
      cuadrado: 35
      molinillo: 25
    difficulty_multipliers:
      speed_multiplier: 1.1
      rotation_multiplier: 1.15
      tracking_strength: 0.6

  # STAGE 5: Maximum count reached
  - stage_id: 5
    total_enemies: 15
    spawn_config:
      mode: "progressive"
      initial_delay: 0.5
      spawn_interval: 1.5
    enemy_distribution:
      pentagon: 35
      cuadrado: 35
      molinillo: 30
    difficulty_multipliers:
      speed_multiplier: 1.2
      rotation_multiplier: 1.25
      tracking_strength: 0.7

  # STAGE 6: Molinillo becomes dominant
  - stage_id: 6
    total_enemies: 15
    spawn_config:
      mode: "progressive"
      initial_delay: 0.3
      spawn_interval: 1.3
    enemy_distribution:
      pentagon: 30
      cuadrado: 30
      molinillo: 40
    difficulty_multipliers:
      speed_multiplier: 1.3
      rotation_multiplier: 1.4
      tracking_strength: 0.8

  # STAGE 7: High intensity, fast spawns
  - stage_id: 7
    total_enemies: 15
    spawn_config:
      mode: "progressive"
      initial_delay: 0.2
      spawn_interval: 1.0
    enemy_distribution:
      pentagon: 25
      cuadrado: 30
      molinillo: 45
    difficulty_multipliers:
      speed_multiplier: 1.4
      rotation_multiplier: 1.5
      tracking_strength: 0.9

  # STAGE 8: Expert level, 50% molinillos
  - stage_id: 8
    total_enemies: 15
    spawn_config:
      mode: "progressive"
      initial_delay: 0.1
      spawn_interval: 0.8
    enemy_distribution:
      pentagon: 20
      cuadrado: 30
      molinillo: 50
    difficulty_multipliers:
      speed_multiplier: 1.5
      rotation_multiplier: 1.6
      tracking_strength: 1.0

  # STAGE 9: Near-maximum difficulty
  - stage_id: 9
    total_enemies: 15
    spawn_config:
      mode: "progressive"
      initial_delay: 0.0
      spawn_interval: 0.6
    enemy_distribution:
      pentagon: 15
      cuadrado: 25
      molinillo: 60
    difficulty_multipliers:
      speed_multiplier: 1.6
      rotation_multiplier: 1.7
      tracking_strength: 1.1

  # STAGE 10: Final challenge, 70% molinillos
  - stage_id: 10
    total_enemies: 15
    spawn_config:
      mode: "progressive"
      initial_delay: 0.0
      spawn_interval: 0.5
    enemy_distribution:
      pentagon: 10
      cuadrado: 20
      molinillo: 70
    difficulty_multipliers:
      speed_multiplier: 1.8
      rotation_multiplier: 2.0
      tracking_strength: 1.2
