1
0
mirror of https://github.com/t-affeldt/regional_weather.git synced 2025-07-20 09:20:29 +02:00

Add additional constraints

This commit is contained in:
Till Affeldt
2023-02-24 09:51:14 +01:00
parent d04daec67d
commit 222f708760
15 changed files with 96 additions and 57 deletions

View File

@ -19,7 +19,7 @@ local function generate_effects(params)
local override = {}
override["climate_api:sound"] = {
gain = math.min(intensity, 1.2)
gain = math.min(intensity, 1)
}
return climate_api.utility.merge_tables(effects, override)