teknomunk
09307292bc
Make sure overworld always gets a sky update regardless of weather, add assert to enforce sky color gets set every update
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
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
cf4b1dbd1d
Remove END function comment
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
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
a2a4da5aed
Added shepherd functionality
2023-12-24 05:48:41 +01: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
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
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
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
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
7be8ab2c1c
Send shadows to client if server supports it
2022-08-13 00:04:44 +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
ecf6236152
Set fog color according to nether biome
2022-06-19 00:24:56 +02:00
kay27
dc4ccf91cc
lift clouds to 384 in valleys mapgen
...
Valleys has a much higher average elevation than v7 often leading
to "normal" looking terrain being in the clouds. This lifts the
clouds up higher.
2022-04-19 10:23:10 +00:00
AFCMS
5f82e76862
fix many codestyle issues
2021-05-28 00:34:58 +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
Wuzzy
1816324fe5
Tweak night vision conditions
2020-08-19 10:53:44 +02:00
Wuzzy
b2ad6b79bd
Fix night vision conflicting with weather skycolor
2020-08-19 10:39:44 +02:00
Wuzzy
56d49e08b8
Delay before calling get_connected_players
2020-06-04 16:36:53 +02:00
Wuzzy
c9cc3651df
Fix bad sky color definitions
2020-04-07 01:51:53 +02:00
Wuzzy
b2c75acd68
Use new set_sky API
2020-04-07 00:39:19 +02:00
Wuzzy
4c8433b41c
Fix clouds speed parameter (MT 5.0.0)
2019-03-06 05:21:05 +01:00
Wuzzy
e789801662
Replace getpos() with get_pos()
2019-02-01 06:33:07 +01:00
Wuzzy
b1d15fb667
Update sky instant if teleport between dimensions
2017-11-24 03:48:32 +01:00
Wuzzy
b0c87f74fe
Move world-related functions to mcl_worlds
2017-11-24 03:10:02 +01:00