Commit Graph

136 Commits

Author SHA1 Message Date
teknomunk
207c86b813 Fix crash and rearrange code 2024-08-19 03:02:02 +02:00
teknomunk
cf4b1dbd1d Remove END function comment 2024-08-19 03:02:02 +02:00
teknomunk
7811e23611 Convert to use mcl_playerinfo 2024-08-19 03:02:02 +02:00
teknomunk
24ff7347b2 Further cleanup 2024-08-19 03:02:02 +02:00
teknomunk
820848fb2e Address review comments 2024-08-19 03:02:02 +02:00
teknomunk
f2a638f8e9 Fix random crash in darkness effect in mcl_potions, finish refactoring of mcl_weather.skycolor that also makes darkness effect more reliable 2024-08-19 03:02:02 +02:00
teknomunk
161dd7d379 Start refactor 2024-08-19 03:02:02 +02:00
teknomunk
2ad59c6df9 Stop lightning striking positions that don't have rain (#4386)
Stops lighting from being able to strike in locations where rain doesn't occur, but allows lightning in adjacent areas where is allowed.

Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4386
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-08-18 12:05:35 +02:00
the-real-herowl
394b090c83 Improved the darkness effect 2024-05-22 21:02:25 +02:00
the-real-herowl
65b923c43c Added darkness 2024-05-22 21:02:25 +02:00
the-real-herowl
4b83aaaa77 Renaming throughout docs and comments 2024-05-07 11:38:00 +00:00
the-real-herowl
a2a4da5aed Added shepherd functionality 2023-12-24 05:48:41 +01:00
JoseDouglas26
419456b835 mcl_weather pt_BR translation 2023-12-22 23:45:07 +01:00
Sab Pyrope
5b4a79a26d Update russian translation 2023-08-31 14:16:42 +08:00
Kristian
49a899170f TOM doc/doc 2023-06-27 21:09:03 +00:00
ancientmarinerdev
61a4595c1b Fix rain light levels so that day rain is brighter and night rain is darker 2023-03-29 02:21:16 +00:00
ancientmarinerdev
2426570871 Fix for light night rain and dark day rain issue 2023-03-29 02:21:16 +00:00
FossFanatic
ae811ed703 Disable snowy weather temporarily
This commit quickly disables the standalone snow weather for the time being, until a more permanent solution can be found.

The snowy weather should no longer occur naturally, but can still be summoned with `/weather snow` if wanted.
2023-03-15 15:54:52 +00:00
FossFanatic
d83c6fe906 Merge pull request 'Dry Biome Rain Fixes' (#3472) from dry_biome_rain_fixes into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3472
Reviewed-by: Nicu <kneekoo@noreply.git.minetest.land>
2023-02-25 08:27:38 +00: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
FossFanatic
c1647a5cce Improve underwater sky colour code 2023-02-18 08:22:04 +00:00
FossFanatic
ccef2d1147 More sky improvements 2023-02-06 01:40:25 +00:00
ancientmarinerdev
7d46fa3362 Merge pull request 'texture-consolidation' (#3380) from texture-consolidation into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3380
Reviewed-by: ancientmarinerdev <ancientmariner_dev@proton.me>
2023-02-04 03:23:13 +00:00
Michieal
6265148727 Move textures all into one centralized directory. 2023-01-30 22:55:53 -05:00
Adam Macumber
7dd0293616 feat: Rain particles move straight down, increase acceleration slightly 2023-01-28 11:04:58 -05:00
FossFanatic
f6a3fe2128 Make Nether & End use biome sky- or fog colours 2023-01-20 15:41:44 +00:00
ancientmarinerdev
df6d1c026a Fix crash for sky colour if cannot find biome 2023-01-02 21:48:58 +00:00
ancientmarinerdev
e6e898671a Merge pull request 'add japanese translation' (#3149) from SakuraRiu/MineClone2:master into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/3149
Reviewed-by: Michieal <michieal@noreply.git.minetest.land>
2022-12-29 22:14:48 +00:00
kabou
5e129985f2 Put back default sky and fog color.
Recent changes set the default colors to some pretty psychedelic ones.
The stated purpose was debugging, but in absense of any actual debugging
code other than v6 mapgen inadvertently assuming that role, more sensible
colors were reinstated.

If debugging code is desired, it should probably be added to the main
parts of mcl_weather.
2022-12-27 15:10:24 +01:00
FossFanatic
9eb86f011b Make the code clearer to read 2022-12-24 14:54:48 +00:00
FossFanatic
79b1db4b1a Fix underwater fog colour regression 2022-12-21 14:04:47 +00:00
FossFanatic
1c752019f0 Make the explanation shorter 2022-12-21 13:08:23 +00:00
FossFanatic
1977dbf9a1 Remove excessive whitespace 2022-12-21 13:05:52 +00:00
FossFanatic
35b2f3b638 Make overworld biome specific (daytime) sky and fog colours possible 2022-12-21 13:01:54 +00:00
Riu Sakura
2b61231f82 add japanese translation 2022-12-19 15:33:31 +09:00
FossFanatic
0f8cfbf106 Some small night sky adjustments 2022-12-15 16:46:47 +00:00
FossFanatic
39e9158c01 Make night sky darker 2022-12-15 16:05:34 +00:00
epCode
7ed8370eb0 localize var/fix weather not changing brightness while underwater. 2022-11-15 22:36:06 +00:00
epCode
ce724ee926 make sky color change when submerged 2022-11-15 22:36:05 +00:00
cora
e9e76d2c1e Optimize snow pile-up ABM 2022-11-03 14:11:03 +01:00
cora
7be8ab2c1c Send shadows to client if server supports it 2022-08-13 00:04:44 +02: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
a2b003a195 sky slightly overcast on weather in non-weather b. 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
cae11f99e4 fix wrong mapgen setting var 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