minetest_mod_weather/weather/rain.lua

23 lines
489 B
Lua
Raw Permalink Normal View History

2013-03-24 14:40:18 +01:00
-- Rain
2018-04-29 17:22:05 +02:00
weather_mod.register_downfall("weather:rain",{
2020-10-16 10:55:49 +02:00
min_pos = {x=-15, y=10, z=-15},
max_pos = {x= 15, y=10, z= 15},
2018-04-29 17:22:05 +02:00
falling_speed=10,
amount=25,
2020-10-16 10:55:49 +02:00
exptime=1,
2018-04-29 17:22:05 +02:00
size=25,
texture="weather_rain.png",
2018-05-08 15:24:38 +02:00
enable_lightning=true,
2018-05-12 15:16:26 +02:00
})
weather_mod.register_downfall("weather:storm",{
2020-10-16 10:55:49 +02:00
min_pos = {x = -15, y = 10, z = -15},
max_pos = {x = 15, y = 10, z = 15},
falling_speed = 10,
amount = 30,
2020-10-16 10:55:49 +02:00
exptime = 1,
size = 30,
texture = "weather_rain_dark.png",
enable_lightning = true,
})