Slight decrease rain particles amount and size

master
MoNTE48 2020-11-01 22:49:53 +01:00
parent 2875526f02
commit bd810e130b
2 changed files with 3 additions and 4 deletions

View File

@ -45,8 +45,8 @@ end
-- Rain -- Rain
weather.register("rain", { weather.register("rain", {
falling_speed = 5, falling_speed = 5,
amount = 7, amount = 6,
size = 25, size = 20,
height = 3, height = 3,
vertical = true, vertical = true,
texture = "weather_lite_rain.png" texture = "weather_lite_rain.png"
@ -181,7 +181,7 @@ if snow_covers then
minetest.swap_node(pos, {name = "default:snow"}) minetest.swap_node(pos, {name = "default:snow"})
end end
}) })
minetest.override_item("default:snow", { minetest.override_item("default:snow", {
on_timer = function(pos) on_timer = function(pos)
if weather and weather.type and weather.type == "snow" then if weather and weather.type and weather.type == "snow" then

View File

@ -1,5 +1,4 @@
local vmultiply, vadd = vector.multiply, vector.add local vmultiply, vadd = vector.multiply, vector.add
local random = math.random
local weather = { local weather = {
type = "none", type = "none",