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

Add new textures, tweak effects, add fog and freezing of river water

This commit is contained in:
Till Affeldt
2020-04-22 00:54:27 +02:00
parent e0b8d6d835
commit 32ab2c4d23
27 changed files with 223 additions and 65 deletions

View File

@ -11,18 +11,23 @@ local conditions = {
local effects = {}
effects["climate_api:sound"] = {
name = "weather_rain",
name = "weather_rain_heavy",
gain = 1
}
effects["climate_api:particles"] = {
min_pos = {x=-9, y=7, z=-9},
max_pos = {x= 9, y=7, z= 9},
falling_speed=10,
amount=20,
falling_speed=7,
amount=17,
exptime=0.8,
size=25,
texture="weather_rain.png"
min_size=25,
max_size=35,
textures={
"weather_rain.png",
"weather_rain.png",
"weather_rain_medium.png"
}
}
climate_api.register_weather(name, conditions, effects)