Config
Some configuration options are explained here. However this does not represent the original config file.
RiP.Time
With this option you can set some default time actions
RiP.Time = {
Shift = 0, -- [INTEGER] default timezone (+/-) hours for real-time
Interval = 1, -- [INTEGER] ingame seconds per real second (min. 1)
}
RiP.Weather
Add unlimited weather types
["EXTRASUNNY"] = { -- [STRING] unique weather name
Label = "Sunny", -- [STRING] weather label
Icon = 'fa-sun', -- [STRING] icon name (https://fontawesome.com/)
Whitelisted = {'CLEAR'}, -- [BOOLEAN/OBJECT] following random weather types (true = random selection, false = no selection, object = possible following selections)
},
["CLEAR"] = {
Label = "Clear",
Icon = 'fa-cloud-rainbow',
Whitelisted = true, -- [BOOLEAN] weather type selectable if random weather
},
Create custom weather types
["DRIZZLE"] = {
Label = "Custom Test",
Icon = 'fa-tree-christmas',
Whitelisted = false,
Custom = {
Weather = {'RAIN', 'CLEAR'},
Balance = 0.8,
},
},
RiP.RealWeather
Set up real-weather
RiP.RealWeather = {
Enable = 'abcdef', -- [BOOLEAN/STRING] configure your real-weather data with your own (free) api key (https://openweathermap.org/price)
Zones = { -- city relations to different zones (if not enabled only city)
['city'] = 'kassel,de',
['sandy'] = false,
['paleto'] = false,
}
}
Weather Zones
This is a map with the hard-coded weather zones (optional)
- Paleto Bay
- Sandy Shores
- Los Santos City