2020-04-13 01:58:27 +02:00
|
|
|
local name = "regional_weather:pollen"
|
|
|
|
|
|
|
|
local conditions = {
|
|
|
|
min_height = regional_weather.settings.min_height,
|
|
|
|
max_height = regional_weather.settings.max_height,
|
|
|
|
min_heat = 40,
|
|
|
|
min_humidity = 30,
|
|
|
|
max_humidity = 40,
|
2020-04-16 08:04:06 +02:00
|
|
|
max_windspeed = 2,
|
2020-04-18 17:26:01 +02:00
|
|
|
daylight = 15,
|
|
|
|
has_biome = {
|
|
|
|
"default",
|
|
|
|
"deciduous_forest",
|
|
|
|
"deciduous_forest_ocean",
|
|
|
|
"deciduous_forest_shore",
|
|
|
|
"grassland",
|
|
|
|
"grassland_dunes",
|
|
|
|
"grassland_ocean",
|
|
|
|
"snowy_grassland",
|
|
|
|
"snowy_grassland_ocean",
|
|
|
|
"grassy",
|
|
|
|
"grassy_ocean",
|
|
|
|
"grassytwo",
|
|
|
|
"grassytwo_ocean",
|
|
|
|
"mushroom",
|
|
|
|
"mushroom_ocean",
|
|
|
|
"plains",
|
|
|
|
"plains_ocean",
|
|
|
|
"sakura",
|
|
|
|
"sakura_ocean"
|
|
|
|
}
|
2020-04-13 01:58:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
local effects = {}
|
|
|
|
|
|
|
|
effects["climate_api:particles"] = {
|
|
|
|
min_pos = {x=-12, y=-4, z=-12},
|
|
|
|
max_pos = {x= 12, y= 1, z= 12},
|
|
|
|
falling_speed=-0.1,
|
2020-04-14 05:45:59 +02:00
|
|
|
amount=1,
|
2020-04-13 01:58:27 +02:00
|
|
|
exptime=5,
|
2020-04-14 05:45:59 +02:00
|
|
|
size=0.8,
|
2020-04-13 01:58:27 +02:00
|
|
|
texture="weather_pollen.png"
|
|
|
|
}
|
|
|
|
|
|
|
|
climate_api.register_weather(name, conditions, effects)
|