mirror of
https://github.com/t-affeldt/regional_weather.git
synced 2025-07-18 16:30:31 +02:00
Add additional constraints
This commit is contained in:
@ -21,7 +21,7 @@ local function generate_effects(params)
|
||||
local override = {}
|
||||
|
||||
local cloud_density = climate_api.utility.rangelim(params.humidity / 100, 0.15, 0.65)
|
||||
local cloud_thickness = climate_api.utility.rangelim(params.base_humidity * 0.2, 1, 18)
|
||||
local cloud_thickness = climate_api.utility.rangelim(params.biome_humidity * 0.2, 1, 18)
|
||||
local cloud_height = calc_cloud_height(params.heat, params.humidity, params.dewpoint)
|
||||
local wind = climate_api.environment.get_wind({ x = 0, y = cloud_height, z = 0 })
|
||||
|
||||
|
Reference in New Issue
Block a user