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:
@ -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 = {
|
||||
|
@ -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},
|
||||
|
@ -10,9 +10,7 @@ local conditions = {
|
||||
has_biome = {
|
||||
"desert",
|
||||
"sandstone_desert",
|
||||
"cold_desert",
|
||||
"grassland_dunes",
|
||||
"coniferous_forest_dunes"
|
||||
"cold_desert"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user