Commit graph

46 commits

Author SHA1 Message Date
teknomunk
2145470f63 Fix clouds during rain->clear weather transition 2024-10-09 01:05:20 +02:00
teknomunk
eea96867c4 Don't add rain skycolor layer if the current layer is already the rain skycolor (#4648)
Fixes #4647 Rain makes the sky black until restart. This also fixes a memory leak caused by rain adding a color layer every time step.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4648
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: teknomunk <teknomunk@protonmail.com>
Co-committed-by: teknomunk <teknomunk@protonmail.com>
2024-09-18 10:10:53 +02:00
FossFanatic
61ee14b1a6 Fix rain issues in dry biomes
This commit adds an extra check at the ABMs which prevent the rain from affecting dry biomes, even though there isn't supposed to any rain there.
2023-02-21 10:12:29 +00:00
Adam Macumber
7dd0293616 feat: Rain particles move straight down, increase acceleration slightly 2023-01-28 11:04:58 -05:00
cora
e8baa1ae00 Fix undeclared var warning in mcl_weather 2022-08-10 14:14:00 +02:00
opfromthestart
b8af222538 Fixed remaining get_sky calls 2022-08-08 20:26:31 -04:00
cora
4b5476dbff fix end sky and void crash 2022-08-02 11:55:55 +02:00
cora
ee3b98c809 Fix skybox in non-weather areas 2022-08-02 11:55:55 +02:00
cora
4a6f98636d fix crash in mapgen v6 2022-08-02 11:55:55 +02:00
cora
bb496db605 use _mcl_biome_type for weather 2022-08-02 11:55:55 +02:00
cora
50840f6bdc No nether rain lol 2022-08-02 11:55:55 +02:00
cora
05a6f09f05 Never rain in deserts 2022-08-02 11:55:55 +02:00
cora
eb5378afec Rain and snow where appropriate(biome, heat, alt) 2022-08-02 11:55:55 +02:00
cora
30e543d4d2 Add settings to change weather particle amounts 2022-06-19 22:50:29 +02:00
cora
d9da50e292 Properly check for sound update (fix warning) 2022-06-19 22:25:50 +02:00
cora
ca27237ffc Tweak particle spawner settings 2022-06-19 22:19:46 +02:00
cora
a179a1cb62 fix indoor weather + multiplayer issue 2022-05-29 02:24:12 +02:00
Elias Fleckenstein
f6a40ffb78
Run tools/strip_trailing_whitespace.sh 2022-05-26 07:29:28 +02:00
cora
bb593159f1 mcl_weather: fix typo/crash 2022-04-08 06:23:14 +02:00
cora
53715212a2 remove unnecessary on_dimensionchange 2022-03-30 10:21:32 +00:00
cora
1e4494e85d let rain and thunder use particlespawners 2022-03-30 10:21:32 +00:00
AFCMS
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS
49044ac15e unify codestyle [2] 2021-05-25 13:18:12 +02:00
AFCMS
5f8d79b37a [mcl_weather] fix warnings 2021-05-23 14:44:50 +02:00
AFCMS
6645c4cb30 Really 2021-03-16 17:43:32 +01:00
AFCMS
9819b713c9 replace pairs() by ipairs() 2021-02-18 15:24:03 +00:00
kay27
f20f9f9a88 Log weather changes according to https://git.minetest.land/Wuzzy/MineClone2/issues/897 2021-01-28 11:47:51 +04:00
Wuzzy
d13498e6f9 Rain now also extinguishes neighbor tiles 2020-05-09 16:03:07 +02:00
Wuzzy
02b2ff7460 Fix mcl_weather crash 2020-05-02 19:08:55 +02:00
Wuzzy
17f611567c Spawn rain and snow particles higher 2020-04-07 02:41:40 +02:00
Wuzzy
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy
b2c75acd68 Use new set_sky API 2020-04-07 00:39:19 +02:00
Wuzzy
ed336829b4 Fade out rain and fire sounds 2019-09-05 00:07:32 +02:00
Wuzzy
e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy
74d5da78a1 Simplify water mixing rules in cauldron 2017-11-30 20:35:21 +01:00
Wuzzy
2a78471ef1 Fix cauldrons and rain 2017-11-30 19:57:06 +01:00
Wuzzy
f8d5c23291 Fix another rain sound update bug 2017-11-24 04:21:10 +01:00
Wuzzy
2858fbb54a Update rain particles faster when teleporting 2017-11-24 04:05:12 +01:00
Wuzzy
6d609be8c7 Instant rain sound updates when changing dimension 2017-11-24 04:00:30 +01:00
Wuzzy
b0c87f74fe Move world-related functions to mcl_worlds 2017-11-24 03:10:02 +01:00
Wuzzy
768c97205a Reduce fire extinguish sound 2017-11-22 03:10:01 +01:00
Wuzzy
6d727137c2 Rain puts out fire faster 2017-11-22 03:04:20 +01:00
Wuzzy
bbb6900d4a Fix rain sound failure when moving very fast 2017-11-22 02:01:40 +01:00
Wuzzy
dd17e5ca9d Tweak rain sky color 2017-11-22 01:45:59 +01:00
Wuzzy
bccc7fa957 Merge branch 'master' into day_night_ratio 2017-11-22 01:41:23 +01:00
Wuzzy
69ade14509 Rename weather_pack mod to mcl_weather 2017-11-21 01:35:31 +01:00
Renamed from mods/ENVIRONMENT/weather_pack/rain.lua (Browse further)