1
0
mirror of https://github.com/t-affeldt/regional_weather.git synced 2025-08-03 00:40:31 +02:00

Fix speed buff effect, update to new wind influences, tinker with skybox effect

This commit is contained in:
Till Affeldt
2020-04-18 11:14:09 +02:00
parent 52f06da30f
commit 497f31918a
5 changed files with 11 additions and 9 deletions

View File

@ -8,7 +8,7 @@ local conditions = {
local function generate_effects(params)
local override = {}
local wind = vector.new(params.wind_x, 0, params.wind_z)
local wind = climate_api.environment.get_wind()
override["climate_api:skybox"] = {
cloud_data = {

View File

@ -15,6 +15,14 @@ effects["climate_api:sound"] = {
gain = 1
}
effects["climate_api:skybox"] = {
sky_data = {
type = "plain",
base_color = {r = 125, g = 142, b = 145},
clouds = true
}
}
effects["climate_api:particles"] = {
min_pos = {x=-9, y=7, z=-9},
max_pos = {x= 9, y=7, z= 9},

View File

@ -10,9 +10,7 @@ local conditions = {
has_biome = {
"desert",
"sandstone_desert",
"cold_desert",
"grassland_dunes",
"coniferous_forest_dunes"
"cold_desert"
}
}

View File

@ -28,10 +28,6 @@ effects["climate_api:skybox"] = {
type = "plain",
base_color = {r=106, g=130, b=142},
clouds = true
},
cloud_data = {
size = 0.98,
speed = {x = 4, y = 0, z = -1.3}
}
}