From dcc7df5f02ebd031d993c04f089a03079a4cb4eb Mon Sep 17 00:00:00 2001 From: cora Date: Mon, 20 Jun 2022 13:31:58 +0200 Subject: [PATCH] Add setting for nether dust too plus slightly tweak the wording for thunder setting --- mods/ENVIRONMENT/mcl_weather/nether_dust.lua | 4 +++- settingtypes.txt | 7 +++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/mods/ENVIRONMENT/mcl_weather/nether_dust.lua b/mods/ENVIRONMENT/mcl_weather/nether_dust.lua index a90c8e96e0..2a90b22150 100644 --- a/mods/ENVIRONMENT/mcl_weather/nether_dust.lua +++ b/mods/ENVIRONMENT/mcl_weather/nether_dust.lua @@ -1,8 +1,10 @@ mcl_weather.nether_dust = {} mcl_weather.nether_dust.particlespawners = {} +local PARTICLES_COUNT_NETHER_DUST = tonumber(minetest.settings:get("mcl_weather_rain_particles")) or 150 + local psdef= { - amount = 150, + amount = PARTICLES_COUNT_NETHER_DUST, time = 0, minpos = vector.new(-15,-15,-15), maxpos =vector.new(15,15,15), diff --git a/settingtypes.txt b/settingtypes.txt index 035d56a1c8..b35e5c7f0d 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -23,12 +23,15 @@ mcl_doWeatherCycle (Change weather) bool true # Amount of rain particles. You can reduce this to get better FPS (default: 500) mcl_weather_rain_particles (Rain particles) int 500 0 -# Amount of thunder particles. You can reduce this to get better FPS (default: 900) -mcl_weather_thunder_particles (Thunder particles) int 900 0 +# Amount of thunderstorm rain particles. You can reduce this to get better FPS (default: 900) +mcl_weather_thunder_particles (Thunderstorm rain particles) int 900 0 # Amount of snow particles. You can reduce this to get better FPS (default: 100) mcl_weather_snow_particles (Snow particles) int 100 0 +# Amount of nether dust particles. You can reduce this to get better FPS (default: 150) +mcl_weather_snow_particles (Nether dust particles) int 150 0 + # If enabled, breaking blocks will cause them to drop as item. # Note that blocks never have drops when in Creative Mode. mcl_doTileDrops (Blocks have drops) bool true