1
0
mirror of https://gitlab.com/rautars/weather_pack.git synced 2025-07-16 05:40:22 +02:00

added clouds for rain weathers update embeded skylayer

This commit is contained in:
Arturas Norkus
2018-04-15 17:48:57 +03:00
parent 695ef4521b
commit 3a315928c4
5 changed files with 255 additions and 133 deletions

View File

@ -55,13 +55,13 @@ end
local set_sky_box = function(player_name)
local sl = {}
sl.layer_type = skylayer.SKY_PLAIN
sl.name = SKYCOLOR_LAYER
sl.data = {gradient_data={}}
sl.data.gradient_data.colors = {
{r=0, g=0, b=0},
{r=231, g=234, b=239},
{r=0, g=0, b=0}
sl.sky_data = {
gradient_colors = {
{r=0, g=0, b=0},
{r=231, g=234, b=239},
{r=0, g=0, b=0}
}
}
skylayer.add_layer(player_name, sl)
end