# Configuration

### Configuration

#### Config File Options

The `config.lua` file allows you to customize various aspects of the script. Below are the key options you can configure:

* **Weather Types and Chances:**

  ```lua
  Config.WeatherTypes = {
      CLEAR = 20,
      EXTRASUNNY = 20,
      CLOUDS = 20,
      OVERCAST = 10,
      RAIN = 10,
      CLEARING = 5,
      THUNDER = 5,
      SMOG = 5,
      FOGGY = 5,
  }
  ```

  Adjust the chances of each weather type occurring.
* **Weather Change Intervals:**

  ```lua
  Config.WeatherChangeInterval = 60 -- in minutes
  ```
* **Regional Weather Settings:**

  ```lua
  Config.UseRegionalWeather = true
  Config.Regions = {
      City = {x = 0.0, y = 0.0, radius = 2000.0},
      Sandy = {x = 2000.0, y = 2000.0, radius = 1500.0},
      Paleto = {x = -2000.0, y = -2000.0, radius = 1500.0}
  }
  ```
* **Blackout Settings:**

  ```lua
  Config.BlackoutDuration = 300 -- in seconds
  ```
* **Voting System Settings:**

  ```lua
  Config.EnableVotingSystem = true
  Config.VotingDuration = 5 -- in minutes
  Config.VotingInterval = 30 -- in minutes
  Config.WeatherBlacklist = {"XMAS"}
  ```
* **Extreme Event Settings:**

  ```lua
  Config.ExtremeEvents = {
      EARTHQUAKE = true,
      STORM = true,
      EXTREME_COLD = true,
      EXTREME_HEAT = true,
      TSUNAMI = true
  }
  ```
* **Time Scale Settings:**

  ```lua
  Config.TimeScale = 60 -- In-game 24-hour period duration in real-world minutes
  ```
* **Real-Time Server Clock Synchronization:**

  ```lua
  Config.UseRealTime = true -- Set to true to sync in-game time with the server's real-world time
  ```
* **Debugging Options:**

  ```lua
  Config.Debugging = true
  ```
