[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = "Force Weather"
path = "Xenoblade Chronicles X/Mods/Weather/Force Weather"
description = Force selected weather. Just select a preset and unload/reload the pack.|Weather Lock works even when traveling into different regions.
#Credits: lasyan3, Intra
version = 6

[Default]
$wtr = 1
$region = 1

[Preset] ###########################################
name = "Primordia"
category = Region

[Preset]
name = "Clear [1]"
category = Weather
condition = $region == 1

[Preset]
name = "Rain [2]"
category = Weather
condition = $region == 1
$wtr = 2

[Preset]
name = "Lightning [3] (unused)"
category = Weather
condition = $region == 1
$wtr = 3

[Preset]
name = "Heavy Rain [4]"
category = Weather
condition = $region == 1
$wtr = 4

[Preset]
name = "Thunderstorms [5]"
category = Weather
condition = $region == 1
$wtr = 5

[Preset]
name = "Aurora [6]"
category = Weather
condition = $region == 1
$wtr = 6

[Preset]
name = "Meteor Showers [7]"
category = Weather
condition = $region == 1
$wtr = 7

[Preset]
name = "Rainbow [8]"
category = Weather
condition = $region == 1
$wtr = 8

[Preset]
name = "Rain [9] (unused)"
category = Weather
condition = $region == 1
$wtr = 9

[Preset]
name = "Cloudy [10] (unused)"
category = Weather
condition = $region == 1
$wtr = 10

[Preset] ###########################################
name = "Noctilum"
category = Region
$region = 2

[Preset]
name = "Clear [1]"
category = Weather
condition = $region == 2

[Preset]
name = "Dense Fog [2]"
category = Weather
condition = $region == 2
$wtr = 2

[Preset]
name = "Rain [3]"
category = Weather
condition = $region == 2
$wtr = 3

[Preset]
name = "Thunderstorms [4]"
category = Weather
condition = $region == 2
$wtr = 4

[Preset]
name = "Energy Mist [5]"
category = Weather
condition = $region == 2
$wtr = 5

[Preset] ###########################################
name = "Oblivia"
category = Region
$region = 3

[Preset]
name = "Clear [1]"
category = Weather
condition = $region == 3

[Preset]
name = "Rain [2] "
category = Weather
condition = $region == 3
$wtr = 2

[Preset]
name = "Heat Wave [3]"
category = Weather
condition = $region == 3
$wtr = 3

[Preset]
name = "Sandstorms [4]"
category = Weather
condition = $region == 3
$wtr = 4

[Preset]
name = "Thunderstorms [5] (unused)"
category = Weather
condition = $region == 3
$wtr = 5

[Preset]
name = "Electromagnetic Storms [6]"
category = Weather
condition = $region == 3
$wtr = 6

[Preset]
name = "Aurora [7]"
category = Weather
condition = $region == 3
$wtr = 7

[Preset]
name = "Meteor Showers [8]"
category = Weather
condition = $region == 3
$wtr = 8

[Preset]
name = "Rainbow [9]"
category = Weather
condition = $region == 3
$wtr = 9

[Preset] ###########################################
name = "Sylvalum"
category = Region
$region = 4

[Preset]
name = "Cloudy [1]"
category = Weather
condition = $region == 4

[Preset]
name = "Thunderstorms [2] (unused)"
category = Weather
condition = $region == 4
$wtr = 2

[Preset]
name = "Rising Energy Mist [3]"
category = Weather
condition = $region == 4
$wtr = 3

[Preset]
name = "Spores [4]"
category = Weather
condition = $region == 4
$wtr = 4

[Preset]
name = "Crimson Aurora [5]"
category = Weather
condition = $region == 4
$wtr = 5

[Preset]
name = "Brimstone Rain [6] (unused)"
category = Weather
condition = $region == 4
$wtr = 6

[Preset] ###########################################
name = "Cauldros"
category = Region
$region = 5

[Preset]
name = "Clear [1]"
category = Weather
condition = $region == 5

[Preset]
name = "Cloudy [2]"
category = Weather
condition = $region == 5
$wtr = 2

[Preset]
name = "Thunderstorms [3] (unused)"
category = Weather
condition = $region == 5
$wtr = 3

[Preset]
name = "Electromagnetic Storms [4]"
category = Weather
condition = $region == 5
$wtr = 4

[Preset]
name = "Brimstone Rain [5]"
category = Weather
condition = $region == 5
$wtr = 5

[Preset]
name = "Rainbow [6]"
category = Weather
condition = $region == 5
$wtr = 6

[Preset] ###########################################
name = "Blade Barracks (unused)"
category = Region
$region = 6

[Preset]
name = "Clear [1]"
category = Weather
condition = $region == 6
$wtr = 1

[Preset]
name = "Sunshower [2]"
category = Weather
condition = $region == 6
$wtr = 2

[Preset]
name = "Cloudy [3]"
category = Weather
condition = $region == 6
$wtr = 3

[Preset]
name = "Dense Fog [4]"
category = Weather
condition = $region == 6
$wtr = 4

[Preset]
name = "Rain [5]"
category = Weather
condition = $region == 6
$wtr = 5

[Preset]
name = "Lightning [6]"
category = Weather
condition = $region == 6
$wtr = 6

[Preset]
name = "Heavy Rain [7]"
category = Weather
condition = $region == 6
$wtr = 7

[Preset]
name = "Heat Wave [8]"
category = Weather
condition = $region == 6
$wtr = 8

[Preset]
name = "Sandstorms [9]"
category = Weather
condition = $region == 6
$wtr = 9

[Preset]
name = "Thunderstorms [10]"
category = Weather
condition = $region == 6
$wtr = 10

[Preset]
name = "Electromagnetic Storms [11]"
category = Weather
condition = $region == 6
$wtr = 11

[Preset]
name = "Rising Energy Mist [12]"
category = Weather
condition = $region == 6
$wtr = 12

[Preset]
name = "Energy Mist [13]"
category = Weather
condition = $region == 6
$wtr = 13

[Preset]
name = "Brimstone Rain [14]"
category = Weather
condition = $region == 6
$wtr = 14

[Preset]
name = "Spores [15]"
category = Weather
condition = $region == 6
$wtr = 15

[Preset]
name = "Aurora [16]"
category = Weather
condition = $region == 6
$wtr = 16

[Preset]
name = "Crimson Aurora [17]"
category = Weather
condition = $region == 6
$wtr = 17

[Preset]
name = "Meteor Showers [18]"
category = Weather
condition = $region == 6
$wtr = 18

[Preset]
name = "Rainbow [19]"
category = Weather
condition = $region == 6
$wtr = 19

###### uncommemt below to use different weather in the Lifehold
###[Preset] ###########################################
###name = "Lifehold Core"
###category = Region
###$region = 7

[Preset]
name = "Clear [1]"
category = Weather
condition = $region == 7
$wtr = 1

[Preset]
name = "Lightning [2]"
category = Weather
condition = $region == 7
$wtr = 2

[Preset] ###########################################
name = "Weather Lock [0] (Locks current weather till you skip travel or die)"
category = Region
$region = 0
$wtr = 0
