/
BetterWeather_c.lua
48 lines (44 loc) · 1.72 KB
/
BetterWeather_c.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
--Duplicated here from BetterWeather so that you can retrieve weather description names client side
DayWeatherDescriptions = {}
DayWeatherDescriptions[0] = "Light Clouds"
DayWeatherDescriptions[1] = "Scattered Clouds"
DayWeatherDescriptions[2] = "Cloudy"
DayWeatherDescriptions[3] = "Cloudy"
DayWeatherDescriptions[4] = "Heavy Clouds"
DayWeatherDescriptions[5] = "Cloudy"
DayWeatherDescriptions[6] = "Low Clouds"
DayWeatherDescriptions[7] = "Hazy/Overcast"
DayWeatherDescriptions[8] = "Thunderstorms"
DayWeatherDescriptions[9] = "Heavy Fog"
DayWeatherDescriptions[10] = "Clear"
DayWeatherDescriptions[11] = "Hot"
DayWeatherDescriptions[12] = "Clouds"
DayWeatherDescriptions[13] = "Dark Skies"
DayWeatherDescriptions[14] = "Light Clouds"
DayWeatherDescriptions[15] = "Heavy Clouds"
DayWeatherDescriptions[16] = "Rain"
NightWeatherDescriptions = {}
NightWeatherDescriptions[0] = "Clear"
NightWeatherDescriptions[1] = "Clear"
NightWeatherDescriptions[2] = "Clear"
NightWeatherDescriptions[3] = "Light Clouds"
NightWeatherDescriptions[4] = "Heavy Clouds"
NightWeatherDescriptions[5] = "Light Clouds"
NightWeatherDescriptions[6] = "Clear"
NightWeatherDescriptions[7] = "Heavy Clouds"
NightWeatherDescriptions[8] = "Thunderstorms"
NightWeatherDescriptions[9] = "Heavy Fog"
NightWeatherDescriptions[10] = "Light Clouds"
NightWeatherDescriptions[11] = "Clear"
NightWeatherDescriptions[12] = "Heavy Clouds"
NightWeatherDescriptions[13] = "Light Clouds"
NightWeatherDescriptions[14] = "Scattered Clouds"
NightWeatherDescriptions[15] = "Heavy Clouds"
NightWeatherDescriptions[16] = "Rain"
--export functions
function GetDayWeatherDescription(id)
return DayWeatherDescriptions[id]
end
function GetNightWeatherDescription(id)
return NightWeatherDescriptions[id]
end