mirror of
https://github.com/t-affeldt/regional_weather.git
synced 2025-07-19 17:00:30 +02:00
Add meta information, tweak effects, properly implement lightning
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
local name = "regional_weather:wind"
|
||||
local name = "regional_weather:ambient"
|
||||
|
||||
local CLOUD_SPEED = 1.8
|
||||
|
||||
@ -8,7 +8,7 @@ local function generate_effects(params)
|
||||
local override = {}
|
||||
|
||||
override["climate_api:clouds"] = {
|
||||
size = climate_api.utility.rangelim(params.humidity, 0.25, 0.9),
|
||||
size = climate_api.utility.rangelim(params.humidity / 100, 0.25, 0.98),
|
||||
speed = vector.multiply(params.wind, CLOUD_SPEED)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user