Commit Graph

287 Commits

Author SHA1 Message Date
teknomunk
21a88be2b2 Remove boolean coersion 2024-08-19 03:02:02 +02:00
teknomunk
37ff699a23 Add line break 2024-08-19 03:02:02 +02:00
teknomunk
18266137b2 Make sure clouds don't disappear when entering water 2024-08-19 03:02:02 +02:00
teknomunk
3667feddd3 Address review comments 2024-08-19 03:02:02 +02:00
teknomunk
cb097d9bcd Add minimum time between skycolor updates (default is 250ms, tracked per player) 2024-08-19 03:02:02 +02:00
Wbjitscool
cd213b75f7 Update mods/ENVIRONMENT/mcl_weather/skycolor.lua
adds in sunray shader support for Minetest version 5.9.0
2024-08-19 03:02:02 +02:00
teknomunk
ef58a9809a Remove empty else block, fix up mg_name and add mapgen check to water.lua 2024-08-19 03:02:02 +02:00
teknomunk
3b01fe20ba Remove debug commented out logging, remove extra zero in 24-hour time 2024-08-19 03:02:02 +02:00
teknomunk
d34c804ebf Remove local mod = mcl_weather and replace accesses to variables thru mcl_weather with local variable equivalents 2024-08-19 03:02:02 +02:00
teknomunk
03faa7764d Fix variable name (caused crash) 2024-08-19 03:02:02 +02:00
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
teknomunk
8feecf2492 Fix crashes with raids and bad omen effect (#4326)
Reviewed-on: https://git.minetest.land/VoxeLibre/VoxeLibre/pulls/4326
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-05-26 15:21:43 +00:00
the-real-herowl
dc7b1869b7 Move most of the game to the new API 2024-05-22 21:03:43 +02:00
the-real-herowl
0e33947258 Renamed some functions and variables
* changed names referring to player where it does support mobs
* also added an is_player() check in one function
2024-05-22 21:02:25 +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
a3ccd4d032 lightning pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26
419456b835 mcl_weather pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26
72a144f0b2 mcl_void_damage pt_BR translation 2023-12-22 23:45:07 +01:00
JoseDouglas26
f379a06998 mcl_raids pt_BR translation 2023-12-22 23:45:07 +01:00
3raven
86da47b922 French translation update (#4006)
Update french translation, add missing chain, fix typo

Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4006
Reviewed-by: AFCMS <afcm.contact@gmail.com>
Co-authored-by: 3raven <3raven@noreply.git.minetest.land>
Co-committed-by: 3raven <3raven@noreply.git.minetest.land>
2023-11-25 01:08:06 +00:00
José M
4df6f82c64 Fix spanish translation errors (#4018)
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/4018
Reviewed-by: the-real-herowl <the-real-herowl@noreply.git.minetest.land>
Co-authored-by: José M <dr.cabra@disroot.org>
Co-committed-by: José M <dr.cabra@disroot.org>
2023-11-18 22:20:02 +00: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
7fe1be2c18 Add error handling to sunlight checking to prevent crashing and improve diagnosis. 2023-04-06 13:35:38 +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
f3ba32d739 Disable zombie siege raid until we stop zombies pathing through door 2023-01-18 19:47:45 +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