<?php
/**
 * Grid Stabilizer: Blackout Protocol - Configuration
 */

return [
    'HA_TOKEN' => 'YOUR_HOME_ASSISTANT_LONG_LIVED_ACCESS_TOKEN',
    'HA_URL' => 'http://172.168.16.112:8123/api/',
    'TIMER_DURATION' => 200, // 10 minutes in seconds
    'SLIDER_DIFFICULTY' => 1.0,
    'TARGET_POWER' => 1000,
    'TOLERANCE' => 50,
    'STABILITY_DURATION' => 3000, // 20 seconds of impossible stability
    'DRIFT_SPEED' => 3.5, // Extremely aggressive drift
    'SURGE_INTERVAL' => [2000, 6000], // Very frequent surges
    'SURGE_STRENGTH' => 120, // Massive surges
    'AUDIO_TIMELINE' => [
        200 => 'audio/siren.mp3',
        191 => 'audio/1.mp3',
        180 => 'audio/2.mp3',
        165 => 'audio/3.mp3',
        150 => 'audio/4.mp3',
        130 => 'audio/5.mp3',
        120 => 'audio/6.mp3',
        100 => 'audio/8.mp3',
        70 => 'audio/9.mp3',
        55 => 'audio/10.mp3',
        45 => 'audio/11.mp3',
        41 => 'audio/12.mp3',
        31 => 'audio/jak pojawią się artefakty 7.mp3',
        20 => 'audio/13.mp3',
        9 => 'audio/14.mp3',
        3 => 'audio/15.mp3',
    ],
    'AUDIO_BGM' => 'audio/tunetank-workout-cyberpunk-music-348203.mp3',
    'AUDIO_PATHS' => [
        'success' => 'audio/msg_success.mp3',
        'fail' => null
    ],
    'SCENES' => [
        'init' => 'scene.energy_fail',
        'success' => 'scene.grid_stable',
        'fail' => 'scene.blackout_fail'
    ],
    'WEBHOOKS' => [
        'init' => 'http://172.168.16.112:8123/api/webhook/-Ox4NDqufxolmGQc8VqPTvfjc', // Full URL to HA Webhook for system start
        'fail' => 'http://172.168.16.112:8123/api/webhook/-ArboYEGcwl2LKBc-cl41Dlci' // Full URL to HA Webhook for failure
    ]
];
